|
|
#1 |
|
New Member
![]() Join Date: Mar 2010
Posts: 1
|
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 |
|
|
|
|
|
#2 |
|
New Member
![]() Join Date: Mar 2010
Posts: 8
|
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.
__________________
Affordable web design and development: http://www.egofirm.com |
|
|
|
|
|
#3 |
|
Super Moderator
![]() Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,050
|
Hit it right on the button. Javascript ftw.
__________________
John Darling Graphic / Web Designer SmarterTools Inc. (877) 357-6278 www.smartertools.com |
|
|
|
![]() |
| Tags |
| hover, image, javascript, random, rollover |
| Thread Tools | |
| Display Modes | |
|
|