you can get a mouse down with clickCallback. See
http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm?topic=2

On Fri, Dec 11, 2009 at 3:17 PM, Otis Rothenberger <[email protected]>wrote:

> Hello-
>
> On a page with several Jmol applets, I'm trying to use a mousemove
> into the applet to detect the ID of the applet. Currently, I am
> putting the applets in a <p> container with 20px borders  that has an
> ID that can be related to the contained applet ID. It works, but not
> well. I can only pick up the mousemove if the user moves slowly into
> the applet. Wider <p> borders improve this, but 20px is already pretty
> wide.
>
> All would be well if I could pick up a mousemove, mouseup, or
> mousedown inside the applet window (preferably a move). I realize that
> I can pick up a click on an atom with a call back, but is there any
> way to pick up a move into the applet or a click on any part of the
> applet - i.e. bonds, atoms, or background?
>
> Otis
>
> --
> Otis Rothenberger
> http://chemagic.org
>
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to