Tim, I think the strongest case for using Jmol.js generally, and not just for
fancy applications is durability. By this I mean, when the time comes and
browsers change and functions work differently on different browsers (say IE
really drops the APPLET tag, for example). I've been through the Netscape
3,4,6,7 years, as I think you have. I was lucky, because early on I learned to
put everything browser dependent in a separate .js file and call functions like
divWrite() and divFind() and such. Well, of course, when
document.getElementById() came in and I can't even remember now what went out, I
didn't have to go rewrite all my hundreds of pages. I just updated a file called
"divs.js" in a bunch of directories (I wasn't THAT lucky, to have just one
single divs.js), and I was off and running.
But I know people who DID have to rewrite tons of stuff because they had
imbedded throughout their code things like
if(isnn4){
}else if(isie5){
}
or,worse:
if(document.layers){
}else if(document.all){
}
This of course is a nightmare.
<applet> is probably the next to go.
In fact, seriously, if one wanted to, one could just always load
http://jmol.sourceforge.net/jmol/Jmol.js directly using
<script type="text/javascript" src="http://jmol.sourceforge.net/jmol/Jmol.js">
(presuming THAT is the copy that is kept up to date by Miguel -- since it is the
one used on the jmol homepage)
and be "always ahead of the game" -- or as close as anyone is.
Bob
--
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
-------------------------------------------------------
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