PDA

View Full Version : Anylink Dropdown Menu



Paul Brown
11-06-2008, 11:43 AM
1) Script Title:
Anylink Dropdown Menu

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem:
How can I adapt this menu so that the menu options themselves are links. Eg in the demo on the above URL Web Design | Technology | News Sites would be clickable links as well as the options in the dropdown?

Many thanks
Paul

Nile
11-06-2008, 12:38 PM
Here:


<a href="default2.htm" onClick="return dropdownmenu(this, event, menu2, '200px')" onMouseout="delayhidemenu()">Click-able</a>

Paul Brown
11-06-2008, 06:49 PM
Hi,

Thanks for that but I don't think I explained myself properly. What I want is for the Web Design | Technology | News Sites menu headings to be external links, that still have menu options when you hover over them. Adding href="http://www.google.co.uk" to the code doesn't work.

Thanks again.

Paul

ddadmin
11-07-2008, 04:56 AM
Please do a search- this question has come up a few times now. Simply remove the onClick event from within the anchor links:


<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a>