English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Imagine this;

You've got an image (let's call it boat.jpg), below it you have 8 jpeg thumbnails of other images. I am able to use the onMouseOver function so that when you mouse over the 1st thumbnail, boat.jpg changes to boat2.jpg. However, I am then unable to mouse over the next thumbnail and for the original boat.jpg to change to boat3.jpg and so on.

Is there a script or simple put of syntax I need to include so that the original boat.jpg changes for each thumbnail?

Any help will be much appreciated.

2007-03-28 08:59:01 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

I've given boat.jpg a name but how do assign it with the name for the other thumbnails

2007-03-28 09:11:57 · update #1

5 answers








...

etc for all 8 thumbnails - if it doesn't work in all the browsers, try the following (I just added a link around the thumbnails):









Hope this helps

2007-03-28 23:19:20 · answer #1 · answered by le_gber 3 · 0 0

You realize also that either each thumbnail needs its own onMouseOver and onMouseOut functions or the single function pair used for them all must have some way of detecting which one they're being called for.

2007-03-28 09:09:32 · answer #2 · answered by The Phlebob 7 · 0 1

You need to use the onMouseOut event to swap the image back.

2007-03-28 09:03:30 · answer #3 · answered by Rex M 6 · 0 0

Try making your images a single animated gif.

2007-03-28 09:04:48 · answer #4 · answered by Anonymous · 0 1

maybe you can alter one of the scripts here

http://www.dydnamicdrive.com/
http://www.dhtmlshock.com/

2007-03-28 09:08:43 · answer #5 · answered by Anonymous · 0 1

fedest.com, questions and answers