On Wed, Jan 21, 2015 at 10:24 AM, C Anthony Lewis <cale...@plymouth.ac.uk>
wrote:
> Hi Otis and Angel,
>
>
>
> My intention is to run everything without recourse to an internet
> connection (i.e. just on the computer in front of which the user is
> sitting) and to provide a cut down version with just JSmol.min.js and the
> files in j2s folder to each student. I’ve been working with a folder (let’s
> call it JSmol-CHM1004) in which are JSmol.min.js, the j2s folder, a folder
> for molecular files (called molecules) and the HTML files created.
>
>
Don't forget that browsers running locally may not allow local file access.
http://wiki.jmol.org/index.php/Troubleshooting/Local_Files
>
> Even with the suggestion of using "jsmol/j2s" rather than "./j2s" I cannot
> get it to work. As Angel has surmised, I’m not sure it’s necessary to use
> the former but the latter doesn’t work either and neither does just “j2s”.
>
>
The point is that that needs to point to the j2s directory, wherever it is,
relative to the web page.
>
>
> Also using a student access computer, I have had problems loading
> http://chemapps.stolaf.edu/jmol/jsmol/test2.htm and there appears to be a
> Java issue again.
>
There is no Java at that link.
>
>
> These problems all arise using IE, which is the default browser. I could
> use Chrome but then I run into the issues answered on Monday, which I think
> I’d rather try to avoid. So far as I’m aware, no other browsers are
> available on our network and, of course, we can’t install things.
>
>
>
>
> I have put a Word file, with screen shots of various stages of first
> loading a local file (as I’ve defined it) and the test2 file, up at
> http://www.research.plymouth.ac.uk/pegg/staff/lewis_ca/testing/JSmol
> tests.docx in case this helps at all. I’ve also made available a zip file
> with my set-up at
> http://www.research.plymouth.ac.uk/pegg/staff/lewis_ca/testing/JSmol-CHM1004.zip
> (N.B. I know the j2sPath is set slightly differently in the various files).
>
>
These clues are the key. What version of MSIE is running? It looks to me
like Jmol is switching to Java because it cannot find HTML5.
as though you were using
http://chemapps.stolaf.edu/jmol/jsmol/test2.htm?_USE=SIGNED
and not just
http://chemapps.stolaf.edu/jmol/jsmol/test2.htm
All this is working fine on my browser, including MSIE. (Windows 8)
Looking at my code, I do not see how MSIE is switching to Java, either
locally or at chemapps. Solve this mystery, and your problem will be solved.
note: Jmol.jmolButton(molecule01,"select *;isosurface
delete","Surfaces off");
could be:
Jmol.jmolButton(molecule01,"select *;isosurface
off","Surfaces off");
Jmol.jmolButton(molecule01,"select *;isosurface
on","Surfaces on");
Bob
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users