View Full Version : anylink css, multi level modification ?

12-22-2007, 03:54 PM
1) Script Title: anylink css

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

3) Describe problem:

I want to have multi level with this script, I try but don't know how can I do it.

<div onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'menu_parent')" class="style2" align="center">Menu parent</div>
<div id="menu_parent" class="anylinkcss">
<a id="sous_menu" onClick="return clickreturnvalue()" onMouseover="dropdownmenu2(this, event, 'autre')" href="#">lien1</a>
<a href="#">lien2</a>

I duplicated the dropdownmenu function and just comment a line:

function dropdownmenu2(obj, e, dropmenuID){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
if (typeof dropmenuobj!="undefined") //hide previous menu

But it doesn't work...

Can someone help me, give me a solution?

12-23-2007, 02:30 AM
There's currently no easy way to add more than 1 level deep menus to this script, unfortunately. Another script you may want to look at is SuckerTree menu (http://www.dynamicdrive.com/style/csslibrary/item/suckertree-menu-horizontal/).

01-16-2008, 04:22 PM
It's not easy

I got 5 cell of 200px of width.
On each cell I need a menu.

With anylink css it's easy because we can place in each cell the code.
with SuckerTree menu i can't...