On 2005-07-29 (17:35) Rolf Huehne wrote: >alok vaid wrote: >>Thanks for help. I have editted the jmol.js file, and also tried to >>include the _jmolMessageCallback function in my page. but somehow >>the whole things wasnt working. I have been trying a lot, and will >>work on it more tonight. Do you have a web page where you have it >>implemented? I am using Safari on Mac OS. >> > >I have extracted the relevant part into this page: > >http://www.imb-jena.de/ImgLibPDB/pages/Jmol-rh/callback_demo.html > >While the script is loading into Jmol a lot of selection messages >should appear in the Log textarea. If you click at the buttons there >should appear new messages, e.g.: > >Script completed stereo 5 Jmol executing script ... > >I tried this on a Notebook with MacOS X V10.3.9, Safari 1.3(v312) >and Java V.1.4.2_5 (Apple Inc.) and it worked. Only for the redraw >of the textarea content I had to click into the textarea. fter I did >this once the messages triggered by the buttons appeared >automatically most of the time. Only sometimes I had to click again >into the textarea. > I have noticed this repaint behavior as well. I do not think it is a result of the message callback directly, though. all of my 'non-visible' functions based on the content of a callback work without trouble.
OSX browsers in general have fairly ugly repaint issues - especially with the Jmol applet (try scrolling a Jmol Web page and you will see what I mean). lots of flashing, hiccupping, etc. regads, tim -- Timothy Driscoll molvisions - see, grasp, learn. <http://www.molvisions.com/> usa:north carolina:raleigh "Death is not the worst than can happen to men." - Plato ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users