View Full Version : Slashdot all submenu's closed.

08-25-2009, 10:03 AM
1) Script Title:

Slashdot menu

2) Script URL (on DD):


3) Describe problem:


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 (G:\C7\57.33.75 - Website N23\Website\index.html) for preview. With standard JS file.

Edit: With the search i found


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?

08-26-2009, 09:44 AM

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