Hi--

I know I'm probably gonna get flamed for this, as I'm doing something explicitly "unsupported", but here goes... :-)

I'm modifying the Dynacore treenode to create a series of nested search results (everything else is DynAPI 2.53). I've got a base layer that contains the main search result "folders" (had to do this cuz all the tree widgets out there have a top level folder, and I needed multiple top levels). My search script (in another frame) returns the search results as objects, which are used to create the layers for my top level folders as children of the base layer. When you click on one of the folders, the script checks to see if that node has any children. If so, it expands and displays them; if not, it hits the search frame with query params. The search returns another set of objects, which are used to create more layers as children of the requesting layer and expands them. This all works fine cross-platform.

I need to put this in a scrollpane. So I create my base layer, create the scrollpane with the base layer as it's content, add children to the base layer, etc. All works just fine.

Here's the problem:

When I scroll down so that the top of my base layer is no longer visible, then click on a node that has not been populated (thus triggering the search and adding children to the node that I clicked on and making the visible portion of the baselayer content larger), the z index (I assume) of the base layer moves to the top and what should be hidden is now visible. The children are added just fine, and the y coordinates of all the visible nodes of the base layer stay put. Right after the top moves up, the scrollpane/viewport repositions itself to align with the new y coordinate of the baselayer, thus hidiing half the scrollbar.

Anybody seen this before? It works like a charm in IE for PC, and the NS problem is both PC and Mac (these are the only platforms I have to worry about). I'll try to come up with a place that I can put my example if anyone's interested. I would truly appreciate any ideas that anyone has, as I've wrestled with it for a few days now.

Thanks to all in advance. Love the work that everyone has put into this and look forward to some free time to try to "give back" some widgets.

Dan Thom

 

 



Get your FREE download of MSN Explorer at http://explorer.msn.com

_______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to