I am UI Designer, Slightly Workaholic, Dreamer, Sleeps during day, Movie addict... sharing what i know.........
- Abdul Wahid ... color2life
Scripts

JQuery highlight column & row of table using delegate.

JQuery highlight column & row of table using delegate. $("#table").delegate('td','mouseover mouseleave', function(e) { if (e.type == 'mouseover') { $(this).parent().addClass("current"); $("colgroup").eq($(this).index()).addClass("current"); } else { $(this).parent().removeClass("current"); $("colgroup").eq($(this).index()).removeClass("current"); } });

Jquery AjaxStart & AjaxStop

Today I had a problem with jquery ajaxStart and ajaxStop I want to have 2 differnt loading spinner but this ajaxStart and stop is overall kind of thing whenever there is any ajax request it will show the spinner. ajaxStart and ajaxStop are meant for for  ALL jquey ajax calls, not specific ones related to...

How to use prototip with prototype by nickstakenburg

nickstakenburg.com prototip Option 1 onMouseOver= "simple_tip(this, 'Credit...');" function simple_tip(element,tip) { new Tip(element, tip, {width: ‘auto’,border: 1,radius: 1,offset: { x: 10, y: 15 }}); } Option 2 document.observe('dom:loaded', function() { $$('a[rel]').each(function(element) { new Tip(element, element.rel,{ width: 'auto', border: 1, radius: 1, offset: { x: 10, y: 15 } //hook: {target:'topleft', tip: 'bottomright'} }); }); }); Option...