hi,
Check under "examples" for "Richard_Examples", there's a tree example
marked
"Richard_fast_tree_example_500.htm" , which uses only about 24 layers to
display 500+ nodes,
as opposed to 1000+ layers. It's not quite finished yet, and I hope to
include some doc's still,
but you can use the example to test if ram usage will be ok, and download it
if necessary from the
"download" section.
Cheers,
Richard :o
www.richardinfo.com
(ie tested only 'cause ns won't run anymore at the moment)
(All are ported to the latest snapshot of DynAPI2.)
----- Original Message -----
From: "Ivo Stefanov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 21, 2000 5:46 AM
Subject: Re: [Dynapi-Help] HELP !!!
> That is exactly the problem !!!
>
> Any sugestions anyone !!! Please
>
>
> >From: "Doug Melvin" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: Re: [Dynapi-Help] HELP !!!
> >Date: Wed, 20 Dec 2000 19:21:08 -0800
> >
> >If you are using Intenet Exploder- uh Explorer, then you may have a
> >problem.
> >I too have found that the tree widget eats a LOT of ram..
> >It seems that IE has a real problem with nested layers..
> >and the way the tree widget is built is ALL wrong..
> >
> >Example.
> >
> ><ROOT>
> > <BRANCH1>
> > <LEAF1>
> > <Sub LEAF 1>
> > ect...
> > </Sub LEAF 1>
> > <Sub LEAF 1>
> > ect...
> > </Sub LEAF 1>
> > <Sub LEAF 1>
> > ect...
> > </Sub LEAF 1>
> > </LEAF1>
> > </BRANCH1>
> >
> > <BRANCH1>
> > <LEAF1>
> > </LEAF1>
> > </BRANCH1>
> >
> > <BRANCH1>
> > <LEAF1>
> > </LEAF1>
> > </BRANCH1>
> >
> ></ROOT>
> >
> >The result is that you have one layer containing X layer where X is the
> >number of root branches.
> >Each Root branch hold Y layers where Y is the number of Leafs for that
> >branch and so on..
> >
> >I found that When I implemented the tree on my clients site (demo copy of
> >course)
> >Each load was taking 2 or more megs of ram. This is unacceptable.
> >
> >(at 40 megs IE acts REAL wonkey)
> >
> >----- Original Message -----
> >From: "Ivo Stefanov" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Wednesday, December 20, 2000 3:39 PM
> >Subject: [Dynapi-Help] HELP !!!
> >
> >
> > > Well I have tryed it all... DeleteAllChildren, RemoveFromParent and
> > > everithing else but when I create a tree widget and thenm go to
another
> >page
> > > the vertual memory used by the browser increases...
> > >
> > > if I keep doing that the memory usage keeps increasing...
> > >
> > > this is what I am doing
> > >
> > > onUnload=function() {
> > > var i = DynAPI.document.children.length-1
> > > for (var ix=i; ix==0; ix--)
DynAPI.document.children[ix].removeChild()
> > > }
> > >
> > > or this
> > >
> > > DynAPI.Unload=function() {
> > > this.document.deleteAllChildren()
> > > }
> > >
> > > but it does not do it !!! Help !!!
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com
> > >
> > >
> > > _______________________________________________
> > > Dynapi-Help mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/mailman/listinfo/dynapi-help
> >
> >
> >_______________________________________________
> >Dynapi-Help mailing list
> >[EMAIL PROTECTED]
> >http://lists.sourceforge.net/mailman/listinfo/dynapi-help
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-help
> ____________________________________________________________
> Get your free domain name and domain-based e-mail from
> Namezero.com. New! Namezero Plus domains now available.
> Find out more at: http://www.namezero.com
>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help