...

View Full Version : Mouse over link



finspoker
10-10-2008, 02:18 PM
I will like to know if there's anything I can do to do a "follow upon mouseover link" to open a picture in a different frame next to the frame I have the link in.

Mr J
10-10-2008, 03:55 PM
Try

parent.framename.location="mypic.jpg"

where framename is the name of your frame

or you could target an img element in the page in the frame by giving the img element an ID

parent.framename.document.getElementById("myid").src="mypic.jpg"

finspoker
10-10-2008, 05:44 PM
It doesn't work. Can you give me a more detailed code please. I'd appreciate it
Thank you in advance

Mr J
10-11-2008, 01:41 PM
It would be easier if you posted your code or a link to a working example



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum