netWindows CVS update ... How does code have to be changed...

"Christian Boulanger" <[email protected]>
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <001901c35fb0$b2754ae0$0181a8c0@Laptop>
Hi,

how does the following code have to be changed to work with the CVS version?
It works well with the old version, but does not display anything with the
new one. this is in the header part of the main window. I used code from the
example page.

function envInit(){

__scripts__.endInitLoads();

__theme__.setThemeByName('blue');

// main window through inline constructors

cont = document.getElementById("container");

pObj2 = new NW_WIDGET_FACTORY_split_pane(true, "200", true, 5);

cont.appendChild(pObj2.domNode);

pObj2.fixBottomPane();

__env__.addToPageQueue(NW_urlToAbs("start.html")[2],
pObj2.pane2obj.contentNode);

__env__.addToPageQueue(NW_urlToAbs("get.php?proc=tree&param=1")[2],
pObj2.pane1obj.contentNode);

// follows a useless test window.

// help window, programmatic construction

helpWin = NW_WIDGET_FACTORY_window("Bibliograph Help", "400", "100", "200",
"200");

helpWin.toggleResize();

document.body.appendChild(helpWin.domNode);

// create tree in window

tree = document.getElementById("tree");

helpWin.contentObj.contentNode.appendChild(tree);

}

[...] BODY containing inline constructors for menu bar, container-div for
main window, tree

Thanks,

Christian

_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.