View Full Version : Link on a class="menuitem submenuheader"

10-18-2010, 12:35 PM
1) Script Title:
DD Accordion Glossymenu
2) Script URL (on DD):
3) Describe problem:
Good morning,
i need to activate a direct link not just in the submenu <li><a> but in the title of glossymenu too but it is impossible to me now.


<a class="menuitem submenuheader" href="/bin/link.htm"><img src="/img/img.png" width="5" height="7" border="0" />&nbsp;Title</a>

<div class="submenu">

may someone helps me?

10-18-2010, 09:47 PM
A link if defined inside the header itself is intentionally disabled by the script, since otherwise, clicking on it will take the user straight to the new destination, instead of expanding the corresponding sub menu. What you can do is set the "revealtype" option of the script to "clickgo", which overcomes this problem by first expanding the sub menu, and upon completion, take the user to the URL specified inside the header:

//Initialize first demo:
headerclass: "mypets", //Shared CSS class name of headers group
contentclass: "thepet", //Shared CSS class name of contents group
revealtype: "clickgo", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds

This feature is demonstrated in the example Arrow Side Menu (http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-arrow.htm).