I tried jmolScriptWait but couldn't get it to not break the load command.
*********************************************** Jeff Hansen Department of Chemistry and Biochemistry DePauw University 602 S. College Ave. Greencastle, IN 46135 [EMAIL PROTECTED] *********************************************** On Aug 28, 2008, at 6:03 PM, Jeff Hansen wrote: > Sorry I wasn't clear about this, but the applet corresponding to > result1 is loaded when the page loads. I'll try jmolScriptWait to see > if that does anything for the result2. > > fffff > *********************************************** > Jeff Hansen > Department of Chemistry and Biochemistry > DePauw University > 602 S. College Ave. > Greencastle, IN 46135 > [EMAIL PROTECTED] > *********************************************** > > > On Aug 28, 2008, at 5:41 PM, Angel Herráez wrote: > >> On 28 Aug 2008 at 15:59, Jeff Hansen wrote: >> >>> Additionally, the alert(result1) (see code below) displays undefined >>> in the alert box and alert(result2) displays a blank alert box. So >>> I'm wondering what is going on with that. >> >> I would say that with result1 you are trying to read from the applet >> before it has been >> created, so it's not surprising thayt you get undefined. >> As for result2, I'm not sure because I don't know the try/catch >> command, but anyway it may >> be too soon to have the applet ready. Javascript goes much faster >> than loading Java + >> Jmol. >> >> >> >> ------------------------------------------------------------------------- >> 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 > > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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

