klaus consider switching to JSmol instea, based o jmol, javascript and html5. 
java is too much of trouble now. and if u must migrate jsmol is simply 
great.http://pinostriccoli.altervista.orgpino




----Messaggio originale----

Da: k.kuln...@datamed.at

Data: 08/10/2013 14.24

A: "jmol-users@lists.sourceforge.net"<jmol-users@lists.sourceforge.net>

Ogg: [Jmol-users] JMOL and local Data-Path not working




@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}

p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
->@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}

p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
->





-->


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. A 
while ago, I change now CHIME 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:
 
Nothing works anymore.
After a time of testing: 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.
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 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.
 
I have no java knowhow, but what is wrong???
 
Should I change to JSmol ? 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 Androind 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=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to