Customize ACF WYSIWYG Input Styles

Often times, a design will call for separate areas within a page to have their own unique styles applied to them. Whether it’s a different background color, font size, or available space, editing those areas can be frustrating when the … Continued

Move Gravity Forms jQuery calls to footer

Gravity Forms by default will write an inline JavaScript call to jQuery on every form you add to a page. ┬áThis will throw an error if you’re loading jQuery in the footer of your site (which you should be doing). … Continued

Google News style floating sidebar

I noticed a subtle but nice feature on the Google News main page recently. ┬áThe left-hand navigation that has the various section headings remains fixed to the top left area as you scroll down but it does not overlap the … Continued

Read the Agreement Validator

Recently a client wanted to have a user agreement added to an enrollment form. The catch was that I needed to confirm that the user had at least scrolled through the text before allowing them to continue on with the … Continued

Ajax Autocomplete jQuery Plugin

This is a nice little plugin for easily adding auto-complete functionality to form fields. All it looks for is a datasource formatted as JSON. I’ve put an example here using PHP to access a dinosaur name database returning the previously … Continued

jQuery data function speed variations

It’s always worth looking up a function that you may be using heavily to see if there’s a faster way to call it. For example, getting and setting variables using the data() function within jQuery can vary greatly depending on … Continued

Use Google Closure to minify your .js

Have a large .js file that you’d like to bring down to size? Check out the Google-hosted Closure compiler: http://closure-compiler.appspot.com/home It let’s you specify some basic rules for the compression as well as creates the actual resulting .js file if … Continued