Web Analytics Made Easy -
StatCounter HVMenu newbie needs help - CodingForum

Announcement

Collapse
No announcement yet.

HVMenu newbie needs help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HVMenu newbie needs help

    I'm a brand new newbie here, learning my way around html and java scripts, so please bare with me here. I'm playing and learning to use the HVMenu script. So far, I've figured how to set it up with the menu vertically on the left in one frame and to have everything open up on the main frame to its right. I've also gotten it to work correctly in that the submenu's do appear over the right frame without any problems. I had read about adding the script to each page to do this.

    Now what I want to do is shrink down the left frame (alot) and have most of the main menu links showing over the right frame. This will let me widen out my main page for easier viewing. Could someone explain how I go about getting the main links to show up on top of the right (main) frame?

    Switch

  • #2
    The main menu and sub menus will not cross over into different frames, so your left frame will have to be atleast the width of your main menu.

    If you need more width try setting it up to display horizontally with the sub menus coming in from the top of the 'main' page, you can then have your site header and menu in little more space than the header would take up and a full screen width for content.
    An answer needs a question just as much as a question needs an answer. Deep eh!

    Comment


    • #3
      Quote by Jeepers
      The main menu and sub menus will not cross over into different frames, so your left frame will have to be atleast the width of your main menu.
      Actually, the HVMenu script does allow you have your submenu's cross over. I've already done this, and it does work. Here's a quote from HVMenu main page.
      Note: If you wish to install the menu on a page containing frames (so the menu resides in one frame, and the resulting sub menus drop down in another), refer to "install-frames.htm" over install.htm.
      And here's the script you add to the top of each page in the body page as explained in the install-frames.htm
      Code:
      <html>
      <head>your header html</head> 
      <body onload="javascript:{if(parent.frames[0]&&parent.frames['MyFrameOne'].Go)parent.frames['MyFrameOne'].Go()}"> 
      your html
      </body>
      </html>
      Now, what I want to do is be able have the main menu itself also cross over to the main (right) frame. This will let me shrink down the left frame, giving a better main view.

      Thanks for any help everyone.

      Comment


      • #4
        So what your saying is that you want both the main menu and the sub menus in the same frame and not crossing over, or as I understood it overlapping, from one frame to another as in your question.

        If you put the name of the frame that you want the menus to appear in into the following variables it achieves it, I've just tried it to make sure.

        EG var FirstLineFrame='MyFrameOne';
        var SecLineFrame='MyFrameOne';
        An answer needs a question just as much as a question needs an answer. Deep eh!

        Comment

        Working...
        X