invalid top level menu link

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
zbattery
Beginner
Beginner
Posts: 1
Joined: Wed Dec 11, 2002 3:25 pm
Location: St. Joseph, MI
Contact:

invalid top level menu link

Post by zbattery »

Greetings! :)

I have a site I'm working on that I need a little help with a simple problem. I have a slide down Javascript menu that works great, but if you actually click on the top-level menu options it takes you to a blank page (the name of the submenu).

You can see what I'm referencing here:
http://www.advantagesolutions.net/clients/hgs/

So for example, scrolling over "software" brings up the submenu as it is supposed to, but clicking on "software" takes you to "menu_2"

I'd like to have it go to "#" (nowhere), but if I add that to the script than the rolldown doesn't work.

Any ideas?
:?:
Here's the definition javascript used on the menu:
http://www.advantagesolutions.net/c...ewmenu_array.js

Any other information needed?

Thanks for any help!

Bryan Noonan
AdvantageSolutions.net
http://www.zbattery.com
Batteries and Flashlights at wholesale prices
Kryss
Beginner
Beginner
Posts: 2
Joined: Sat Dec 07, 2002 6:44 am
Contact:

Post by Kryss »

Hi Bryan,

First, since I cannot tell which version you are using as there is no header info in the array file, make sure you are using the current version of the menu - not the old one from Dynamic Drive. You can get it from: http://www.milonic.co.uk/menu/download.php

Just from a quick cursory of your js file, I think the problem is how you structured the command line.

Your .js file has the structure:
"<b>Software","menu_2",,,1,

Try using something like:
,"Software","show-menu=menu_2",,"",1

This will give you the drop down menu but when they click on the header, nothing.

Hope this helps.
Kryss
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi Bryan,

Dude! You're using version 2.6.0. It's from the Stone Age!

OK, kidding aside, 2.6.0 is a little over a year old. There were a lot of changes implemented in 3.2, and even more functionality has been added since (3.5.10 is current). Good news is, you can easily do what you want now (e.g., the syntax that Kryss mentioned will easily do the trick in 3.5.10, but not in 2.6.0). Bad news is, the arrays that define the menus in 2.6.0 are not compatible with the current version (haven't been since 3.2). But there's really not too much editing involved to bring your code in line with the current version's requirements, and it really is worth the effort to gain the increased flexibility and added functionality offered by the latest release.

You can get the latest release here. Please be sure to read the License Agreement! When you got 2.6.0, it was free, and all you had to do was place a link to the Milonic site on the site implementing the menu, and keep all copyright notices in place. Because people were not doing that, there is now a nominal licensing fee for commercial use (I think it's 35 bucks per domain, which ain't a lot to pay, considering what you get, and not having to develop the code yourself. We paid it gladly).

Hope that helps,

Kevin
Post Reply