On 11/21/2014 01:12 PM, Angel Herráez wrote:
> Rolf, I haven't done this, but... have you tried these?
>
>   function hoverAction(p1, p2, p3) {
>     show p1;
>     show p2;
>     show p3;
>   }
>   set hoverCallback "jmolscript: hoverAction('something1', 'something2', 
> 'something3');";
>
Then the result always looks like this, independent of the atom hovered:

   p1 = "something1"
   p2 = "something2"
   p3 = "something3"

How is this supposed to help me?
I need the atomIndex of the atom that is hovered and not a fixed value 
that was set when the callback was initialized.

I forgot to mention that I am working with Jmol 14.3.8_2014.10.14.

Regards,
Rolf


-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  [email protected]
Website: http://www.fli-leibniz.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to