SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2002
    Location
    Sunshine State
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy need help with function for menu

    please help me with an expadable/collapsible menu.
    I have expadable/collapsible menu(9 buttons)that does the following. when you mouseover one of the menu items a submenu opens vertically. The issue is that once you click on one of those sublinks and you are taken to that page the menu closes. I want the menu to remain open
    when you are taken to a new page of a submenu.
    exmaple oif what I would like my menu to function.
    http://www.site-pro.com/promotion/
    In my home page I added the code for the drop down menu.
    I know that for all the child pages I need to add logic tying page ids to divs to call the function generated by the editor used to create the dropdown menu.
    on the home page where this menu resides I have the code that triggers the motion of the drop down menu on all the
    child pages i have the same code as well but i added a line that seems to make it work. (Test_trigMenu1('Aboutmenu',1) this is the name of the
    main menu and the first submenu. But how can I make the others ones work? Can someone help me with a function so the menu remain open when you are
    in set of submenu pages? here are my other sub menu names.
    Test_trigMenu1('Bhmenu',1);
    Test_trigMenu1('Cancermenu',1);
    Test_trigMenu1('Commmenu',1);
    Test_trigMenu1('Cvimenu',1);
    Test_trigMenu1('Fbmenu',1);
    Test_trigMenu1('Hafmenu',1);
    Test_trigMenu1('Nsmenu',1);
    Test_trigMenu1('Wsmenu',1);
    Any help on this would be really appreciated.
    Last edited by lari; Feb 18, 2003 at 14:57.

  2. #2
    American't awestmoreland's Avatar
    Join Date
    Sep 2002
    Location
    Grand Rapids, MI
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: need help with function for menu

    Originally posted by lari
    I want the menu to remain open
    when you are taken to a new page of a submenu.
    exmaple oif what my menu looks like
    http://www.site-pro.com/promotion/
    Works as you want for me in IE6.

    Andy
    From the English nation to a US location.


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
  •