Thanks for your reply!

If i change to JSMol – would I expect any troubles with local file-access?

Thanks,
Klaus


Von: Robert Hanson [mailto:hans...@stolaf.edu] 
Gesendet: Samstag, 19. Oktober 2013 22:30
An: Jmol Developers
Betreff: Re: [Jmol-developers] JMOL and local datapath not working any more

These are the sorts of changes we are seeing. Yes, by all means go to JSmol. 
You will love it.

On Sat, Oct 19, 2013 at 11:12 AM, <kl...@kulnigg.at> wrote:
I had discussed my problem in the JMOL User Forum for a couple of days, but i 
got no solution for my problem, so I try this again here in the developer forum.
Perhaps somebody can help me:

Dear JMOL Community!

I have written a Chemistry Book in HTML Format for the high school and I have 
written a lot of HTML files with a lot of 3D Molecule Animations using CHIME.
This is a HTML-Only book with 3-D Molecules and some flash animations and 
should run from local disk only.

A while ago, I changed from CHIME-Plugin  to JMOL und it looks very good.


For about a week, I did an JAVA Update on my Laptop  (Java Ver. 7 update 40) 
and the troubles started:

3-D molecules do not open.
After a time of testing: I realized, i had to use signed applet instead of 
normal applets.
But the bigger problem is, that the relative path in the LoadCommand did not 
work anymore:
Example:

<html>
  <head>
    <title>Simple example</title>
    <script src="Jmol.js"></script>
  </head>
  <body>
    <script>
      jmolInitialize(".", true);
      jmolApplet(500, "load 1.mol");
    </script>
  </body>
</html>
All files (applet, molfile, html)are in the same directory!

Gives me an Load Error in the applet:

Java.io.FileNotFoundExecption: c:\User\kk\Desktop\1.mol  not found
If I place the mol.file on my desktop, than the 3-d model opens.
If I return to Java RTE 7.25 (or earlier) , than the local path is working 
correct.

I have no java knowhow, but what is wrong???

Should I change to JSmol ? Or do I running in problem, because I am using local 
files?

I want only display 3-D Models in a locally stored HTML Page, no Checkboxes, 
very simple. What I have understood is, that the JSmol Version do not need 
anymore JAVA Runtime. It only use JAVA Scripts, and so it should work also on 
Android and/or iOS ?? In the moment I use my Chemistrybook only under Windows.


Thanks for any help!

Klaus



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get. 

-- Josiah Willard Gibbs, Lecture XXX,


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to