Stefan,

The same scripting language is used in both the application and the applet.

Using the Jmol.js JavaScript library

  ...
  jmolApplet(200, "load caffeine.xyz; labels %i");
  ...

Look at the pages below this URL
  http://jmol.sourceforge.net/demo/

Look at the simple samples at the bottom. In your browser View->Source


Miguel


> Hi Miguel,
> sorry for unprecise question. I need to switch on atom numbers in the
> applet, probably via JavaScript?
> I was so much dealing with applets I totally
> forgot there's a standalone app as well ...
> Thanks,
> Stefan
>
> Am Wednesday 08 June 2005 14:43 schrieben Sie:
>> > Is it possible (and how to do it) to
>> > display atom numbers in JMol?
>>
>> Jmol is writting with a lower case 'm'.
>> There is another molecular viewer written with an uppercase 'M'
>>
>> select {your-set-of-atoms};
>> label "atom:%i";
>> font label 18 serif italic;
>> color label paleGreen;
>> set labeloffset 10 10 # x-offset y-offset
>>
>>
>> Miguel
>
> --
> Stefan Kuhn M. A.
> Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
> Zülpicher Str. 47, 50674 Cologne
> Tel: +49(0)221-470-7428   Fax: +49 (0) 221-470-7786
> My public PGP key is available at http://pgp.mit.edu
>
>





-------------------------------------------------------
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