contentNode of inline c'tor widgets / split panes again
[email protected] Wed, 17 Sep 2003 09:18:00 +0200 (MEST)
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am having this question concerning inline-constructed split panes, but I
think there must be a general answer:
how can I address the contentNode of widgets constructed inline? I tried
with a id attribute of the split panes and getElementById, but this did not seem
to work.
I also noticed that the full screen split pane widget test page in CVS works
with both IE and Moz (except that in Moz you cannot shift the separator to
the _left_), while my programmatically constructed split pane does not, as I
have reported, work with IE. That is strange. Maybe _my_ code _is_ wrong:
// split pane, does not work with IE
cont = document.getElementById("container");
splitwin = new NW_WIDGET_FACTORY_split_pane(true, "200", true, 10);
cont.appendChild(splitwin.domNode);
left_pane = splitwin.pane1obj.contentNode;
right_pane = splitwin.pane2obj.contentNode;
left_pane.style.height = "473px";
right_pane.style.height = "473px";
I tried to replace this code with the inline c'tors, which worked, but then
I faced the problem described above....
CB.
--
+++ GMX - die erste Adresse für Mail, Message, More! +++
Getestet von Stiftung Warentest: GMX FreeMail (GUT), GMX ProMail (GUT)
(Heft 9/03 - 23 e-mail-Tarife: 6 gut, 12 befriedigend, 5 ausreichend)
Jetzt selbst kostenlos testen: http://www.gmx.net
_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org