OK, I uploaded a new packed version and just in case it mattered, your highlightFade code could be made prettier by setting some useful default values:
$.highlightFade.defaults['speed'] = 1000; $.highlightFade.defaults['iterator'] = 'exponential'; $('td.link1').click(function() { $(this).highlightFade('#333333') }); $('td.link1').hover(function() { $(this).highlightFade('#F0F0F0') },function() { return true }); -blair Blair Mitchelmore wrote: > OK, in what can officially be called the stupidest mistake ever, my > regex tested for #FFF before #FFFFFF so all 6 char colour strings got > caught and made into a 3 char so your F0F0F0 became F0F and therefore > purple... I've fixed the code in the unpacked version at > http://jquery.offput.ca/js/jquery.highlightFade.js but I'll have to get > home before I can get a chance to upload a new packed version... > > Man do I feel stupid... and amazed that this wasn't caught until now... > > -blair > > Still gonna look into that table cell highlighting issue later on as well... > > Rafael Santos wrote: >> Yeah, it works on IE, but i didnt mention the real bug. This purple >> color is not defined.. lol >> >> >> 2006/10/5, Blair Mitchelmore <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >: >> >> That's pretty weird, the page works in firefox but not IE. I'll >> have to >> investigate in a bit; at the moment I've got a large scale software >> engineering assignment due... >> >> -blair >> >> Rafael Santos wrote: >> > hey, have you faced this bug? >> > >> > http://blocparty.com.br/js/teste2.html >> > >> > Should that happen? >> > >> > >> ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > jQuery mailing list >> > discuss@jquery.com <mailto:discuss@jquery.com> >> > http://jquery.com/discuss/ >> >> >> _______________________________________________ >> jQuery mailing list >> discuss@jquery.com <mailto:discuss@jquery.com> >> http://jquery.com/discuss/ >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> jQuery mailing list >> discuss@jquery.com >> http://jquery.com/discuss/ > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/