Results 1 to 2 of 2

Thread: Switch Menu Question

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

    Default Switch Menu Question

    Hello Friends,

    I am a bit confused with switch menu.
    http://dynamicdrive.com/dynamicindex1/switchmenu.htm

    I have installed it on my project successfully, My Menu goes it this format:
    Home
    About
    -company
    -Network
    -link3
    -link4
    Services
    Products
    -link1
    -link2
    -link3
    -link4

    As you can see there is no sub-menu for "Home" and "Services" and for the same I didnt make <span> tag. coz i dont want anything under these 2 links.
    but it shows me "Error on Page" at the bottom. and there is direct link to page from these 2 links.

    Is there any way I can overcome this Error Problem "Error on Page"

    It's a little urgent, if anyone can help me in urgent that will be thankfull.

    waiting for reply.

    Regards,
    Wasim.

  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

    You also need to remove this bit (highlight red) from the header:

    Code:
    <div class="menutitle" onclick="SwitchMenu('sub1')">Site Menu</div>
    - John
    ________________________

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

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
  •