Thanks to all who made suggestions.
I have made some changes and published 
   http://www2.uah.es/biomodel/jmol/radii/jmol_radii.en.html
a "version beta2" in which:

1) Background color:
"white" background is now a pale grey-yellow (best I could find to 
keep visibility of both white and black text). [following Nicolas and 
Rolf]

2) "Labels on/off" checkbox:
its state now varies accordingly with what is done by clicking other 
buttons. [Rolf] 
I could not make it perfect (keeping the current 'labels on' state 
when choosing VdW or Atomic) because of some weird interference 
between jmolscripts and form javascripts; I've given up.

        (Technical, just in case anyone is interested or has seen it before:
                inserting  alert("hello")   makes code work, removing it makes 
                not to work; seems as if the flow of Jmol code is interrupted, 
                the script is not finished and subsequent actions behave
                 unpredictably. I tried the Java console but saw nothing.

3) I reorganized Y- and Z- coordinates in the PDB to have the whole 
set more centered and square (cubic, in fact), and to give more space 
between rows of atoms (periods), so better allowing for the labels on 
top of each atom.

4) Labels position:
I have decided on "set labeloffset 0 1", the label above the atom. 

I had some problem with "set labeloffset", which was failing unless 
applied twice; now I have found out that --in a script-- it must be 
issued after a first "label" command, not before it.
In the console, it works when issued before.

5) "Show period 7 only" is now available (was unnoticedly omitted in 
previous version)

6) Text layout has been compartmentalized. [Tim]

7) Upgraded to Jmol 10.00.35 --"hover" now works as intended from the 
beginning, showing atomic nr. and element symbol, so less need for 
labels on.

8) Most important for me (Eric, I guess you will like it too):
I found code that allows an applet div fixed and a content div  (for 
text+controls) with scrolling, full-height, not absolute pixel 
measure. It works in Firefox 1.0.4, Netscape 7.0,  IE6, IE5.5 
(Windows).
Derived from http://tagsoup.com/-dev/null-/css/fixed/
For the future, I will try to set-up a template with it (the radii 
page is very complex to copy from).

Pending tasks:

- setting the center of rotation to the set of atoms shown. (for 
beta3)

- [Tim] show the actual radii values in a popup alert
        Too much for me, I'm afraid. I haven't yet tried the callback stuff. 
That would mean anyway reading the values from the java file and 
writing them into JS variables, at which point I would just build the 
table into the page text.







-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to