A quick case insensitive search in Jmol.js for 'resize' gives function
jmolResize(width, height); . I've just tested it, it works great.
For example, try this in your page:

        <form><input type="button" value="Resize" onclick="jmolResize(100,
100);"></form>

Best,

Dave



2009/6/13 Thomas Stout <[email protected]>

> It'd be neat if it could be tied to the size of the bounding box of the
> loading molecule...
>
> -Tom
>
>
> On Jun 12, 2009, at 3:45 PM, "Greeves, Nick" <[email protected]>
> wrote:
>
> While displaying polymer chains, we have been wondering if it is possible
> to change the shape and size of the applet as a new structure loads?
> So for example, starting with a horizontal letterbox shape which becomes a
> traditional square as a subsequent view loads.
> I have used the resizable window feature before but this only changes when
> the window is resized. Can the applet shape be controlled by a button or
> link?
>
> All the best
> Nick
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
>
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 

- N David Brown
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to