> Here is what I have observed for the Jmol applet running in a local
> file:/// directory. This only happens on my home PC, running Java
> 1.4.1_02, not my laptop or office machine (all Windows):
>
> The model file (or, for that matter, any file accessed with "show file")
> must be in either the directory containing JmolApplet.jar or a
> subdirectory of that directory.
>
> Rich, I would try that again just be absolutely sure when you put all
> the files in the same directory and use "./" for your codebase that it
> really doesn't work.

Thanks Bob. I revisited it this morning and you are correct; I found that
this configuration does work using file:// access:

[the default user directory on OSX is ~/Sites/]

put Jmol.js and JmolApplet.jar and the molecule file in ~/Sites
use <script src="./Jmol.js"></script> and jmolInitialize("./");

then everything works.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to