Forums

This topic is locked

targeting two iframes with one link

Posted 29 Jul 2004 17:58:35
1
has voted
29 Jul 2004 17:58:35 Lynn Mattila posted:
I'm trying to do an interactive map of the US. My image map and two iframes are on one page... then when you click on a hotspot it loads another htm page into the left iframe. When users click on one of the links in the left frame, it loads the information into the right hand iframe. All this is working well... until I discovered I needed to clear the right frame when the user clicked out of the information for the right frame. I've been trying to use javascrip with a null link and the mouseclick and down commands... but I can't make anything load into that right hand iframe no matter what I do.

Anyone have any suggestions?

Thank you so much.

Therunningwolves

Replies

Replied 09 Aug 2004 23:01:09
09 Aug 2004 23:01:09 Olaf Lederer replied:
Hallo,

you need some Javascript running inside a function. Just use a onClick event to call the function. Inside the function you need something like this : layername1.location="page1.htm" and for the second layer the other page.

Greetings from the Netherlands!
Olaf
_____________________
www.finalwebsites.com

Reply to this topic