Category: jQuery

jQuery UI Close Dialog on Overlay Click

I have seen a lot of overly complex solutions for this simple problem and none of them have been valid solutions, here is a snippet that accomplishes it in an unambiguous manner. $(‘#el’).dialog({ open: function(e){ var self = this; $(‘.ui-widget-overlay’).bind(‘click’, function(){ $(self).dialog(‘close’); }); }, close: function(){ $(‘.ui-widget-overlay’).unbind(‘click’); } });

what to reply when your ex back you want him also

how to get my ex girlfriend back after 5 month of breaking up and songs to get your girlfriend back or how to get love from your ex boyfriend. how to get your boufriend back getting exboyfriend back after he went back to hus exgirlfriend, is jealousy a sign that ex boyfriend wants to get […]

The jQuery Comment Previewer

This is a small piece of code that is mostly the brain child of the incredible David Walsh. His version is written in MooTools and you can see it here. There are a few differences however, I removed some of the basic form validation, I set up a Gravatar function to be called onBlur rather […]

The Quotator – The JSON Driven HTML Rotator

Hopefully the plug-ins and classes I write are simple enough to figure out and manipulate. Its an extremely simple and customizable little testimonial rotator that also supports HTML. So yes your quotes can have links, logos or even avatars. It will support as many quotes or testimonials you may need. The options that can be […]