Results 1 to 2 of 2

Thread: Slashdot all submenu's closed.

  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Slashdot all submenu's closed.

    1) Script Title:

    Slashdot menu

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamicindex1/slashdot.htm

    3) Describe problem:

    Hi,

    I am using above menu for a website, its very nice and works perfectly for my needs. Only one thing i don't like... all the menu's are expanded on loading of the page. I rather have them all closed on the first visit or when the cookie runs out of date.

    Since there is nog simple option in the JS file, and i am not known with JavaScript i can't find out how to get them closed on loading.

    Anyone who knows how to do that IF its even possible. When i load the script page is doesn't have all menu's open, so there must be an way or i modified the code to much...

    The menu is found here for preview. With standard JS file.


    Edit: With the search i found

    Code:
    myMenu.collapseAll();
    Which i add to the part in the <head> </head> tags. However it doesn't stay open in the menu you clicked (the remember function).

    Anything to exclude that closing on every reload?
    Last edited by OMEGA-ThundeR; 08-25-2009 at 10:13 AM.

  2. #2
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Anyone?

    The only idea i have is to exclude the collapse code on following pages, with my current build of the pages its do-able, but perhaps there is an efficient way

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
  •