to test for browser functionality without relying on appname:

if (document.all) -- most likely MSIE, but at least supports most of it's
functionality
else if(document.layers) most likely is NS but at least supports most of
it's functionality..

Doug Melvin
----- Original Message -----
From: "Scott Andrew LePera" <[EMAIL PROTECTED]>
To: "dynapi" <[EMAIL PROTECTED]>
Sent: Thursday, December 14, 2000 10:29 AM
Subject: [Dynapi-Dev] Mozilla & Opera


> As long as you have the latest Mozilla build you're basically working
> with the same codebase as Netscape 6.  Arguably if you develop for one
> you're also developing for the other. Mozilla may be more stable because
> it doesn't come with all the integrated bloatware. So try switching to
> Moz if NS6 doesn't like you.
>
> As far as Opera 5, I just started fiddling with it.  Dan's right: it
> doesn't support createElement() (or many of the W3C ECMAScript
> interface, for that matter).  Nor does it seem to support innerHTML,
> insertAdjacentHTML, or any other means of dynamically generating
> elements without document.write. Bummer.
>
> What's interesting is that by default, Opera 5 indentifies itself as
> MSIE 5.0.  But it can also be manually set to disguise itself as NS6,
> NS4, and Opera.  That means you can't always rely on a browser sniffer
> using "navigator.appName" to sniff it correctly.
>
> I'm still tinkering, because there doesn't seem to be a lot of docs on
> the web concerning Opera and DHTML compatibility.  In it's defense, it's
> a soopa-fast little browser.  It smokes Mozilla's performance (on my
> machine, at least).
>
> --
> scott andrew lepera
> -----------------------------------
> web stuff:     www.scottandrew.com
> music stuff:   www.walkingbirds.com
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-dev

Reply via email to