From: Richard :o <ma...@ri...> - 2000-12-11 13:29:24
|
hi, < But it seems that dynAPI overload the normal method of referencing and = modifying an object..=20 Not AFAIK, just do:=20 document.all.myTreeNodeImg.src=3D"images/node.gif" See a tree test I made some time ago, it' doesn't use DynAPI, and isn't = very good, but might give you some ideas: http://wong.richardinfo.com (this is of course not xbrowser, just = because we reference the div's/img's directly) I've made a low memory one in DynAPI as well, but it's not on the net = yet, I used one dynlayer, and wrote=20 hyperlinks to it in a loop, with a + in front where necessary, which = performed the loop again when clicked. It's not=20 very visually appealing, but gets the job done.=20 This is another treeview you can check out: http://www.treemenu.com/index.shtml?general/why-mine.shtml good luck Richard:) ----- Original Message -----=20 From: Doug Melvin=20 To: dynapi-help=20 Sent: Monday, December 11, 2000 3:12 AM Subject: [Dynapi-Help] ARG!!! or: Gotta little problem with a div... Okay then, AS you may recall, I have been messing around with trees.. Now, since the skintree node was Way slow (and caused a 10 meg memory = leak after 4 reloads in IE) I had to find anothewr, now I have. The main = problem with the one I am using, is that the entire tree is built in = memory and THEN the induvidual divs (yes it used plain divs) are written = out and rendered.. This is all fine and dandy, I figure I'll just load a 'splash' screen = into a loadpanel and distract the user while the tree is rendered.. Now = I have just one problem, I need to=20 be able to put the HTML that makes the tree up into a div (mainDIV).. How do I do that? if I wasn't using dynAPI (I'm using it for the = loadpanel and scroll) I wuold do it normally, But it seems that dynAPI overload the normal method of referencing and = modifying an object..=20 Well, to cut an already way too long message a bit short.. How do I reference and modify a 'normal' DIV throught the DynAPI? Doug Melvin |