Jmol users: Please, note that starting Jmol 11.5.41, the checkboxes and radio buttons generated by the Jmol.js library will have an added <label> tag surrounding the associated text. The effect is that clicking on the text will have the same effect as clicking on the checkbox or radio button themselves.
I hope you find this convenient, as I do. I think this is a commodity and frequently used in well-designed websites. There is a lesser need for aiming at the control, so it improves usability. Examples: Color: o black, o white you can click either on the radio button (here represented as "o") or on the words "black", "white" [ ]use labels you can click either on the checkbox (here represented as "[ ]") or on the phrase "use labels" Put more explicitly: jmolCheckbox(scriptWhenChecked, scriptWhenUnchecked, labelHtml, isChecked, id, title) Whatever you put in the "labelHtml" parameter will be the text surrounded by <label> tags. jmolRadioGroup(arrayOfRadioButtons, separatorHtml, groupName, id, title) The second item in each array element of the "arrayOfRadioButtons" will be the text surrounded by <label> tags. jmolRadio(script, labelHtml, isChecked, separatorHtml, groupName, id, title) Whatever you put in the "labelHtml" parameter will be the text surrounded by <label> tags. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

