Hi guys,
As a relative newcomer to Javascript this is killing me! Maybe someone can help...
I am trying to put an image on the front page of my website that changes to one of two random images on mouseover. This part was easy, and has been done (I got the code from
http://www.joemaller.com/javascript/randomroll.shtml).
But what I am finding difficult is to make each image link to a different page.
For example, if the user mouseovers the main image and sees the 'thumbs up' image, then clicks on it, they should be taken to the 'thumbs up' page. And if the user mouseovers the main image and sees the 'thumbs down' image, then clicks on it, they should be taken to the 'thumbs down' page.
The site is here:
www.uninvitedcritic.com
I think using 2 arrays is the way to go, but am not sure. Any help would be appreciated!