[Jmol-users] labels & font

2005-04-13 Thread Frieda S. Reichsman
Hi All, Is it possible to specify the font face, weight and size for all the labels in an applet simultaneously? Or is it necessary to issue a command such as font labels 16 sans bold after each label is called into being? I realize I can use the rasmol command set fontsize 16 after all the labe

Re: [Jmol-users] Using Checkboxes in the applet

2005-04-13 Thread Bob Hanson
looking at this more closely, I'm wondering if in this application you might want to use radio buttons. In that case you need to specify the value of the radio, since the names will be the same. Maybe something like: function myfunction(n,c){alert(n+" "+c)} Joost Van Durme wrote: Hi,

Re: [Jmol-users] Using Checkboxes in the applet

2005-04-13 Thread Bob Hanson
The answer is, yes, but you have to be careful. an HTML textbox has states checked and !checked. You can pass this state to a JavaScript function thusly: function myfunction(n,c){alert(n+" "+c)} This way your function can know which button was clicked and whether it is now checked or not. No

Re: [Jmol-users] Using Checkboxes in the applet

2005-04-13 Thread Miguel
> Hi, > > I want to use html checkboxes to toggle eg. ribbons on or off. So, when > checked, ribbons are on, when unchecked, ribbons are off. > I'm writing the html page in plain html after loading the applet with > This is the most convenient way for me since I will > have to generate pages

[Jmol-users] Using Checkboxes in the applet

2005-04-13 Thread Joost Van Durme
Hi, I want to use html checkboxes to toggle eg. ribbons on or off. So, when checked, ribbons are on, when unchecked, ribbons are off. I'm writing the html page in plain html after loading the applet with This is the most convenient way for me since I will have to generate pages on the fly.

Re: [Jmol-users] solid hbonds in Jmol?

2005-04-13 Thread timothy driscoll
On 2005-04-13 (09:10) Miguel wrote: >Tim wrote: >> >>would solid hbonds be difficult to accomplish from a programming >>standpoint? > >Nope. > >We need a command to turn on the setting. > >set hbonds solid > >or > >hbonds solid > hi Miguel, I like set hbonds solid we would need the complement

Re: [Jmol-users] solid hbonds in Jmol?

2005-04-13 Thread Old Address
Miguel wrote: Tim wrote: would solid hbonds be difficult to accomplish from a programming standpoint? Nope. We need a command to turn on the setting. set hbonds solid I would prefer this set hbonds solid and in addition to set hbonds backbone set hbonds sidechain I have been asked, if it

Re: [Jmol-users] solid hbonds in Jmol?

2005-04-13 Thread Miguel
Tim wrote: > > would solid hbonds be difficult to accomplish from a programming > standpoint? Nope. We need a command to turn on the setting. set hbonds solid or hbonds solid ? Miguel --- SF email is sponsored by - The IT Product Guide R

Re: [Jmol-users] solid hbonds in Jmol?

2005-04-13 Thread timothy driscoll
On 2005-04-11 (20:18) Miguel wrote: > >>hi, >> >>I don't find any way (in Jmol 10.0) to render hydrogen bonds as >>non-dashed lines. (in Chime, specifying any width aside from 'on' >>made the bond solid.) before I submit a feature request, am I just >>missing this? > >Nope ... this is currently