Closed Thread Icon

Topic awaiting preservation: rollover in iframe (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8734" title="Pages that link to Topic awaiting preservation: rollover in iframe (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: rollover in iframe <span class="small">(Page 1 of 1)</span>\

 
ninci
Obsessive-Compulsive (I) Inmate

From: france
Insane since: Jun 2003

posted posted 06-29-2003 02:27

hello,
i'm working on a web site and i have this probleme...i have a main page (page1) and an iframe inside of it that has page2 in it. how can i do a mouseover on image on page 2 that will change an image in the main page(1) thank you for your help i need a lot an answer

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 06-29-2003 03:26

I'm assuming you have the basic rollover code.

You can do this either of two ways.

top.document.images['imageName'].src = blah.gif
or parent.document.images['imageName'].src = blah.gif

parent refers to the parent frame of an iframe top starts from the top page and works down. I tend to prefer starting from the top and work down.



.:[ Never resist a perfect moment ]:.

« BackwardsOnwards »

Show Forum Drop Down Menu