maybe you could also assign an onBlur event to the Jmol applet and so when Jmol goes out of focus, the onBlur event fires, assigning a keystroke capture back to the element you want. Maybe not super elegant, but could fix for the moment.

Martin





On 25.06.12 21:31, Otis Rothenberger wrote:
Bob,

I'm setting up some keystroke capture JavaScript to control page activity. I'm placing the event capture function call in the body tag of the page, and this works well until I click inside the applet. After an applet click, I must click on a page link or inside a page field to reinitiate the page keystroke capture. Clicking the page itself does not reinitiate the capture.

I suspect that this is a general applet issue. Is there any way within JmolScript to reinitiate this page JavaScript behavior?

Otis


--
Otis Rothenberger
[email protected] <mailto:[email protected]>
http://chemagic.com






------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to