OK, that's useful. And I found a Mac 10.3.8 I can reproduce the problem.
The problem on that machine is that when I assign both an ID and a NAME (perhaps the problem is that they are both the same?) to the applet tag and then try to do
document.getElementById(jmoltarget).script("...")I get an object, but the script isn't delivered. Interestingly,
javascript:alert(document.getElementById(jmoltarget))
returns a DIFFERENT object than
javascript:alert(document[jmoltarget])
So the browser issues continue.... Netscape has no issue here.
For the Mac, at least this version, I have to use
document[jmoltarget].script("...")So these new versions use that instead as their first option for writing scripts. Miguel, what does jmol.js use?
Have to run to lab.
Bob
If you are still game... try:
http://www.stolaf.edu/people/hansonr/jmol/applet/mscalc/view.htm http://www.stolaf.edu/people/hansonr/jmol/applet/mscalc/view3.htm
William Reusch wrote:
Bob,
I'm sorry to report that even with a freshly opened Safari there is now a problem. When I click on the first atom. the coordinate row turns red, but a second click has no effect. It works fine in Netscape.
Bill
Bob Hanson wrote:
I forgot all about the controlling buttons. But here is another version
http://www.stolaf.edu/people/hansonr/jmol/applet/mscalc/view.htm
Bill, would you please try this one?
This sounds a bit like an issue I once had where the commands from one page were acting on a completely different page. I remember pointing that out, but I don't recall any resolution. This iteration of view.htm tries to adjust for that by assigning a random value to the applet ID.
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
--
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
------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

