Re: HTML_TreeMenu for huge trees?
| From: | Bertrand Mansion | Date: | Fri, 02 Jan 2004 13:01:02 +0000 |
| Subject: | Re: HTML_TreeMenu for huge trees? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9910@lists.php.net to get a copy of this message | ||
<info@emre.de> wrote :
> Hi,
>
> is anyone out there using the PEAR HTML_TreeMenu class for 'huge'
> trees?
>
> After reading some docs on TreeMenu and Tree I saw that the proposed
> way of dealing with huge trees is 'Dynamic_DBnested' when it comes
> to the Tree class.
>
> In how far can I use this particular tree structure with HTML_TreeMenu?
>
> Putting thousands of lines of Javascript code for the nodes does somewhat no
> scale. I´d appreciate any link/hint/example on how to make this more scalable.
>
> Thanks!
HTML_TreeMenu create a javascript object for every nodes so that can end up
crashing your browser if you have a lot of nodes.
I suggest you look for another lighter solution, using <div> and css.
Bertrand Mansion
Mamasam