If I use a function like this:

        function getEnergy() {
                var _jmolText = document.getElementById('jmolText');
                var Energy = 
jmolEvaluate('getProperty("auxiliaryInfo.zeroPoint")');
                var text = "Energy = " + Energy + " kJ/mol\n";
                var node = document.createTextNode(text);
                _jmolText.appendChild(node);
        }

and I have more than one Jmol applet on the page, how do I select  
which applet I'm getting the info from?


***********************************************
Jeff Hansen
Department of Chemistry and Biochemistry
DePauw University
602 S. College Ave.
Greencastle, IN 46135
[EMAIL PROTECTED]
***********************************************



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to