TAG | jQuery
As some of you know, I have long been a fan of the Zend framework ever since working with it on the Industries for the Blind website for a number of years. Recently I decided to look at some of the other frameworks out there in an effort to expand my knowledge and find something more lightweight. After looking at frameworks such as CakePHP, CodeIgniter, Kohanna, Symphony, and Yii, I elected to try out the Yii Framework. The main reasons for this were three-fold. First, Yii seems to be fairly lightweight. Second, it natively runs on PHP5. Third, and probably the biggest draw is the integration with jQuery… jQuery has become one of my favorite software tools over the past six months and I was thrilled to find a framework that natively supported it. Zend’s decision to go with Dojo as their main framework was one of the things that I dislike about Zend.
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.
In our previous post we added some very nice functionality to our plugin and for the first time in the tutorial actually saw jQuery being used to change the size of text within the body tag of our wordpress blog. We also noted that when the user changed pages, the text reverted to the original size. In this post we will be using a jQuery plugin to extend our plugin and make it much more useful.