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 

multiple menus overlapping

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





PostPosted: Mon Jul 07, 2003 6:41 pm    Post subject: multiple menus overlapping Reply with quote

Is there a way to stop multiple menus from overlapping onto each other if they are stacked vertically? Instead I want them to be "pushed" down as the ones above open. Is this functionality possible? Please let me know. Thanks in advance.

Jason
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Fri Jul 11, 2003 12:23 pm    Post subject: Reply with quote

Looks like Pro will do it for you. You have to enable relative positioning and background resizing in the tree_format.js:
Code:
//18. if true - relative position will be used. (tree will be opened in place where init() was called)
   true,
//19. width and height of initial rectangle for relative positioning
   [100,100],
//20. resize background //works only under IE4+, NS6+ for relatiive positioning
   true,

Then just stack trees, one after another. You can place them into vertical table or separate them with <BR>.
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