Some weeks ago I received a customer request to add a character counter to a textarea field and I made it using “classic” Javascript. Now that I’m learning jQuery and have some spare time, I tryed to transform my custom function to a jQuery plugin.
This is my first attempt to build a jQuery plugin and maybe there’s already another plugin that does the same thing but it have been a really nice exercise.
Check out the plugin code and some more details after the break.
Read the rest of this entry »
Tags: Javascript, jQuery, plugin, textarea -
I’ve just update the Selective Javascript Loader plugin with some bugfixes and improvements:
- Added the option to choose if Javascript files should be included in the header or in the footer of the page. This option is available only if you are using WordPress 2.8 and above
- Added WordPress version checking.
- Corrected script inclusion for Wordpress 2.7
- Some code optimization
- Corrected a layout bug in the settings page
Read more or download it.
Tags: plugin, projects, Selective Javascript Loader, WordPress -
I’ve just released Selective Javascript Loader my first WordPress plugin. It’s a very simple plugin that automatically loads different Javascript files based on the blog section that is being viewed (index, category, single post, page).
It can be really useful if you make extensive use of Javascript in your theme and want to split the code and load functions only when you need them.
Check it out!
Tags: plugin, projects, Selective Javascript Loader, WordPress -