Rollover effect selecting from random images

SanDesign

New Member
Im trying to have a rollover effect that when rolled over, an image changes to a random image from a set of 4 images. i cant for the life of me figure this out. i know its probably something simple but i cant figure it out. Please help.
Thanks
 

egofirm

New Member
I don't like JavaScript, but probably what you need to do is call a function which onMouseOver would generate a random number, that would in turn be cross-referenced to an array of images, loading that random pic.
 

PixelPusher

Super Moderator
Staff member
I don't like JavaScript, but probably what you need to do is call a function which onMouseOver would generate a random number, that would in turn be cross-referenced to an array of images, loading that random pic.

Hit it right on the button. Javascript ftw.
 
Top