Paul or anyone who can help,
I am trying to automate the selection and coloring of residues in JMol
using the following script:
******************************
*************************************
<script type="text/javascript">
function residues()
{
var x = prompt("Enter Residues")
var y = prompt("Enter Color")
if (!x)return
else if (!y)return
jmolScript(""select "+x; "color "+y")
}
</script>
<button style='width:250' onclick="residues()">Select Residues</button>
*******************************************************************
It does NOT work! What am I doing wrong?!
Thank you SO MUCH!
Amjad
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users