Refreshing Javascript Menu in Frame

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

    Refreshing Javascript Menu in Frame

    Hello,
    I'm new to javascript so bear with me....
    I have a t-based frame site with my javascript-based menu on the left
    hand frame (ie NavFrame) with its submenus showing up on the right side
    frame (ie BodyFrame). Everytime I click on a submenu to show files in
    the body frame, the left frame menu stops being dynamic or clickable.
    Any ideas?

    I put this piece of code in the NavFrame page:

    <body>
    <script type='text/javascript' src='VerticalFr ames_var.js'></script>
    <script type='text/javascript' src='menu131_co m.js'></script>
    </body>

    I am using http://www.burmees.nl/menu/menus.htm as a guide to help me.
    But I do not see any fix under the FAQ section. I've tried emailing
    him/her but no response yet.

    Daniel Park
    Jr. Web Developer
    In-n-out Burger

  • Random

    #2
    Re: Refreshing Javascript Menu in Frame

    Hard to say without more information, i.e. relevant code snippets.

    Can you provide a link to the pages you're building?

    Off-hand, I'd say check for script errors in Moz' JavaScript console.
    Also check the lower-left corner of IE for a yellow triangle with a
    black exclamation point. If there is one, double-click it to see the
    errors.


    dawaves wrote:[color=blue]
    > Hello,
    > I'm new to javascript so bear with me....
    > I have a t-based frame site with my javascript-based menu on the left
    > hand frame (ie NavFrame) with its submenus showing up on the right side
    > frame (ie BodyFrame). Everytime I click on a submenu to show files in
    > the body frame, the left frame menu stops being dynamic or clickable.
    > Any ideas?
    >
    > I put this piece of code in the NavFrame page:
    >
    > <body>
    > <script type='text/javascript' src='VerticalFr ames_var.js'></script>
    > <script type='text/javascript' src='menu131_co m.js'></script>
    > </body>
    >
    > I am using http://www.burmees.nl/menu/menus.htm as a guide to help me.
    > But I do not see any fix under the FAQ section. I've tried emailing
    > him/her but no response yet.
    >
    > Daniel Park
    > Jr. Web Developer
    > In-n-out Burger[/color]

    Comment

    • dawaves

      #3
      Re: Refreshing Javascript Menu in Frame

      Thanks for Replying!

      here is what my main framesite page looks like:

      <html>
      <head>
      <title>Untitl ed Document</title>
      <meta http-equiv="Content-Type" content="text/html;
      charset=iso-8859-1">
      </head>

      <frameset rows="100,*" cols="*" frameborder="ye s" border="1"
      framespacing="1 ">
      <frame src="./tabframe.htm" name="topFrame" scrolling="NO" noresize >

      <frameset rows="*" cols="167,*" framespacing="1 " frameborder="ye s"
      border="1">
      <frame src="./navigation.htm" name="leftFrame " scrolling="NO"
      noresize>
      <frame src="./body.htm" name="mainFrame ">
      </frameset>
      </frameset>
      <noframes><body >

      </body></noframes>
      </html>


      Here is what my navigation.htm looks like:

      <html>
      <head>
      <title>Untitl ed Document</title>
      <meta http-equiv="Content-Type" content="text/html;
      charset=iso-8859-1">

      </head>

      <body>
      <font color="#FFFF00" size="4" face="Verdana, Arial, Helvetica,
      sans-serif"></font>
      <p>
      <script type='text/javascript' src='VerticalFr ames_var.js'></script>
      <script type='text/javascript' src='menu131_co m.js'></script>
      </p>
      </body>
      </html>


      Do I need to add some code into "VerticalFrames _var.js" or
      "menu131_com.js " for the menu to continue working after I've clicked on
      the submenus? I figure it's like a refresh of the navigation Frame that
      I need. Any thoughts? Thanks!

      Comment

      Working...