PDA

View Full Version : Smart Folding Menu tree- and tables



hotschi
10-06-2004, 01:42 PM
Hi

I want the "Smart Folding Menu tree"-Script to show tables in place of hyperlinks. Like that:


<ul id="foldinglist" style="display:none" style=&{head};>
<li><table><tr><td>1.</td><td>Eins</td></tr></table></li>
<li><table><tr><td>2.</td><td>Zwei</td></tr></table></li>
<li><table><tr><td>3.</td><td>Drei</td></tr></table></li>
</ul>

The problem is, that the folder-icons are displayed as closed after reload the page, though the tree is always displayed correct, even if I reload the page.

All folder-icons will be displayed as closed as soon I use "table"-tags in the html-code.

May anybody help me?

Regards
CH

ddadmin
10-06-2004, 07:53 PM
Do you have an online example of the problem?

hotschi
10-09-2004, 11:16 AM
Tanks for your reply!

I´ve just made an online-example to demonstrate you my problem.

Here´s the (working) version without the table-tags:
http://www.hotschi.de/tlp/index.php

And here´s the version, with the table-tags:
http://www.hotschi.de/tlp/index2.php

Regards,
CH

hotschi
10-09-2004, 09:39 PM
I notoce, that this problem even appears with i- or br-tags.

Is it possible, that it has something to to with


var foldercontent=ns6? cur.nextSibling.nextSibling : cur.all.tags("UL")[0]

?