[applet code="JmolApplet"
archive="JmolApplet.jar"
codebase = "jmol"
width="780" height="454"]
[param name="script" value="load'Twist30.pdb'; select all; cpk on;
move -45 0 0 0 0 0 0 0 1;
move 0 360 0 0 0 0 0 0 5;
cpk 0.40; wireframe on; wireframe 0.15;
dots off; set solvent on; dots on; color dots hotpink;"
/]
[/applet]Note that the applet is located in a subdirectory. Check it at:
www.saintmarys.edu/~pbays/Testing/MW.html
Phil
On Feb 2, 2004, at 2:56 PM, Miguel Howard wrote:
I would raise the question as to how you are doing these tests? This comes back to Miguel's comments the other day.
Tim found out that Safari allows one to load an applet if the html page,
applet, and data files are all in the same directory. If either the data
files or the JmolApplet are in other directories it raises a
SecurityException.
Also, this development style is *not* portable to other web browsers.
Therefore, I strongly recommend that you do development on a web server.
For RasMol script development, I strongly recommend using the JmolApplet.
It is a much more robust and forgiving environment than the web browser.
- open the script window
- open the Jmol Console
- develop your scripts in a myScript.txt file
- load these text files using the script window
- when you are done, deploy the same myScript.txt files to
your web application
[param name="script" value="load myScript.txt" /]
Miguel
------------------------------------------------------- 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
------------------------------------------------------- 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

