simple??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sn00py

    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



  • Evertjan.

    #2
    Re: simple??

    Sn00py wrote on 27 okt 2003 in comp.lang.javas cript:
    [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.locati on.href = "main.html"

    not tested !

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

    Comment

    Working...