Results 1 to 3 of 3

Thread: Top Navigational Bar (aka Smart menu)

  1. #1
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Top Navigational Bar (aka Smart menu)

    Hi

    it has been a while since i have done any html and i am having a wee problem with this code. I am simply trying to get the menu to display the selected page in a frame instead of loading another page.

    Any help would be appreciated,

    deathbegins.

  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

    Well, your frame must have a name. Then just use the 'linktarget' field in the AddSubItem line in menucontext.js for that link to target that name. Let's say your frame has a name, 'main', like:

    HTML Code:
    <frame name="main" src="some.html" scrolling="auto">
    then your AddSubItem line would look something like this:

    Code:
    menu.addSubItem("webmasterid", "Dynamic Drive", "Dynamic Drive",  "http://www.dynamicdrive.com/", "main");
    - John
    ________________________

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

  3. #3
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    genius,thanks.


    if onlyall lifes problems were so easy!

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
  •