Connecting Tech Pros Worldwide Help | Site Map

simple??

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 20th, 2005, 11:23 AM
Sn00py
Guest
 
Posts: n/a
Default simple??

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, 11:23 AM
Evertjan.
Guest
 
Posts: n/a
Default 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)
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.