Results 1 to 2 of 2

Thread: Frames with All Levels Navigational Menu (v1.5)

  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Frames with All Levels Navigational Menu (v1.5)

    1) All Levels Navigational Menu (v1.5)

    2) http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) Hi all

    I am trying to use the all levels menubar to let people navigate around my website. I want to place the menubar to the right of the screen ( black box ) , and when a link is clicked it should load up in the centre box ( the red box in the pic below ).



    I basically want a borderless frame, but am stuck on how to integrate the menubar into my index.html file, and also how to generate a borderless frame ( red one ) for the main content to appear in . . . . . . never mind about how much time I have spent trying to get the all levels menu bar to display the content in the centre box ( red )

    Any help would be gratefully appreciated, if someone could even just create a basic index.html file for me - that would be even better !


    Thanks

    Mehul

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Set a target attribute on the anchor tags:
    Code:
    <li><a href="http://www.dynamicdrive.com/" target="myframe">Dynamic Drive</a></li>
    <li><a href="http://www.dynamicdrive.com/style/" rel="ddsubmenuside1" target="myframe">CSS Library</a></li>
    <li><a href="http://www.javascriptkit.com/jsref/" rel="ddsubmenuside2" target="myframe">JavaScript Reference</a></li>
    <li><a href="http://www.javascriptkit.com/domref/" target="myframe">DOM  Reference</a></li>
    <li><a href="http://www.cssdrive.com" rel="ddsubmenuside3" target="myframe">CSS Drive</a></li>
    <li><a href="http://www.codingforums.com/" style="border-bottom-width: 0" target="myframe">Coding Forums</a></li>
    ...just ensure that the value of the target attribute (which on my example is myframe) is the same as that of the frame's name:
    Code:
    <iframe name="myframe" src="about:blank;"></iframe>
    Hope that helps.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

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
  •