On 03/25/2013 02:03 PM, Robert Hanson wrote: > User: Really it's simpler than that. If the logo is Jmol, it's java; if > it's JSmol, it's HTML5. We don't have labels in JSmol/WebGL, so if there's > no logo, it's WebGL. That's all. > But this won't help with 'frank off'.
> Programmer: Just look at > > <appletName>._jmolType > > This reads one of these four values: > > "Jmol._Canvas2D (JSmol)" > "Jmol._Canvas3D (JSmol)" > "Jmol._Applet" > "Jmol._Applet (signed)" > > In the case where you are allowing alternatives (which we can argue is not > a good idea anymore because of the way browsers are blocking Java in > different, undetectable, ways), the getApplet function has a third > parameter "checkOnly" that returns an "applet" but just fills in this > _jmolType variable so that you can see what it would be IF you created the > applet. > This covers Javascript. But what about Jmolscript? You could run the Javascript command from within Jmol but this might require additional knowledge about the specific page (e.g. <appletName>) or Javascript might not be available because the application is running. Regards, Rolf -- Rolf Huehne Postdoc Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI) Beutenbergstrasse 11 07745 Jena, Germany Phone: +49 3641 65 6205 Fax: +49 3641 65 6210 E-Mail: rhue...@fli-leibniz.de Website: http://www.fli-leibniz.de Scientific Director: Prof. Dr. K. Lenhard Rudolph Head of Administration: Dr. Daniele Barthel Chairman of Board of Trustees: Dennys Klein VAT No: DE 153 925 464 Register of Associations: No. 230296, Amtsgericht Jena Tax Number: 162/141/08228 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers