Results 1 to 3 of 3

Thread: menu in top frame, sub menu in main frame

  1. #1
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default menu in top frame, sub menu in main frame

    I am trying to find a horizontal menu that I can position on lower edge of top frame, and display submenu's in main frame. Above the menu's I have got a Flash object I can't get sub menu's to display over that either. I tried using HVmenu because that is supposed to work accross two frames but I couldn't get that woking either.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    See:

    http://www.dynamicdrive.com/forums/showthread.php?t=320


    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.


    Please post a link to the page on your site that contains the problematic script so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I haven't got it online yet I am still waiting for the domain name to be transfered to the host. The code from the example is
    Add the below script in the <BODY> of MyframeOne, immediately following the tag:

    <html>
    <head>your header html</head>
    <body>
    <script type='text/javascript'>
    //HV Menu- by Ger Versluis (http://www.burmees.nl/)
    //Submitted to Dynamic Drive (http://www.dynamicdrive.com)
    //Visit http://www.dynamicdrive.com for this script and more
    function Go(){return}</script>
    <script type='text/javascript' src='exmplmenu_var.js'></script>
    <script type='text/javascript' src='menu_com.js'></script>

    your html
    </body>
    </html>
    (Where MyFrameOne is the name of the navigation frame.)
    ii) Then, add the below code inside the <BODY> tag itself of MyFrameTwo, as follows:

    <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>
    (Where MyFrameOne is the name of the navigation frame.)

Bookmarks

Posting Permissions

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