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 

Problem with COOLjsTree Pro and IE6

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



Joined: 09 Jun 2003
Posts: 5

PostPosted: Tue Jun 10, 2003 3:04 pm    Post subject: Problem with COOLjsTree Pro and IE6 Reply with quote

Hi there. I purchased the full version of COOLjsTree Pro and I'm trying to use a menu with the Explorer look & feel and have enabled cookies to maintain the menu state. However, I'm having a problem with IE 6 (version 6.0.2800.1106). When the page first loads the entire menu (2 nodes) is collapsed into one line. Once I click on that line it expands out and looks fine, but everytime I click on one of the menu links it refreshes the page and the menu collapses back to one line. This is only happening in IE6... in Mozilla 1.3 it is working fine. Thank you for any help you can provide.

Thanks again,
Kirk
Back to top
Sergey Nosenko
Developer


Joined: 19 Jan 2003
Posts: 75

PostPosted: Tue Jun 10, 2003 4:22 pm    Post subject: Reply with quote

At the first look it looks like you call RedrawAllTrees() not directly before </body> or don't call it. Please send your files tree_nodes.js and .html files to jssupport@cooldev.com and our support team will help you.
Back to top
Amanda
Guest





PostPosted: Tue Jun 10, 2003 10:19 pm    Post subject: Collapsing Menu Reply with quote

I am also having a similiar problem with my menu collapsing onto one line. However, my menus don't always collapse ~ they randomly collapse. It will look fine one time you visit the page and then the next time it will collapse. Is this a known issue or is there something that I can do to fix it?

Thanks,
Amanda
Pearson Education Technolgies
Back to top
Sergey Nosenko
Developer


Joined: 19 Jan 2003
Posts: 75

PostPosted: Wed Jun 11, 2003 6:51 am    Post subject: Reply with quote

It's depend from browser and computer speed. If browser finished to compute positioning for all HTML element before drawing nodes of tree it will be shown correctly else you will have collapsed pile Smile

To avoid this call tree.init() exactly before </body> if you use absolute positioning or don't forget to call tree.draw() or RedrawAllTrees() before </body> or in page onload event handler.
Back to top
kirk



Joined: 09 Jun 2003
Posts: 5

PostPosted: Wed Jun 11, 2003 2:32 pm    Post subject: Reply with quote

I added the following right before my closing </body> tag. This took care of the problem for me.

<script type="text/javascript">
RedrawAllTrees();
</script>
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