PDA

View Full Version : Switch Menu Question



vivaforever
11-20-2005, 02:54 PM
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.

jscheuer1
11-21-2005, 06:14 AM
You also need to remove this bit (highlight red) from the header:


<div class="menutitle" onclick="SwitchMenu('sub1')">Site Menu</div>