On Sep 13, 2005, at 4:42 , Bob Hanson wrote:
I'm restarting this Jmol-users thread from Henry Rzepa on the jmol-
developer list, because I'm trying to understand where we are
headed with Jmol.
Miguel's new Jmol.js starts to address this applet/object issue
head on. Hurray!
Probably one of the best arguments for using Jmol.js I've seen to
date. I'm all for it.
applet is functionally supported by all browsers that I have ever
used. last I looked, functional support for object was patchy. has
that radically changed?
Q: What is the current status of use of Jmol.js in terms of XHTML
compliance? Can we, for example, use
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
now and have compliant code using Jmol.js?
this is the doctype that I use, and I have had no problems with
functionality because of it. so I would say yes here - except for
mayscript.
Q: Are we aiming for -strict on this? yes? no? ultimately?
don't know.
What I'm thinking is that <applet mayscript="mayscript"> is NOT
allowed in xhtml1-transitional, even though <applet> is.
mayscript fails to validate in xhtml transitional, yes. it still
works, though, so when you say not allowed, I'm a bit confused.
Q: So if I include a transitional DOCTYPE, and Jmol.js throws in an
<applet mayscript> tag for some browser on the fly, is that a
problem? Will I lose my scripting?
Q: What happens when you include a transitional DOCTYPE, then
introduce nonvalidating code? Does it work anyway?
validation has nothing whatsoever to do with functionality of your
code in a browser. in a perfect world, all browsers would run only
code that validates against the designated specs (determined by the
doctype). this is not at all the case, though. :-(
tim
--
Timothy Driscoll
molvisions - see. grasp. learn.
<http://www.molvisions.com/>
earth:usa:virginia:blacksburg
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers