I installed the very nice slab slider available from http://wiki.jmol.org:81/index.php/Recycling_Corner#Slider_control_for_Slabbing in my Jmol Tutorial-Authoring Template (JTAT).
I have now adapted it to control either zoom or slab. I would like the zoom slider to auto-slide to match the current zoom percentage in Jmol, when the mouse is used for zooming. Is there any way to set up Jmol to automatically message a change in zoom? For example, I'd like Jmol to message two lines something like these whenever the zoom changes: zoom-change-report zoom 212.15 I already have code that watches the message stream and resets the zoom slider when similar messages go by. If there is no way to get Jmol to initiate such a report, I can use javascript to initiate a query to jmol every one second. That will probably work satisfactorily. However, it seems that the ability to have Jmol initiate a report when something changes might be generally useful. -Eric ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

