Michael, applets are resizable on web pages. I don't know why this does
not work for Opera, but since you are using IE, it should be no problem.
Jmol gets the resize info and responds appropriately. In Opera, it looks
like Jmol gets the resize info, then immediately gets a request from the
browser to set its size to the original value.
>
> I usually re-calc my plots if the window is re-sized. I did not want
> to risk changing the Jmol applet size on the fly. Can this parameter
> be changed later as a command ? or should the full script be modified?
document.getElementById("jmolApplet0").width = 400
document.getElementById("jmolApplet0").height = 300
should work in IE and Mozilla; doesn't work in Opera for some reason.
Bob
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers