jQuery
formConditons - jQuery UI widget that maikes building dynamic forms easier
Creating dynamic forms can be time consuming. Hiding one field based on another field value is pretty easy. But when you have to set up a form with many inputs showing and hiding based on may different input values your code can get ugly really fast. formCondtions plugin attempts to make your life easier by providing a standard api to get your form code under control.
Trigger all events on an element using jQuery
triggerAll is a simple plugin that will allow you to trigger all the events attached to an element and or collection
(function($){
$.fn.triggerAll = function(){
return this.each(function(){
var $this = $(this);
$.each($this.data('events'),function( k, v){
$this.trigger( k );
})
});
}
})(jQuery);
Dragtable - A jQuery UI Widget to re-arrange Table Columns via Drag & Drop
Being able to re-order table columns has been something that I have always wanted to do. Because of a tables' markup you can't just use the jQuery UI sortables widget. After seeing akottr's dragtable plugin I was inspired to create a jQuery UI widget similar to his plugin. I set out with a few design goals; Flexible API, very responsive column drag(works with well with tables that have +1000 cells) and a easy to customize css framework.
ShortScroll - A jQuery UI Google Wave style scroll bar
I have never been a fan of custom scroll bars. Most of the time they are just eye candy and end up getting in the way. That was until I saw the scroll bar in Google Wave. I thought it was the best UI feature in the whole app. It added functionality and style making much better than the browser default scroll bar. So I thought that I would create a scroll bar like it as a jQuery UI widget.
Annoucing the launch of spritewizard.com
I'm proud to announce the lauch of spritewizard.com a web service that allows you to create and maintain css sprites with an easy drag and drop interface. I created SpriteWizard because I could never get all of the images from a designer at once. Having a simple web interface that manages all of that for you. So please check it out and let me know what you think.
Setting new default options for jQuery UI widgets
I was messing around with the dialog widget trying to figure out away to have it remove its self after the user closed the dialog. I tried listening to the dialogclose event but that didn't work. After playing around with it turns out you can override the default options like so.
Using jQuery to create an overflow menu as seen in Google Wave
One of the features UI that Google wave uses is what I call the "overflow" menu. If you have a wave account you may have noticed that depending on your browser window size not all of the menu options are shown. The hidden options tucked away nicely in a drop down menu. On resizing your browser widow, options are added or removed from the menu. I thought that was pretty slick and thought it would be pretty easy to recreate the functionality using jQuery. So enough with the story on to the code.
timeout, a setTimeout wrapper for jQuery
Timeout is a simple jQuery plugin that allows you to delay the execution of code for a certain number of milliseconds. It works like the jQuery delay plugin http://www.evanbot.com/article/jquery-delay-plugin/4 which i didn't know existed at the time I wrote this plugin.
plugin code