| Author |
Message |
rdickelman
Joined: 08 Jan 2004 Posts: 5
|
Posted: Mon Feb 02, 2004 6:20 pm Post subject: Please verify Mozilla compatibility |
|
|
Please verify that the table cell width resizing (resizable background) feature of tree(pro) does not function correctly when loaded in Mozilla..
Unfortunatly I did not read this sad truth until I spent a day trying to make it work.
The best solutions I can see are:
1) initially making the cell width as wide as the widest text in the tree. Unfortunatly this creates a lot of unusable space.. i.e. it looks bad.
2) Loading the tree initially with everything expanded. (this seems to be the best option as the cell width shrinks and grows after loading in expanded state) except for the fact I cannot figure out how to do this. Of course I think this works based on refreshing the browser with everything expanded, and the state saving feature set to true.
3) Cry
I would very much appreciate any thoughts regarding this...
thanks! |
|
| Back to top |
|
 |
rdickelman
Joined: 08 Jan 2004 Posts: 5
|
Posted: Mon Feb 02, 2004 6:25 pm Post subject: |
|
|
Is there a way to set the tree to load automoatically expanded and then immediatly collapse
if so,
does there exist a way to execute the above ONLY in the case where there is no previous state to save (when the tree is first loaded) |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Mon Feb 02, 2004 9:51 pm Post subject: |
|
|
| Quote: | | Please verify that the table cell width resizing (resizable background) feature of tree(pro) does not function correctly when loaded in Mozilla.. |
AFAIK, Mozilla 1.3 and above works fine, but older versions have some troubles, at least with resizing in horizontal direction. Since in my tests there was some garbled lines on the screen, I think these issues with cell resizing are caused by some internal Gecko's bugs or something...
| Quote: | | Is there a way to set the tree to load automoatically expanded and then immediatly collapse |
Why do you need this?
| Quote: | | does there exist a way to execute the above ONLY in the case where there is no previous state to save (when the tree is first loaded) |
Try this:
| Code: | var tree1 = new COOLjsTreePRO("tree1", TREE1_NODES, TREE1_FORMAT);
...
tree1.init();
if (tree1.getCookie(tree1.name+'State') == null)
// first time loaded; need to do something |
|
|
| Back to top |
|
 |
Guest
|
Posted: Tue Feb 03, 2004 12:08 am Post subject: |
|
|
| I should have clarified.. I'm using Firebird v.7... and it definitly is having issues resizing horizontally... I also loaded it in Mozilla 1.5.. it seems to resize for a flash but then returns to the previous width of the column, and the text of the tree then crosses into the adjacent cell.. I have yet to try implimenting your suggestions, but I didn't think that was addressing this particular issue.. I will try it in a moment though.. I am PM'ing you a URL so you can take a look.. thanks. |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Tue Feb 03, 2004 9:45 pm Post subject: |
|
|
| Yes, now I see... NN incorrectly returns width for HTML elements, and is is actually limited by widest item of the root level. I have to workaround this somehow... |
|
| Back to top |
|
 |
rdickelman
Joined: 08 Jan 2004 Posts: 5
|
Posted: Tue Feb 03, 2004 11:03 pm Post subject: thank you |
|
|
It's really unfortunate that I discovered the wonders of Mozilla.. because I'll never be satisfied with anything I make web wise unless it works well with it. I either hate Microsoft or.... hm.. n'm .. Open sources are calling me.
Thanks for your past and future assistance with this matter..
-rld |
|
| Back to top |
|
 |
|