HighDots Forums  

simple??

Javascript JavaScript language (comp.lang.javascript)


Discuss simple?? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sn00py
 
Posts: n/a

Default simple?? - 10-27-2003 , 01:38 PM






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




Reply With Quote
  #2  
Old   
Evertjan.
 
Posts: n/a

Default Re: simple?? - 10-27-2003 , 01:56 PM






Sn00py wrote on 27 okt 2003 in comp.lang.javascript:

Quote:
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)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.