Note there is no automatic switch. Just not possible to detect Java any more.
1. The page source may by default activate either Java or HTML5 formats. 2. If the URL has the special switch, it will override what the page source has. (I haven't experimented with this switch yet, implemented in Jmol 14) 3. You may add in your page source some javascript that detects e.g. the userAgent string and acts accordingly in setting the default variant. This I have done in a couple of pages. It is not fully foolproof since it relies of the userAgent. You may try to target Android and iOS devices. 4. In addition, you can add 2 links or buttons in your page that will reload with either option, Java or HTML5, per user choice. In that way no one will be cornered into a version that does not work in their system. It is also possible without page reload, reinjecting the Jmol object code into its container. Sorry I cannot be more explanative now. Too many things to do before the holidays! Henry, I will be happy to work along with you if you need help on this, at some later dates. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users