Any way to resize a tabbed_pane onLoad()?
Mike Crowe <[email protected]> Sat, 23 Jul 2005 14:47:50 -0400
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <[email protected]> |
Hi folks,
I have an application that is running on 2 different types of themes. I
would like to have the tabbed pane the width of the table it is in.
I can't see any way how to do this. I've tried setting the width of the
division, changing pwidth of the nw object, to no avail.
Here's the template:
<table id="analyze" width="100%" cellpadding="0" cellspacing="0"
border="0">
<tr><td> </td></tr>
</table>
<div style="position: relative;">
<div id="reset_pane" nwType="tabbed_pane">
{BLOCK2}
</div>
</div>
I can learn the with it can be by getting the width and resetting like this:
<script type="text/javascript">
var an = document.getElementById('analyze').clientWidth
var tp = document.getElementById('reset_pane');
tp.style.width = an;
</script>
Is there no way to do this? Can somebody please help?
TIA
Mike
_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org