On 13 Jun 2009 at 13:12, N David Brown wrote:
> Forgive me for nitpicking (I'm a computer scientist, not a chemist!) - why 
> not improve 
> consistency by making the w, h arguments be passed and interpreted in the 
> exact same way as 
> in function jmolApplet(size, ...)? 

As I said, this jmolResize() is a bit odd. I guess (1) is it old and predates 
the functionality in 
jmolApplet() regarding size in percent. (2) it was a quick implementation by 
Bob, it seems 
related to the resizable popup window feature.

> i.e. a two-member array which also allows percentage dimension 
> specification in the form "50%", "25%" etc. 

That can probably be done and not difficult. I was just doing the easy fast fix.

> It seems logical to me to pass the size argument 
> directly from jmolApplet(..) to jmolResize(..), but perhaps there are related 
> issues of which I'm 
> unaware.

I don't get your point fully. JmolApplet() inserts an applet, and you can pass 
any size. We 
can probably make jmolResize() work with the same syntax, but I dn't understand 
"pass 
directly from". Can you clarify?




------------------------------------------------------------------------------
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