All -- I'm pretty sure that if you invoke _jmol.noEval = true in your
wiki code, you will completely shut down any JavaScript functionality
of Jmol except callbacks. This setting cannot be changed within Jmol
-- it is checked upon applet creation and cannot be changed within the
applet. So it does not matter what you do after that. The
functionalities that employ JavaScript in Jmol include:

script "javascript:...."
javascript "......"
x = javascript(".....")
isosurface FUNCTIONXY ....
callback methods


But, really, it's simpler than that if you want to disallow all
callbacks and every last bit of JavaScript capability of the applet --

just don't have "mayscript" in the applet tag.

For example:

  jmolSetDocument(0)
  var s = jmolApplet([width,height], script)
  s=s.replace(/mayscript/,"maynotscript")
  document.wrte(s)

produces a Jmol applet with no JavaScript access whatsoever.

Bob


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to