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 
<applet>...</applet>. This is the most convenient way for me since I will have 
to generate pages on the fly.

Right now I use a javascript to execute jmol scripts from a website listed a 
Wiki. The functionality looks something like this:
----------
<script LANGUAGE="JavaScript" TYPE="text/javascript">
function scriptMe(command){
        document.jmol.script(command);
}
</script>

.
.
.
.

<input type ="button" name="color" value="By chain" onClick="scriptMe('select 
*; color chain;')"/>
-------------

Now, can I use checkboxes in the same way? If not in the same way ... another 
way? ;-)
Thanks in advance!

Joost


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to