Are you asking why clicking on the "Container" main header merely expands the sub menu, instead of also going to a URL? That's normal, since headers themselves aren't meant to act as URLs, but a way to expand/ hide sub menus. This is how all the demos on the DD script page behave as well.
Not sure why you would want the headers hyperlinked, as this means as soon as the user clicks on one, before the sub menu even has a chance to expand, the user is whisked to another page. To enable it however, find the below lines in the .js file:
Code:
else{
ddaccordion.collapseit($(this), $subcontent, config, true) //Last Boolean value sets 'isclicked' parameter
}
return false
and remove the line in red.
Bookmarks