Just for info, I've found JAVA detection can not be relied upon
as even if the browser reports that JAVA is present, it may not  
actually be enabled (browser blocks it).
I used to work around this by trying to run a simple jmolscript on a
timeout after I'd initialized the jmol applet and 'catching' the error.
This was fairly reliable, though depending on timing I could  
needlessly switch to HTML5 even though JAVA was present...
Currently I use mobile detection client-side (detectmobilebrowser.js)  
to choose a default (HTML5 or JAVA), and if all goes wrong, I've  
modified the
'yellow box' with a link to a function that re-initializes Jmol with HTML5...

None of this is perfect so I'd be interested to hear any other ideas  
on how to handle this sort of thing...

Cheers

Simon


Quoting Jaime  Prilusky <[email protected]>:

> On Dec 12, 2013, at 6:19 PM, Robert Hanson <[email protected]> wrote:
>> It's still there. Should work. RCSB uses this. Proteopedia, I think.
>
> On Proteopedia we use MobileDetect.php ( http://mobiledetect.net )  
> to send back to the user a proper configuration based on the platform.
>
> It seems that checking for Java can't go undetected and it generates  
> the "java disabled" yellow applet report.
>
> Jaim
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to