FerretArmy: A Web Developer's Paradise

Pushing the Web Forward, Since 2007

Entries for September, 2009

jQuery UI Image Carousel

I’ve just released my latest plugin, the jQuery UI Image Carousel! The plugin is a standard-fare image carousel, and it’s also fully compatible with jQuery UI. It’s got a few options that make it fairly versatile – from a minimal look all the way to a collapsible version with a custom header. The JavaScript itself [...]

Disabling Button Clicks The Better Way

Most of the time when you want to cancel an action on a web page, such as a button click, you’d return false in the client-side button event handler, as such: <a href=”blah…” onclick=”return DoAction();”>Link</a> … function DoAction() { /*Do Something */ return false; }; However, there’s a better way, using the event.preventDefault() method. I [...]

jQuery Image Overlay 1.2

I’ve updated my image overlay plugin yet again, to version 1.2. Again, it was a fairly minor enhancement – I added the ability to turn off the animation via an option. The translucent image overlay effect is popping up all over the web nowadays, and I want to make sure that my plugin implementation offers [...]