Connecting Tech Pros Worldwide Forums | Help | Site Map

simple??

Sn00py
Guest
 
Posts: n/a
#1: Jul 20 '05
ok I apologise if this is very simple and easy to do but I need to find out
how to code this...

I have a frameset in HTML and when the menu (menu.html)of the frameset loads
I want it to automatically load another page (main.html)on the other side of
the frame (target ="main").

I need the menu.html to do this and not the frame set!
If anyone could give me some basic JavaScript code to do this
it would be very helpful.

thanks for any help!

Sn00py




Evertjan.
Guest
 
Posts: n/a
#2: Jul 20 '05

re: simple??


Sn00py wrote on 27 okt 2003 in comp.lang.javascript:
[color=blue]
> I have a frameset in HTML and when the menu (menu.html)of the frameset
> loads I want it to automatically load another page (main.html)on the
> other side of the frame (target ="main").
>
> I need the menu.html to do this and not the frame set!
> If anyone could give me some basic JavaScript code to do this
> it would be very helpful.
>[/color]

top.main.location.href = "main.html"

not tested !

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Closed Thread


Similar JavaScript / Ajax / DHTML bytes