Thanks for the help.  I can now view the jmol applet on my desktop.

Mithra

----- Original Message ----- From: "Herraez Sanchez Angel" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 23, 2005 10:33 AM
Subject: RE: [Jmol-users] Jmol initiation problem



Following Miguel's post:
To run locally without a web server (using file:///.......) you *must* put
*all* of your files in the same directory. This includes the
JmolApplet.jar file. So your [applet] tag must say
 codebase="."

Things wll work in local mode if the applet is in the *same* folder, as Miguel points out, but also if the applet is *above* the molecule file in the file tree.
(In the example cited, the applet was in a sibling folder with respect to the molecule, that's the cause of the error.)
So, you can also have codebase=".." or even codebase="../.."
I like to have several folders for my models and pages, so my solution is to put the applet file in the root of the site.





------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to