Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Almere, the Netherlands
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    links in multiple framesets.

    Hi,
    I have a frameset within a frame of another frameset. The first frameset contains three frames: txtFrame(the mainframe), logoFrame(top), navFrame(navigation ) In the navFrame I have a frameset which contains another three frames: homeFrame(home button),Sitemap( sitemap button) and mainFrame(which contains all other buttons. One of the buttons in the mainFrame has to load another page in this frame and load another page in txtFrame. I've tried to do it with parent.txtFrame.location="page.html" but I recieve the error that txtFrame is not an object.

    Does anybody know how I can solve this?

    Thanks in advance!
    Florens

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts
    I got a headache just reading this..

    Just use top to hop up to the uppermost window ('highest' <frameset> document) and then work your way back down to that 'txtFrame' item. Something like:

    top.txtFrame.location

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    U.S. (Wish Japan though)
    Posts
    141
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Also, a source code might help solve this...

    I got completely confused reading that message......

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Check out this tutorial on frames and see if it helps you; there's also general info on linking to frames using JavaScript.

    Having read the turorial myself, i guess your initial attempt should work; have you checked for correct spelling? If in doubt, don't use capitals; they may confuse issues.
    Last edited by ronaldb66; 07-11-2002 at 09:03 AM.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #5
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Almere, the Netherlands
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've tried the solution Adios provided. It worked, thanks a lot. I guess I don't need to put the source code up here now right?

    Thanks again, y'all.
    Florens


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •