Closed Thread Icon

Topic awaiting preservation: Help with Collapsing Menus Pages that link to <a href="https://ozoneasylum.com/backlink?for=8776" title="Pages that link to Topic awaiting preservation: Help with Collapsing Menus" rel="nofollow" >Topic awaiting preservation: Help with Collapsing Menus\

 
Author Thread
malachlite
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jun 2003

posted posted 07-24-2003 03:10

ooooookay i have this collapsing menu system made http://www.evegate.net/test/main.html

however i need help on how to make it so that only one menu is open at a given time
basically when one menu is expanded, any other expanded menu instantly collapses

how do i do this?

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 07-24-2003 03:22

switch this:
onclick="switchUl('menu0');"

to this:

onclick="theFunctionToCloseEveryMenu(); switchUl('menu0');"


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

malachlite
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jun 2003

posted posted 07-24-2003 17:15

didnt work

all that did was make the 1st category unexpandable and left the rest as the same

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 07-25-2003 13:14

um.... you do realize that 'theFunctionToCloseEveryMenu()' is a function you have to write, right?

.... and that by 'menu0' I mean, 'all of the menus'?

... or is this some sort of severe IDtenT error?


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

« BackwardsOnwards »

Show Forum Drop Down Menu