~ overflow ~

Archive for August 18th, 2009

jQuery hoverpulse different image ratio fix

by z3n on Aug.18, 2009, under Coding

The jQuery’s extension hoverpulse created allows you to have images that resize themselfs on a mouse hover, very usefull when you need to have larger thumbs without showing the full image like other extensions does.

However hoverpulse has a issue when it comes to resize non square images, it simply stretches them, so I wrote this little custom version of hoverpulse in order to have this gap filled:

Links:

Modified Source

jQuery

HoverPulse Plugin

2 Comments :, , , more...

little jQuery to loop through checkboxes

by z3n on Aug.18, 2009, under Coding

This is a little function to loop throught a specific form or id with checkboxes, it will check if the checkbox is checked and then you can `do something`.

  1. function (what)
  2. {
  3. jQuery.each(jQuery("#"+what+" :checkbox"),function(){    
  4.  if (jQuery(this).is(':checked')) {
  5.                         // do something
  6.  }
  7. });
  8. }
1 Comment :, , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!