Has anyone tried to resize a
java plug-in on a html page? It won't resize, unlike <
Applet>.
Simple code like below does not work for me.
function resizeTree() {
var width = document.body.clientWidth;
var height = document.body.clientHeight;
document.DocumentTree.setSize(width, height);
}
...
<jsp lugin type="applet"
code="qitanalytics.gui.tree.TreeViewer"
codebase="/classes/QITAnalytics@QITAnalytics"
name="DocumentTree">
<jsp arams>
<jsp aram name="scriptable" value="true" />
<jsp aram name="mayscript" value="true" />
<jsp aram name="treedata"
value=
"<%=tree.write(location)%>"
/>
</jsp arams>
<jsp:fallback>
<p>unable to start plugin </p>
</jsp:fallback>
</jsp lugin>
Suggestions anyone?
Thanks
P.S. sorry for stupid faces, they replaced ":" + "p"
[ March 28, 2002: Message edited by: Gennady Shapiro ]