jQuery Plugins

This page lists jQuery plugins I’ve written. jQuery is a JavaScript library that makes writing JavaScript easy and fun.

Like jQuery itself, all plugins are open-source, dual-licensed under MIT and GPL. Feel free to choose whichever license you prefer and use them whereever you’d like.

If you enjoy using one of the plugins and feel generous, why not click on some of the ads down below… ;)

If you have any problems or some suggestions for improvements, please leave me a note in the comments.

jQuery toggleController

This is a (very) simple plugin that allows you to make any element on a web-page unobtrusively collapsable. It’s something I find I end up doing quite a lot to clean up busy pages and hide away non-essential information, so I decided to write a jQuery plugin to do the hard work for me!

For more information, please see the Demo/Documentation page.

jquery.togglecontrol.js (uncompressed - 1.6 Kb)
jquery.togglecontrol.min.js (minified - 624 bytes)
jquery.togglecontrol.pack.js (packed - 710 bytes)

2 Responses to “jQuery Plugins”


  • Hi,

    I’m using your toggle control plugin, but I would like to extend it using the Cookie plugin so that toggle states will be remembered. Have you considered adding this?

    I’m trying to find a nice way to extend the script in such a way that it:

    • detects if the cookie plugin is available
    • allows to set a cookiename, location and expiration date (incl logical defaults)
    • using the set cookie if available during the initialization of plugin and thus determine an element’s visibility and change this if necessary.

    With this I belief that it would be the ‘ultimate’ toggle plugin :)

    Any feedback on achieving this is most appreciated,

    Regards BjornW

  • Hi,

    I hadn’t really thought about extending the plugin like this, but I’m sure it wouldn’t be too tough. Basically, all you’d need to do is store an object in a cookie saying what elements are shown/hidden, then read that back in on page reload.

    I’ve not really got much spare time at the moment, so let me know how you get on. When life gets a little less hectic I’ll take a look into this.

    Cheers, Daz

Leave a Reply