Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatic update of one frame from another
Message
 
À
25/03/2000 17:19:55
Information générale
Forum:
Internet
Catégorie:
HTML
Divers
Thread ID:
00350438
Message ID:
00350651
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform