Categories
Code Snippets jQuery WordPress

Mobile Friendly Menu

In this tutorial I explain how to create a mobile friendly menu for the iThemes Builder theme. By default the menu will wrap on smaller screens. When the menu wraps it is not very mobile friendly. In your child theme directory create a new file for some jQuery. You can call it what you want […]

Categories
Code Snippets jQuery

Replace Smart Quotes With Straight Quotes

I created a web app that uses ckEditor as the rich text editor. It works perfectly except when you copy and paste text that includes smart quotes and other special symbols. CkEditor converts the smart quotes to HTML entities, which would be fine in a normal situation. The Html entities caused a problem when it […]

Categories
jQuery

Position A jQuery UI Dialog Window

  A modal dialog window is a popup dialog box that the user must interact with before they can return to content on the page. Since it is smaller than the page you have to tell it where to appear on the page. In the past when I had to position a jQuery UI Dialog I used the […]

Categories
jQuery

Get Content from CkEditor Using JQuery

In a recent project I used the CkEditor to add a WYSIWYG editor to the private control panel. It was easy to add the editor to the page, but I struggled to get content from CkEditor using jQuery. Normally I would use the following code to get content on submit. But that does not work when using […]