View Full Version : AnyLink JS Drop Down Menu v2.2 and removing the hyperlinks from a part of it.

03-05-2010, 06:50 PM
Title: AnyLink JS Drop Down Menu v2.2
URL: http://www.dynamicdrive.com/dynamici...pmenuindex.htm


This is a seriously beautiful piece of code, so thanks very much for that. My problem is that I am using the drop Down Menu for information, and so would like to remove the hyperlink from the text. I have three links where the menu is used as designed, but the fourth is an informational use.

Is this possible? I'd love to keep using the code as it is just perfect otherwise.


03-05-2010, 07:13 PM
A workaround perhaps for that is in menucontents.js just to assign the hyperlink to "" or "#", and it will stay on your page. Otherwise, mucking around in the main code part would be the other way, and that sounds messy at the moment.

Hope this helps!

03-05-2010, 07:52 PM
Assigning the non link a href value of "#" would be the easiest actually. Or you can look at using Anylink CSS Menu (http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm), with which the contents of the menu is defined as regular HTML, allowing you to easily edit parts of it, such as remove a link.