Yingjie, I think it's easier

> I have a variable X in JavaScript, and I am looking for a way to pass it back 
> to Jmol. 

How about
  jmolScript("var myJmolVar = " + myJSvar)

that would pass the value to the 'myJmolVar' variable in JmolScript.
Or do you need something more complicated that just getting the variable?

 
> Also, in the documentation,  the webpage parameter " _jmol.noEval "  should 
> be set to true.
> Unfortunately, I am not sure where this parameter is set.

I think that is true by default. Anyway, you can set it from anywhere in your 
page javascript. 
Just do
  _jmol.noEval = true;
  


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to