Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Rolf Huehne
Am 12.12.2013 22:06, schrieb Robert Hanson: > > This leads to related questions. > > In the 'Jena3D Viewer' you can request specifically Jmol or JSmol. > And this decision is also inherited by subsequent viewer openings from > the current viewer or from a QuickSearch result from within

Re: [Jmol-users] Jmol14 scripts

2013-12-12 Thread Robert Hanson
OK, this should all be fixed. http://chemapps.stolaf.edu/jmol/zip/jmol-14.1.1_2013.12.12.zip Latest fun: http://chemapps.stolaf.edu/jmol/jsmol/images.htm On Thu, Dec 12, 2013 at 10:28 AM, Robert Hanson wrote: > specifally cartoons...hmm... > > > On Thu, Dec 12, 2013 at 9:47 AM, Otis Rothen

Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread sw
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

Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Robert Hanson
This leads to related questions. > In the 'Jena3D Viewer' you can request specifically Jmol or JSmol. > And this decision is also inherited by subsequent viewer openings from > the current viewer or from a QuickSearch result from within the viewer. > > Q: How should this be handled regarding the

Re: [Jmol-users] PHP server

2013-12-12 Thread Robert Hanson
Wow, Chuck! That's really JavaScript, huh? I actually had to look behind the scenes to believe it! We've come a long way in a year! Surfaces can be slow to create -- if you get interested in that, let me show you how JVXL works. Much much faster than creating the surface from scratch every time.

Re: [Jmol-users] PHP server

2013-12-12 Thread Charles Gasser
>> Finally am I wrong? Can scripts be done without making use of the PHP >> code? >> >> >That php piece will be called if you request a binary format file (gz, zip, >pse, etc.) from Safari, Chrome, or MSIE. Those browsers can't transfer that >sort of file directly; they need a server-side piece. B

Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Rolf Huehne
On 12/12/2013 05:19 PM, Robert Hanson wrote: > It's still there. Should work. RCSB uses this. Proteopedia, I think. > > I can check that. It all depends upon the result of > > Jmol.featureDetection.supportsJava() > > which depends upon > > navigator.javaEnabled() > > Apparently that device reports

Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Jaime Prilusky
On Dec 12, 2013, at 6:19 PM, Robert Hanson 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'

Re: [Jmol-users] Jmol14 scripts

2013-12-12 Thread Robert Hanson
specifally cartoons...hmm... On Thu, Dec 12, 2013 at 9:47 AM, Otis Rothenberger wrote: > Bob and Phil, > > I'm seeing the same thing with pdb files on the ISU server. Load 1smd > results in colors all over the screen. > > Otis > > -- > Otis Rothenberger > o...@chemagic.com > http://chemagic.com

Re: [Jmol-users] Jmol14 scripts

2013-12-12 Thread Robert Hanson
I guess that's my job today, then On Thu, Dec 12, 2013 at 9:11 AM, wrote: > > This msCIF stuff is excellent. > > However, the scaling and vibration dont seem to be working in > the jsmol version? > > Cheers > > Simon > > Quoting Robert Hanson : > > > some major improvements on the code. See

Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Robert Hanson
It's still there. Should work. RCSB uses this. Proteopedia, I think. I can check that. It all depends upon the result of Jmol.featureDetection.supportsJava() which depends upon navigator.javaEnabled() Apparently that device reports TRUE for this message. You have just spaces between JAVA and

Re: [Jmol-users] Mousewheel zoom reversed in Chrome JSmol versus Jmol 14.0.1

2013-12-12 Thread Robert Hanson
incredible! On Thu, Dec 12, 2013 at 9:23 AM, Rolf Huehne wrote: > Hi all, > > I just noticed that the mousewheel zoom is reversed in JSmol versus Jmol > (Version 14.0.1 and 14.1.1) in Chromium 30 on Linux and Chrome 32 on WinXP: >wheel-up wheel-down > --

Re: [Jmol-users] JSmol HTML5 code : remaining

2013-12-12 Thread Robert Hanson
In JSmolCore.js it reads: if (isHeader) { ... s = "\ ...IMG\ .."; ... } else { s = "\ ..\ ..\ ..\ .[x]\ .\ ..\ ..."; Pretty sure those are all balanced. Bob On Thu, Dec 12, 2013 at 10:04 AM, Robert Hanson wrote: > should be a first half o

Re: [Jmol-users] JSmol HTML5 code : remaining

2013-12-12 Thread Robert Hanson
should be a first half of that as well. That's the footer. On Wed, Dec 11, 2013 at 11:59 PM, Paul Pillot < paul.pil...@ac-orleans-tours.fr> wrote: > Hi, > trying to debug one of my webpages that doesn’t display the HTML5 Jmol > (without throwing any error) but that does display the Java version,

Re: [Jmol-users] Jmol14 scripts

2013-12-12 Thread Otis Rothenberger
Bob and Phil, I'm seeing the same thing with pdb files on the ISU server. Load 1smd results in colors all over the screen. Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com On Dec 12, 2013, at 6:27 AM, Philip Bays wrote: > Bob: > > In this release, testing jsmol here and at

[Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Rolf Huehne
Hi all, I thought that there would be still an automatic switch from Java to HTML5 on platforms that don't offer Java at all like 'iPad' (Info setting = 'use: "JAVA HTML5"'). Q: Is this no longer true for Jmol 14.0.1? After the upgrade of the 'Jena3D Viewer' (http://jena3d.fli-leibniz.d

[Jmol-users] Mousewheel zoom reversed in Chrome JSmol versus Jmol 14.0.1

2013-12-12 Thread Rolf Huehne
Hi all, I just noticed that the mousewheel zoom is reversed in JSmol versus Jmol (Version 14.0.1 and 14.1.1) in Chromium 30 on Linux and Chrome 32 on WinXP: wheel-up wheel-down -- Jmol shrink enlarge JSmol enlargeshrink In Firefox it is the same

Re: [Jmol-users] Jmol14 scripts

2013-12-12 Thread sw
This msCIF stuff is excellent. However, the scaling and vibration dont seem to be working in the jsmol version? Cheers Simon Quoting Robert Hanson : > some major improvements on the code. See > http://chemapps.stolaf.edu/jmol/zip/jmol-14.1.1_2013.12.11b.zip and > http://chemapps.stolaf.edu/jm

Re: [Jmol-users] Jmol14 scripts

2013-12-12 Thread Philip Bays
Bob: In this release, testing jsmol here and at your site, 1blu and 1d66 are goofy. The colors are all over the screen. On Dec 12, 2013, at 12:35 AM, Robert Hanson wrote: > some major improvements on the code. See > http://chemapps.stolaf.edu/jmol/zip/jmol-14.1.1_2013.12.11b.zip and > http

[Jmol-users] Mavericks Local Server

2013-12-12 Thread Philip Bays
This is primarily addressed to newer jmol Mac users. For a long time Apple provided a "web Sharing" option in the Sharing control panel. That disappeared a couple of OSX iterations ago. This allowed you to use the Sites directory in your home account as a local network server. This is handy