Web Analytics Made Easy -
StatCounter links in multiple framesets. - CodingForum

Announcement

Collapse
No announcement yet.

links in multiple framesets.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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
    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

    Comment


    • #3
      Also, a source code might help solve this...

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

      Comment


      • #4
        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; Jul 11, 2002, 04:03 AM.
        Regards,
        Ronald.
        ronaldvanderwijden.com

        Comment


        • #5
          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

          Comment

          Working...
          X