Eric, I really think it's your polling. Browsers are just not capable of handling that properly.
If you look at http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11_5.zip you will find a version that allows you to run your zoom slider without polling. Specifically, what you do is indicate a function for a "syncCallback" -- a function that intercepts the sync message sent from one applet to another. Please try it. To implement it you need something like: function checkZoom(app, info) { //BH -- callback // this function is called FIRST, before the message is sent to other applets // change the message to send a new message on // pass info along if you want to continue to send it to the other applet var s = "" + info; if (s.indexOf("/* zoom") < 0)return info; viewZoomValue = parseFloat(s.split("*/ ")[2].split(".")[0]); setZoomValue(); return info; //pass along } Then set the parameter "syncCallback" to "checkZoom" and add "sync ON" to your startup script. The function will be called anytime there is an orientation change, and then you just parse the moveTo command for the zoom parameter. Works great on my local versions of ch_view2 and ch_comp. To turn off synchronization, rather than sending "sync off" just set the return value of this function to the empty string "". Bob Eric Martz wrote: >Dear Bob, > >Thanks for your suggestions. I'll give them a try ASAP. > >Meanwhile, I discovered another symptom. In the simple test pages, >zap zap (two zaps one right after the other) always reduces total >memory to a low value (9-12 Mb). > >However, in the JTAT Demo, zap zap never reduces total memory, and >often increases it significantly, e.g. from 80 to 98. > >I have placed a ZZ link at the lower right in the JTAT Demo, which >executes zap zap. Also, the word "_memory" is now hyperlinked, and >clicking it refreshes the memory report. Thus, click ZZ then _memory >to see whether zap zap works. It never does. > >-Eric > > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2008. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

