Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatic update of one frame from another
Message
 
 
To
25/03/2000 17:19:55
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00350438
Message ID:
00350651
Views:
24
>I have a page with three frames. When the user clicks on a link in frame 2, it's easy to update that frame. I also want frame 3 to automatically update at that time. How can I do this?

Hi Craig,

You will need to use javascript. For this example lets assume:
Frame 1 name: F1
Frame 2 name: F2
Frame 3 name: F3

In Frame 2 fire a javascript in the onClick event.

<SCRIPT LANGUAGE=javascript>
function gourl() {
parent.F2.location = "Your Frame 2 URL address";
parent.F3.location = "Your Frame 3 URL address";
return false; }
</SCRIPT>

<A HREF="" onClick="return javascript:gourl()">Your Link</A>
Michael McLain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform