Well, i think we follow your comments and have made adjustments on the page. My "JavaScript assistant" who happens to be my son, sent the following comments and observations:

I agree that reloading the applet each time is not a great idea and it has been bothering me.� Unfortunately it was the only way I could find at the time to get it to work in both Netscape and IE (I am testing on a PC).� I discovered that this was because of the OnLoad command.� It appears that IE loads any applets in the HTML first and then runs the ONLoad script code in the Body Tag.� Netscape appears to do the reverse.� Thus when I would put the applet in the HTML and try to call the code to load the first set of molecules in the onload command of the body, Netscape was trying to call a script command on Applets that were not loaded yet, and the whole page would lock up.� The fix is to call a setTimeout in the onload of 1 second which then calls the first molecule load.� Then it appears we can use the script cammand and not reload the applet for each problem, and it works in both IE and Netscape.�

The tutorial does not take all the memory now which is good. It still will not run under either Camino or Mozilla on the Mac side. The pdb files seem not to load. But that is another day's problem. It does run on the windows side.

www.saintmarys.edu/~pbays/ST/St.htm

Phil

On Feb 21, 2004, at 11:19 AM, Miguel Howard wrote:

Tell your JavaScript assistant to write me if he/she has any questions.


J. Philip Bays
Professor of Chemistry
Science Hall 158
Saint Mary's College
Notre Dame IN 46556
(574) 284-4663

Reply via email to