> Is it possible to highlight an atom
> from JavaScript after loading the page,
> so not when the applet is loaded,
> but via some JS event accuring later?

Go to http://www.jmol.org/demo/jssample1/ and View -> HTML Source

See documentation at http://www.jmol.org/jslibrary/

You can attach arbitrary scripts to buttons using the jmolScript function
in Jmol.js.

Not sure what kind of hiliting you want to do ...

select atomno=1;
spacefill on;
color atom hotpink;
set display selected;



Miguel




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to