Well its Jmol12.2.2

Best,

Pascal


-----
Pascal Auffinger
IBMC/CNRS
15 rue René Descartes
67084 Strasbourg Cedex

p.auffin...@ibmc-cnrs.unistra.fr
-----

Le 26 juin 2012 à 19:33, jmol-users-requ...@lists.sourceforge.net a écrit :

> Send Jmol-users mailing list submissions to
>       jmol-users@lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/jmol-users
> or, via email, send a message with subject or body 'help' to
>       jmol-users-requ...@lists.sourceforge.net
> 
> You can reach the person managing the list at
>       jmol-users-ow...@lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Jmol-users digest..."
> Today's Topics:
> 
>   1. Re: Key Event Capture (Martin Hediger)
>   2. contact command (Pascal Auffinger)
>   3. Re: Key Event Capture ( Angel Herr?ez )
>   4. Re: contact command (Robert Hanson)
> 
> De : Martin Hediger <ma....@bluewin.ch>
> Objet : Rép : [Jmol-users] Key Event Capture
> Date : 26 juin 2012 17:15:04 HAEC
> À : jmol-users@lists.sourceforge.net
> Répondre à : jmol-users@lists.sourceforge.net
> 
> 
> maybe you could also place the applet within a <div>, and assign the onblur 
> to the <div>
> Martin
> 
> 
> 
> 
> 
> On 26.06.12 13:33, Otis Rothenberger wrote:
>> Thanks Martin,
>> 
>> I wasn't sure how to quickly assign the onBlur to the applet itself without 
>> editing Jmol.js, but your suggestion gave me an idea that works on Firefox 
>> and MSIE. I'm trying to get the keystroke capture back to the page after an 
>> model is clicked. Using your thought, I used pickcallback do the following:
>> 
>> document.getElementById("script").blur(); 
>> document.getElementById("script").focus(); 
>> document.getElementById("script").blur();
>> 
>> The element "script" is a field on the page. Interestingly, all three method 
>> calls are required for what I need. The focus() by itself does not work. It 
>> needed to be preceded by the blur(). The final blur() is inserted so 
>> subsequent key pressing does not mess up my field contents. The net result 
>> is that after an atom click, key capture is returned to the page.
>> 
>> Otis
>> 
>> 
>> --
>> Otis Rothenberger
>> o...@chemagic.com
>> http://chemagic.com
>> 
>> 
>> 
>> 
>> On Jun 26, 2012, at 2:54 AM, Martin Hediger wrote:
>> 
>>> 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
>>>> o...@chemagic.com
>>>> 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
>>>> Jmol-users@lists.sourceforge.net
>>>> 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
>>> Jmol-users@lists.sourceforge.net
>>> 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
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> 
> 
> 
> 
> De : Pascal Auffinger <p.auffin...@ibmc-cnrs.unistra.fr>
> Objet : [Jmol-users] contact command
> Date : 26 juin 2012 17:41:30 HAEC
> À : jmol-users@lists.sourceforge.net
> Répondre à : jmol-users@lists.sourceforge.net
> 
> 
> Dear All,
> 
> I would like to draw contacts between a residue and what is shown in the 
> applet. This command does not seem to work for me. Anything wrong ?
> 
> jmolCheckbox('contact {~res} {visible} clash','','Clashes 
> ','','miniApplet_clashes','Show/hide clashes');
> 
> Thanks for help,
> 
> Pascal
> 
> -----
> Pascal Auffinger
> IBMC/CNRS
> 15 rue René Descartes
> 67084 Strasbourg Cedex
> 
> p.auffin...@ibmc-cnrs.unistra.fr
> -----
> 
> 
> 
> 
> De : "Angel Herráez" <angel.herr...@uah.es>
> Objet : Rép : [Jmol-users] Key Event Capture
> Date : 26 juin 2012 18:26:21 HAEC
> À : jmol-users@lists.sourceforge.net
> Répondre à : jmol-users@lists.sourceforge.net
> 
> 
> Martin said:
> 
>> maybe you could also place the applet within a <div>, and assign the 
>> onblur to the <div>
> 
> I'm not sure that would work. But the applet itself has an ID 
> --either automatically assigned by Jmol.js or equivalent, or assigned 
> by you-- and you could define (on page load) the onBlur function I 
> think.
> 
> 
> 
> 
> 
> 
> De : Robert Hanson <hans...@stolaf.edu>
> Objet : Rép : [Jmol-users] contact command
> Date : 26 juin 2012 19:33:26 HAEC
> À : jmol-users@lists.sourceforge.net
> Répondre à : jmol-users@lists.sourceforge.net
> 
> 
> Great! 
> 
> What version of Jmol are you using?
> 
> 
> On Tue, Jun 26, 2012 at 10:41 AM, Pascal Auffinger 
> <p.auffin...@ibmc-cnrs.unistra.fr> wrote:
> Dear All,
> 
> I would like to draw contacts between a residue and what is shown in the 
> applet. This command does not seem to work for me. Anything wrong ?
> 
> jmolCheckbox('contact {~res} {visible} clash','','Clashes 
> ','','miniApplet_clashes','Show/hide clashes');
> 
> Thanks for help,
> 
> Pascal
> 
> -----
> Pascal Auffinger
> IBMC/CNRS
> 15 rue René Descartes
> 67084 Strasbourg Cedex
> 
> p.auffin...@ibmc-cnrs.unistra.fr
> -----
> 
> 
> ------------------------------------------------------------------------------
> 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
> Jmol-users@lists.sourceforge.net
> 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
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> 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
> Jmol-users@lists.sourceforge.net
> 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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to