On Mon, Jan 28, 2013 at 1:12 PM, Simone Sturniolo <[email protected]
> wrote:
> Hi,
>
> I've stumbled upon a peculiar behaviour in the JMol applet. I was testing
> with the pickCallback with a simple function which only shows a dialog with
> the arguments passed to the callback printed in it whenever one picks an
> atom. This worked fine on Chrome. The same, however, did not happen on
> Firefox, where picking an atom basically made the document defocused and
> thus stopped the execution of Javascript. I experienced this on Ubuntu. Now
> I am trying the same thing on a Mageia distribution, with Firefox that
> should be at the same version (both are automatically updated), and here it
> works like a charm. Any suggestions/ideas about why does this happen? I'm
> guessing it's a problem of how the various browsers handle the calls from
> the embedded applet, but is there a workaround I could use? Am I correct in
> supposing that switching to JSMol should fix this for sure?
> Thanks!
>
>
It certainly sounds like a browser bug to me and should be reported to the
appropriate complaint department. Obviously there is nothing Jmol is doing
wrong. Since JSMol uses a completely different mechanism, I would expect
that it would fix that. How does peak picking look for you at
http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm ? Click on a few atoms of
the caffeine model, then press the [show] link under the canvas and see if
you have something like this at the end of that:
setStatusAtomPicked(1,C2 #2 2.2465 -2.1761999999999997 0.0031)
C2 #2 2.2465 -2.1761999999999997 0.0031
starting HoverWatcher_12
setStatusAtomPicked(3,O4 #4 2.9938 0.3838000000000001 0.0002)
O4 #4 2.9938 0.3838000000000001 0.0002
starting HoverWatcher_13
setStatusAtomPicked(2,C3 #3 1.7906000000000002 0.2081 0.001)
C3 #3 1.7906000000000002 0.2081 0.001
> Regards,
> Simone
>
>
> --
> _______________
>
> Nuovo indirizzo e-mail:
> [email protected]
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
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
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users