CAT | jQuery
For a recent project I was asked to build a wizard style interface (among other things) for entering form data. The only requirement the client was adamant about was that there should be some WYSIWYG editor integration. Although the project was primarily a PHP based solution, I couldn’t resist the urge to give the end-users a nice experience with some AJAX. So began my experience with the wonderful world of WYSIWYG editor integration. This is a short post on some of the things I encountered.
As I have been developing the WordPress theme for this site, I decided it would be nice to use jQuery to minimize/maximize content like the current jQ theme does, though I wanted to do things a bit differently. Mainly I wanted to have different buttons for minimizing and maximizing, and I wanted to be able to use them on parts of the site other then posts. At first I thought this would be accomplished using the jQuery .toggle function, but once I started making it cross-browser compatible I realized things weren’t going to be so simple.
Today I was working on some of my content over at TC Web Development and needed to add some functionality to one of my pages that would update page content based on what content was visible in a jQuery accordion. After some tinkering I was able to figure out a way to do this and figured I would share as I did not find any other information on the web that achieved the desired effect.