| Author |
Message |
ccwadsworth
Joined: 25 Sep 2007 Posts: 5 Location: Massachusetts
|
Posted: Tue Sep 25, 2007 8:16 pm Post subject: Menus in Tables |
|
|
Hello - I have recently purchased your COOLjsTree Pro and I am experiencing some difficulty with placing the menu inside a table.
I am using Front Page 2003 running Windows XP on IE 7.0
here is the code I am using:
<td valign="top" bgcolor="#FFFFFF" style="border-left-width: 1px; border-right: 1px solid #A00A15; border-top-width: 1px; border-bottom-width: 1px" height="274">
<script type="text/javascript">
var tree1 = new COOLjsTreePRO("tree1", TREE_NODES, TREE_FORMAT);
tree1.init();
</script><script type="text/javascript">myTree.init()</script>
and here is the result: http://www.donaldsondynamics.com/testsite/whyjill.htm
Ideally, I would like the menu to appear like this (with orange dividers too):
http://www.donaldsondynamics.com/home2.htm
I created this menu using OpenCube with whom I am very frustrated as their product does not perform as advertised.
The menu items Why Jill? and Why Coaching? are links to pages AND have submenus - which do not open.
If you could please provide me with information on how to position the menu in the tables as well as add menu dividers, I would greatly appreciate it!
Many thanks, |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Thu Sep 27, 2007 11:50 am Post subject: |
|
|
| You forgot to enable relative positioning - that's why tree is positioned absolutely in the top left corner. Looks like you're using the builder - check RelativePosition box in the tree's properties. |
|
| Back to top |
|
 |
ccwadsworth
Joined: 25 Sep 2007 Posts: 5 Location: Massachusetts
|
Posted: Thu Sep 27, 2007 12:25 pm Post subject: |
|
|
| AlexKunin wrote: | | You forgot to enable relative positioning - that's why tree is positioned absolutely in the top left corner. Looks like you're using the builder - check RelativePosition box in the tree's properties. |
Thank you Alex! That's what I needed!
However, The submenus under Why Jill? do not stay open when I click on the link. How do I get those menus to stay open AND go to the Why Jill? page at the same time? http://www.donaldsondynamics.com/testsite/whyjill.htm
Please advise! Thank you. |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Thu Sep 27, 2007 12:35 pm Post subject: |
|
|
| There is another option related to state persistence: SaveState. |
|
| Back to top |
|
 |
ccwadsworth
Joined: 25 Sep 2007 Posts: 5 Location: Massachusetts
|
Posted: Thu Sep 27, 2007 12:45 pm Post subject: |
|
|
Bless you! Thank you!!!
not that I want to complicate this any more, but is there any way to get a divider in between the menu items as seen here? http://www.donaldsondynamics.com/home2.htm |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Thu Sep 27, 2007 12:58 pm Post subject: |
|
|
CSS will help you:
| Code: | .clsNode {
display: block;
padding: 1ex;
border-bottom: 1px solid orange;
} |
|
|
| Back to top |
|
 |
ccwadsworth
Joined: 25 Sep 2007 Posts: 5 Location: Massachusetts
|
Posted: Thu Sep 27, 2007 1:09 pm Post subject: |
|
|
| Brilliant! Thank you!!! |
|
| Back to top |
|
 |
|