On Mon, 2 Feb 2004 13:35:16 -0500, Christopher Masi wrote > Pat, Tim, Miguel, et al, > > I am running OS X 10.2.8 with the Jag version of the Java 1.4.1 > update on a PB G3 (FireWire), aka Pismo. Here is what I have noticed > with regard to testing html by opening html files using command+o or > by dragging and dropping. > > If the applet, the pdb, and the html file are all in the same > directory, the applet lauches and the pdb file loads. > If the applet and the pdb file are in the same directory, and the > html file is in a different directory, the applet launches and the > pdb file loads. If the html file and the pdb are in the same > directory, and the applet is in a different directory, the applet > launches but the pdb file doesn't load. If the html file and the > applet are in the same directory, and the pdb file is in a different > directory, the applet launches but the pdb file doesn't load. > [snip]
The model I ended up choosing as the simplest for me was to have the html page coded with: <applet name="jmol" codebase="/jmol" code="JmolApplet" archive="JmolApplet.jar" and then put the .jar file in a sub-directory called jmol of (in httpd-speak) "DocumentRoot" and the pdb files in another sub-directory of "DocumentRoot". By leaving the .jar file in this location you can also have the pdb files and html files anywhere you want. If you don't use "DocumentRoot" (or an equivalent defined in the httpd config. file) then the pdb file needs to be in the same directory as the html file on a sub-directory of that location. Rich ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

