David Leader wrote:
In reply to my long message Miguel wrote:
Please clarify/enumerate the ways in which the examples were
non-compliant
Only two.
1. As you realized later in your message, the <form> tag needs an 'action'.
2. The <script> tag alone in any version of html is incorrect.
I must stress that the commonly used version that Bob quotes
<script language="javascript">
is only valid as transitional. 'language' has been deprecated for the
last six years and can (and should) be ditched forthwith without any
harm. The correct html 4.01 strict form is the one I gave in my message
and the one I use without problem on all my sites:
<script type="text/javascript">
Right, I should be using this. My laziness.
I agree also that the form should have an action.
I'd forgotten or never knew. But surely Safari is correct here. Where in
HTML do checkboxes exist outside forms?
Mozilla/IE started allowing this somewhere around version 6. I can't imagine
why...
mine, but I know it is of interest to others). How would the controls be
identified with a particular applet unless in the same script block?
Miguel cleverly arranged so that in any set of:
jmolApplet()
...
radio buttons, checkboxes, etc.
jmolApplet()
...
radio buttons, checkboxes, etc.
the controls following an applet on the page directly relate ONLY to that
applet. If you want do do something like this (figuratively):
<table>
<tr><td> [jmolApplet1] </td><td> [jmolApplet2] </td></tr>
<tr><td> [controls1] </td><td> [controls2] </td></tr>
</table>
then you have to use jmolSetTarget() just before each introduction of the
controls so that they point to the correct applet, because the control functions
themselves don't allow for specifying the target. It works.
We should probably have a few examples of this sort of thing avaiable.
--
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr
"Imagination is more important than knowledge." - Albert Einstein
-------------------------------------------------------
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