View Full Version : newbie needs help with "onmouseover" photos

12-12-2004, 10:42 PM
In Thumbnail Viewer II - I want to add "onmouseover" photos to my ebay auctions. In the HTML text - Where do I add the link to my photos in this text. I have tried a number of ways but must be doing something wrong. Any help would be appreciated.

12-13-2004, 07:07 AM
Not quite sure of your question. Can you give more specific details?
In the HTML code u wud want to put any img links in the body section - between the <body> and </body> tags. Probably thats not really ur question..

12-13-2004, 08:29 AM

What do you want it to do? Is it that you want the thumbnail to be a link to the required page? or do you want the thumbnail to change on mouseover and to also be a link to a page?

This is an example of what I would code if I wanted a mouseover image change and for it also to be a link
<a href="index.htm"><img src="savingthewoman1st.jpg" width="500" height="75" name="Image1" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','enter.jpg',1)" border="0" onClick="MM_openBrWindow('indexx.htm','indexx','width=585,height=345')"></a>

This would go in the body section and dont forget your javascript in the head section to make it all work.

Donna x

12-14-2004, 02:18 AM
Hi Donna,
Take a look at this link http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

There is a step one and step two - I am assuming that I cut and paste all of the text into my auction listing. Then I must have to change some of it to place my photo links into the text. Where in the text do I do that? I host my own photos and the link would be to that site to get the photo to appear in the listing. I hope this makes some sense.

12-14-2004, 09:43 AM

In STEP1 (The HEAD section)

//Specify image paths and optional link (set link to "" for no link):
var dynimages=new Array()
dynimages[0]=["http://www.yoursite.com/images/pictures/photo1.jpg", "http://www.website1.com"]
dynimages[1]=["http://www.yoursite.com/images/pictures/photo2.jpg", "http://www.website2.com"]
dynimages[2]=["http://www.yoursite.com/images/pictures/photo3.jpg", "http://www.website3.com"]
dynimages[3]=["http://www.yoursite.com/images/pictures/photo4.jpg", "http://www.website4.com"]
dynimages[4]=["http://www.yoursite.com/images/pictures/photo5.jpg", "http://www.website5.com"]
dynimages[5]=["http://www.yoursite.com/images/pictures/photo6.jpg", "http://www.website6.com"]
dynimages[6]=["http://www.yoursite.com/images/pictures/photo7.jpg", "http://www.website7.com"]
dynimages[7]=["http://www.yoursite.com/images/pictures/photo8.jpg", "http://www.website8.com"]
etc etc

rgds,Simonf :cool:

12-14-2004, 12:53 PM
Thanks Simon,
Sounds good and I will give it a try later today. Let you know how it goes.

12-14-2004, 05:10 PM
Ya beat me to it simonf ;)

Donna x

12-14-2004, 05:45 PM
Don't go too far away. I probably need more help when I attempt to do this.
Thanks, Sandie