>> 1. Using browser sniffing to write tags using js makes problems
[snip]
> I agree. It would be better, for instance, for the code to detect the
> presence of window.ActiveXObject to understand to create the IE-type
> object instead of checking to see that navigator.appVersion includes
> "IE" or not. I know for some aspects you can't do this, especially
> with the strange Mac configurations that are out there, but as much as
> possible, it is the functionality, not the name, that should determine
> what choices are made for applet/object

Correct.

If you folks come up with some better and reliable ways to distinguish
between browsers then I will be glad to incorporate the changes into
Jmol.js.

>> 2. This sort of thing may allow one to generate partial code that
>> satisfies HTML4.01 or XHTML1.0 strict in appropriate browsers, but
>> unless you also use javascript to generate the DTD line, that's is bound
>> to be incorrect on some browsers. Not that it really matters, as
>> browsers only take limited notice of the DTD (see my next posting).
>
> Right. And you have to have your SERVER sending out the page as
> "application/xhtml+xml" type.

Q: Can't you put the content-type in the header as a meta tag and have it
override what the server returns?

(I am not even sure that this would be useful)

> AND, you have to require no use of
> Internet Explorer by your users (because IE does not and probably will
> not ever support XML).

Q: Has MSFT made any official statements to this effect?


Miguel



-------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to