On Sun, Feb 24, 2013 at 2:01 PM, Fred Ziegler <frederick.zieg...@yale.edu>wrote:
> JSmol community:
>
> I have used Jmol at http://classes.yale.edu/chem220. I am not a
> programmer but I am getting my feet wet with JSmol. I was able to get the
> following script to display a rotating cyclohexane with all files in the
> main directory. Since my website has number of subdirectories, I moved
> FEZtest5.html to a subdirectory to see if it would work and made three
> "logical" changes. I used ../ before everything marked in red below. No
> luck. I call upon the pros for guidance. One other thing. The command
> loop 0 works great in Jmol; there is no end to the motion. All I get with
> JSmol is one pass and motion stops. Thanks for any assistance. Fred
> Ziegler
>
>
LOOP -- ah, I have to admit I think I forgot to check that. It's working
now. See http://chemapps.stolaf.edu/jmol/jsmol.zip
directories: I just tried this myself. It works fine at
http://chemapps.stolaf.edu/jmol/jsmol/test/jsmol.htm HOWEVER it does not
work on my hard drive. So I suspect that the AJAX file loading business is
not allowed to use "../" on a local machine -- a reasonable limitation, I
think.
Bob
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users