Topic awaiting preservation: rollover question.. 2 html doc's (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: AČ, MI, USA |
posted 01-09-2002 04:46
ok.. i have an html document (page1) with an image in it. in this html document is an iframe, with another html document (page2) inside. is it possible for me to rollover an image in page1 to correspond with a rollover in page2? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 01-09-2002 06:11
Yes. |
Paranoid (IV) Inmate From: AČ, MI, USA |
posted 01-09-2002 06:24
very cool. i'll give it a shot when i finish up in photoshop. thanks for the reply bitdamaged |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 01-09-2002 06:25
*only* use top.framename.document... if your page is at the top level. If the IFRAME you're referencing is a part of the page that the script is being run in, simply use framename.document... . |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 01-09-2002 19:03
Yeah the top thing is just a way to start at the top page and work down. The real difficulty in this type of situations is getting the right refrence to the frame. If you are just talking about one page with an iframe then Slime's method is the way to go. |
Nervous Wreck (II) Inmate From: San Antonio, TX, USA |
posted 02-05-2002 04:54
ok... going along with this problem. what if you're trying to do the opposite... i have a main page (page1) and an iframe inside of it that has page2 in it. can i click something in page2 and make a graphic on page1 change? how? i need to do this for a page that's due on the 14th so any help would be great =) thanks guys! |