Results 1 to 3 of 3

Thread: Glossy Accordion Menu Submenu open on pageload

  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Glossy Accordion Menu Submenu open on pageload

    1) Script Title: Glossy Accordion Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...enu-glossy.htm

    3) Describe problem: Its not really a problem more of a can I. I would like to have the menu open the submenu as a page loads. Example, If i am on the plans page, the menu will open the plans submenu by default. If I am on the benefits page it will open the benefits submenu by default..

    I hope this is explained correctly. i just want to open a specific submenu based on the page that is loaded..

    Thanks for all your help..

    SeoKidd

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

    Default

    There's quite a few threads in general about getting a sub menu to open automatically based on the page the user is currently at. There is no "instant" way to do this- it really depends on finding some way on your own of matching the current page with the sub menu that is supposed to be open, then either setting the "defaultexpanded" parameter of your menu, or calling one of the Accordion Menu expand/contract methods, to expand that sub menu.
    DD Admin

  3. #3
    Join Date
    Sep 2009
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default

    I'm am looking to do the same - I need to know where these other threads are so I can implement this concept. I need to have a sub-menu open on specific pages. I have the Accordian menu in a separate php file that is being included from the page. I can send variables using javascript if I knew the code. I'm having a hard time figuring out the "Taking advantage of the oninit() and onopenclose() event handlers" but I think this would work for me.

    Thanks,
    YoonMi

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
  •