[jQuery] Re: Hover function issue

2009-08-14 Thread Geir
Thanks! You're right, css is a good solution.. Thanks again!

[jQuery] Re: Hover function issue

2009-08-13 Thread Liam Potter
Simple rollovers should be done with CSS and using a sprite image rather then two seperate images. Geir wrote: Hi! ..rather new to javascript I'm making a rollover-script for my site. It works fine for one image, but not for many. How can I modify it to supprt any number of images?

[jQuery] Re: Hover function issue

2009-08-13 Thread Jonathan Vanherpe (T T NV)
Geir wrote: Hi! ..rather new to javascript I'm making a rollover-script for my site. It works fine for one image, but not for many. How can I modify it to supprt any number of images? var sti = $('.ro').attr('src'); var nySti = sti.replace('.png', '_ov.png')