Robert Zeigler wrote:

2) Also as mentioned by Miguel, stick everything in the same directory.

If you are like me, the idea of setting up a local web server is a bit of an overkill here. It's just the .jar and .mol files that need to be related.


The rule is just this for local operation:

.jar needs to be in the same or one of the parent directories of the .mol file.

Thus, .js and .html can be anywhere.

From an organizational point of view, it seems to make sense to use:

  jmol/ contains the applet js and jar files

  samples/whatever1/  contains html, image, and mol files
  samples/whatever2/  contains html, image, and mol files
  samples/whatever3/  contains html, image, and mol files

But this does not work for "local application" of the applet.
So, perhaps if you really want to use a local platform without a personal web server, you should set your system up as follows:


  jmol/         contains the applet js and jar files
  jmol/models   contains mol files

  samples/whatever1/  contains html and image files
  samples/whatever2/  contains html and image files
  samples/whatever3/  contains html and image files

Something like that.

Bob Hanson

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein


------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to