At 8/28/05, you wrote:
>> http://www.stolaf.edu/people/hansonr/jmol/docs/#.atom%20expressions
>> then click on "in a new window using 1blu.pdb"
You should see a message "creating Jmol Applet", and the page should load.
All I added was an alert in _jmolApplet().
Believe it or not, this is the ONLY change in the code.
Hi, Bob,
This works for me, too, in IE, Win98.
Tim and Frieda and I have encountered many peculiar timing issues like this
one in javascript. To avoid using the ugly alert, try segregating the code
after the alert into a separate function, then instead of putting the alert
before calling the function, call it after a delay
setTimeout("new_function()", 100);
where "100" is the time delay in milliseconds. Not infrequently, a single
millisecond delay makes all the difference, but I usually determine the
minimum that works and then increase it as high as seems tolerable.
(There are 5 or 10 such delays in the startup of Protein Explorer, which
explains some of its startup sluggishness, but there are a lot of
messagecallback transactions and parsing going on in the background!)
----
Eric Martz, Professor Emeritus, Dept Microbiology
University of Massachusetts, Amherst MA US
http://www.umass.edu/molvis/martz
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users