JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Auto collapse

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree
Author Message
flaydermouse
Guest





PostPosted: Wed Jun 11, 2003 2:17 pm    Post subject: Auto collapse Reply with quote

Hi guys, is it possible to get the menu to auto collapse after a) you click one ofthe links or b) after a certain amount of time?

Many thanks
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Wed Jun 11, 2003 7:17 pm    Post subject: Reply with quote

Tree has "collapseAll()" method which can be called in event handlers and using "setTimeout()", but:
1) what link should be clicked to collapse the tree: tree's node or any link on the page?
2) after a certain mmount of time since which event? last mouse move? last click?
Please be more specific with these points.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree All times are GMT
Page 1 of 1