General discussion

  • Creator
    Topic
  • #2091357

    HTML/JAVASCRIPT updating multiple frames

    Locked

    by eira ·

    I am developing a web pages in HTML. My problem is that I do use nested frames,
    and from a link on my “menu” frame in one nesting level I am not able to update frames in another level.(I do not want to create a lot of frameset files to solve this because it will make my pages more complicated and take away some of the point in using frames; I then have to update all frames on the screen.)

    I Do have A Javascript that almost work, and I guess that the solution has something to do with replacing the “parent” word.
    Please help me 🙂

    *************







    *****************************************

All Comments

  • Author
    Replies
    • HTML/JAVASCRIPT updating multiple frames

      by kevin.riggs ·

      In reply to HTML/JAVASCRIPT updating multiple frames

      The line you say is in trouble is using a Key word or a Reserved word to name a frame. The word “top” refers to the initial “frameset” frame. Changing the webpage (url) for any frame.top means changing to have a non-framed webpage. Sounds like you just used the name “top” to refer to a frame that goes across the top of the browser window, just under the button bar and navigation bar. You may find that your code works if you just change the name and any references from “top” to “top_banner” or something like that.

      • #3879525

        HTML/JAVASCRIPT updating multiple frames

        by eira ·

        In reply to HTML/JAVASCRIPT updating multiple frames

        Thank you Kevin.
        It was the reserved word “top” together with a missing “;” at the end of the javascript that gave me trouble.
        It now works fine.
        🙂

    • #3880655

      HTML/JAVASCRIPT updating multiple frames

      by cedric king ·

      In reply to HTML/JAVASCRIPT updating multiple frames

      I would agree with what the answer posted about ‘top’ being a reserved word. But if it doesn’t work for you, you can try encapsulating the and in and refer to it accordingly though I think it might not be the reason too. Sorry I am unable to test it out but it should give you a guideline on solving it.
      Regards.

      • #3879526

        HTML/JAVASCRIPT updating multiple frames

        by eira ·

        In reply to HTML/JAVASCRIPT updating multiple frames

        I do not understand your suggestion. As far as I can see I have already encapsulated the frames.
        But thank you anyway.

    • #3879524

      HTML/JAVASCRIPT updating multiple frames

      by eira ·

      In reply to HTML/JAVASCRIPT updating multiple frames

      This question was closed by the author

Viewing 2 reply threads