ted_thompson61
08-02-2005, 04:46 PM
Smart Folding Menu Tree Script
http://www.dynamicdrive.com/dynamicindex1/navigate1.htm
---------------------------------------------------------------
I have been using this script for some time in IE 6 and it works great.
I used relative positioning to make the list bullets and image I selected line up underneath the text above as follows:
#foldinglist{list-style-image:url(list.gif);position:relative; left: -15 px}
And to get the folding menu to line up with other text in the table of contents, I used the <DIV> command:
<div style = "position:relative; right: 25px"
<ul>
...
SMART FOLDING TREE SCRIPT ...
...
</ul>
</div>
This all works fine under IE6, but I have problems on another computer using Mozilla. Mozilla seems to interpret the <DIV> differently than IE. Is updated logic needed in the script to work properly for Mozilla?
If I have the folding menu aligned properly to work for IE6, on Mozilla it shows up far to the left of the screen. If I configure it using the <DIV> for Mozilla, then the menu shows up too far to the right in IE6.
This has already gone out on several web pages and I need a fix badly.
--Ted
http://www.dynamicdrive.com/dynamicindex1/navigate1.htm
---------------------------------------------------------------
I have been using this script for some time in IE 6 and it works great.
I used relative positioning to make the list bullets and image I selected line up underneath the text above as follows:
#foldinglist{list-style-image:url(list.gif);position:relative; left: -15 px}
And to get the folding menu to line up with other text in the table of contents, I used the <DIV> command:
<div style = "position:relative; right: 25px"
<ul>
...
SMART FOLDING TREE SCRIPT ...
...
</ul>
</div>
This all works fine under IE6, but I have problems on another computer using Mozilla. Mozilla seems to interpret the <DIV> differently than IE. Is updated logic needed in the script to work properly for Mozilla?
If I have the folding menu aligned properly to work for IE6, on Mozilla it shows up far to the left of the screen. If I configure it using the <DIV> for Mozilla, then the menu shows up too far to the right in IE6.
This has already gone out on several web pages and I need a fix badly.
--Ted