By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,521 Members | 1,248 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,521 IT Pros & Developers. It's quick & easy.

simple??

P: n/a
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

Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Sn00py wrote on 27 okt 2003 in comp.lang.javascript:
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.


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

not tested !

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.