Thanks!
You're right, css is a good solution..
Thanks again!
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?
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')
3 matches
Mail list logo