Results 1 to 3 of 3

Thread: anylink css, multi level modification ?

  1. #1
    Join Date
    Dec 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question anylink css, multi level modification ?

    1) Script Title: anylink css

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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:
    Code:
    function dropdownmenu2(obj, e, dropmenuID){
    if (window.event) event.cancelBubble=true
    else if (e.stopPropagation) e.stopPropagation()
    if (typeof dropmenuobj!="undefined") //hide previous menu
    //dropmenuobj.style.visibility="hidden"
    [...]
    But it doesn't work...

    Can someone help me, give me a solution?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

  3. #3
    Join Date
    Dec 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •