Hi all,
I have two calls to a jmolAppletInline in the same page (both open fine):
.
.
.
jmolAppletInline(400, template1);
jmolRadio("spin on","on","isChecked");
jmolRadio("spin off","off");
<input type="radio" name="model" value="template$i"
onClick="jmolLoadInlineScript(template$i,$jmolscript); return
true;"></input>
.
.
.
jmolAppletInline(400, model1);
jmolRadio("spin on","on","isChecked");
jmolRadio("spin off","off");
<input type="radio" name="model" value="model$i"
onClick="jmolLoadInlineScript(model$i,$jmolscript); return true;"></input>
.
.
.
Both groups of jmolRadio act upon the corresponding jmolApplet correctly.
Both groups of <input type="radio"...>, however, act upon the first instance
of jmolApplet.
How can I tell the second group of <input type="radio"...> to act upon the
second instance of jmolApplet and not the first one?
(sorry if I'm missing something obvious)
--
0 | Mauricio Carrillo Tripp, PhD
/ | Department of Molecular Biology
0 | The Scripps Research Institute
\ | 10550 North Torrey Pines Road
0 | La Jolla, California 92037
/ | [EMAIL PROTECTED]
0 | http://www.scripps.edu/
** Aut tace aut loquere meliora silentio **
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users