PDA

View Full Version : invalid top level menu link


zbattery
12-10-2002, 09:09 PM
Greetings! :p

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 instance, 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/clients/hgs/newmenu_array.js

Any other information needed?

Thanks for any help!

Bryan Noonan
AdvantageSolutions.net (http://www.AdvantageSolutions.net)

chrismiceli
12-10-2002, 10:29 PM
here you go, change this

"<b>Home","index.htm",,,1, // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
"<b>Software","software.html",,,1,
"<b>Ed.&nbsp;&amp;&nbsp;Training","menu_3",,,1,
"<b>Learning&nbsp;Center","menu_4",,,1,
"<b>Information","menu_5",,,1

that is about halfway down on you js file

zbattery
12-11-2002, 01:22 PM
If I make that change than the submenu "menu_2" does not slide down on a roll over of "Software". I don't want the link to go anywhere is someone clicks on Software. It's just a top level menu option. It needs to just pull down the submenu like it does and not go anywhere if someone clicks on "Software"

Thanks!

cheesebagpipe
12-11-2002, 01:30 PM
Milonic menus are cool - and a bear to debug. There are also several versions with different features, so disabling the header click may be hard to get documentation on. I'd post here (http://www.milonic.com/menu/forum/). :(

zbattery
12-11-2002, 04:53 PM
Hmmm...Ok. I have posted over there. However, it appears that they are now requiring you to purchase the menu for commercial use. I will likely be using this menu again for other projects so I'd like to not purchase it.

Any other suggestions on this type of horizontal pull down menu?

Thanks!

Bryan

brothercake
12-11-2002, 05:20 PM
I have one at http://www.brothercake.com/dropdown/

But it's also not free for commercial use. I'd be very surprised if you find a mature menu script which is.