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 

TreePro with CSS layout (frames replacement) ?

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



Joined: 11 Dec 2004
Posts: 3

PostPosted: Sat Dec 11, 2004 11:08 am    Post subject: TreePro with CSS layout (frames replacement) ? Reply with quote

Is it possible to use TreePro menus with a CSS frames layout?

For example, in the simple two column layout with a left menu box:

http://bluerobot.com/web/layouts/layout1.html

Thank you very much!
Dejan V.
Back to top
Krumbsnatcher



Joined: 15 Dec 2004
Posts: 4

PostPosted: Wed Dec 15, 2004 4:35 pm    Post subject: I have the same issue Reply with quote

I have a 3 column layout and ran into the same problem with the standard version and plan on upgrading to the pro. I believe it will work because the actual tree can be created inside a html tag. The example states that you can even place it inside of a table tag. That statement alone would lead me to yes it can be rendered or embedded inside of a nested div. After all the standard tree menu is an absolute positioned div tag itself.

I plan on doing the upgrade today will let you know.
Back to top
xdexx



Joined: 11 Dec 2004
Posts: 3

PostPosted: Wed Dec 15, 2004 6:23 pm    Post subject: Cheers... Reply with quote

Looking forward to your help. Thanks in advance!
Dejan V.
Back to top
Krumbsnatcher



Joined: 15 Dec 2004
Posts: 4

PostPosted: Wed Dec 15, 2004 7:31 pm    Post subject: No problem Reply with quote

Just purchased it and will install and complete the 3 column layout in CSS using .NET VB.

Stay tuned
Back to top
Krumbsnatcher



Joined: 15 Dec 2004
Posts: 4

PostPosted: Wed Dec 15, 2004 10:48 pm    Post subject: Not all of it solved the CSS layout problem Reply with quote

Here is what happened, I just purchased the pro version and you can load the tree in a div and it will redraw itself inside a div no matter where it is placed

Now the docs say it is positioned relative and seems to work ok, the problem is when your tree becomes larger than the original div it will overide the original div that it is contained.

So some event needs to be triggered to inform the original div tag to resize itself or the very least have a way to change the tree to a type of float container inside the original div.

I am posting this hoping the Head guy will have a look.
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Thu Jan 06, 2005 11:09 am    Post subject: Reply with quote

Following option in the tree_format.js file must be set to true:
Code:
//20. resize background //works only under IE4+, NS6+ for relatiive positioning
   true,
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