Ciao Adriano Some quick replies yo guide you:
> java-independent version. What I find really interesting though is what > it > says in this test2.htm page about the automatic choice of code upon > browser capabilities. Did I get that right? This would be a gem if I > could > convert to it all the pages in my site. That's an old story. There is no longer a reliable system to detect if Java is installed AND enabled, and in fact it seems lately that Java applets will be totally blocked in the near future, unless they are built with a certificate that costs money. Therefore the automatic switch to one modality or another is not going to work. You either switch completely to HTML5-JSmol (see below) or you ust rely on some decisions. What I have been doing lately is 1. detect if the user is on one of the common mobile platforms, then switch the page by default to JSmol mode. Otherwise (assuming it's a computer), default to Java Jmol. 2. Provide 2 links or buttons in the page so the user can switch manually to either modality. See for an example http://biomodel.uah.es/en/scale/ > I have seen the jmol2.js script and comments and instructions as to how > convert already existing pages, but as far as I understand it, once they > are > converted java is not needed/used anymore. You can still configure the Jmol2.js-enabled page to use either Java Jmol or html5 JSmol, just by adjusting a javascript variable. > Would that impact on basic > jmol functionality and if so how heavily? Not on functionalty, since JSmol shares the full capabilities of Jmol (or nearly so). But there is a penalty in speed for some tasks or features and for large molecules, where the browser javascript engine has not (yet) reached Java efficiency. > Would it be possible to easily > convert pages to an automatic choice depending on the browser as it is > said > in the test2.htm comments? As I said, not fully automatically, and not a reliably automatic choice. Must resort to manual in my opinion. ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

