Connecting Tech Pros Worldwide Help | Site Map

simple??

  #1  
Old July 20th, 2005, 12:23 PM
Sn00py
Guest
 
Posts: 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



  #2  
Old July 20th, 2005, 12:23 PM
Evertjan.
Guest
 
Posts: n/a

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 Threads
Thread Thread Starter Forum Replies Last Post
Writing a simple webservice Phillip Taylor answers 10 June 27th, 2008 09:14 PM
A simple class Giancarlo Berenz answers 14 March 18th, 2007 02:05 AM
asp.net simple question abcd answers 7 November 19th, 2005 05:45 PM
XML::Simple in perl? Dan answers 8 July 20th, 2005 06:59 AM
A simple message board? delisonews@yahoo.com answers 2 July 17th, 2005 02:10 PM