But this doesn't happen with other jmol pages, so I am guessing that there is something specific to the way this page is set up that causes this problem. I don't know what it is though.
The applets on the demo pages (http://jmol.sourceforge.net/demo/) aren't named and Henry's is. But I don't think that is the problem because have the applets on my pages (http://www.wsc.ma.edu/cmasi/biochem/2ndary_struct/2ndary_struct.html) are all named, and even if I specify the target with jmolSetTarget, I still get the normal expected behavior.
Chris
On Feb 18, 2005, at 12:27 PM, Bob Hanson wrote:
> Could you also try http://www.ch.ic.ac.uk/rzepa/talks/sanibel05/3.html
Henry, the page shows and the buttons seem to work for me using NN7.2/Windows
However, I DO note something totally bizarre that maybe someone can explain.
Using NN7.2/Windows XP:
a. Open that page. b. Open the page again, in another window. c. Click a button on that second page.
Hmm. Nothing happened. Wait! Look at the other page. The button on page (b) runs the script on the applet on page (a). Holy cow! What, is there one instance, and all the buttons are driving it? When the second page loads, do the buttons get tied to the first applet because of same target names?
general comments:
What I was trying to do was compare. I probably don't really understand what the page is for -- what the context is, but clicking first 1, then 2, then 1 again seems to produce very odd results. Oh, I think that's because sometimes I am clicking the button "off" and sometimes "on". OK, I think I get it....
Also, I would recommend using some rotations to get the various loads to have the same rotation as the first one. Every load seems to reorient the model differently.
It would be an interesting challenge to write this so that when the user reorients the model, the next model loads with that SAME user orientation. (Sort of a save/restore idea.) That could be done using JavaScript and would be slick.
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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users
-- Prof. Christopher J. Masi, Ph.D. Assistant Professor of Chemistry Department of Physical Science Westfield State College Westfield, Massachusetts 01086
(413)572-5371
------------------------------------------------------- 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 Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users