Hello Anil,
Thanks for your suggestions. left.location.href="mypage.htm" is just what I
was looking for!
Cheers.
Michael Wong
----- Original Message -----
From: "Anil Rhemtulla" <AnilR@T...>
To: "javascript" <javascript@p...>
Sent: Thursday, February 22, 2001 6:10 PM
Subject: [javascript] RE: How To Reference Frame
> Use the same principle that Gregory mentioned. Something like:
>
> <html>
> <head>
> <script language=javascript>
> function changeLeftPage()
> {
> left.location.href = "newpage.html" ;
> }
> </script>
> <title>My Page</title>
> </head>
>
> <frameset rows="50%,50%" frameborder="0" border="0"
> onload="changeLeftPage()">
> <frame name="left" src="left.htm" scrolling="Auto" noresize>
> <frame name="right" src="right.htm" scrolling="Auto">
> </frameset>
>
> </html>
>
>
> In this example I'm calling the changeLeftPage function on the onload
event.
>
> If this still doesn't help, please let us know exactly what it is you want
> to do.
>
>
> Cheers,
> Anil
>
> Sevina Technologies.
> www.Sevina.com
>
>
>
>