From: <jm...@ne...> - 2000-12-15 03:20:23
|
http://www.opera.com/opera5/specs.html For the DOM compatibility it says the site is not updated yet and = there's a link to the opera 4 specs. Josep -----Mensaje original----- De: Samuel, Michael M <Sam...@ed...> Para: 'dyn...@li...' = <dyn...@li...> Fecha: viernes 15 de diciembre de 2000 4:06 Asunto: RE: [Dynapi-Dev] Mozilla & Opera =20 =20 Before I found DynAPI and I was stumbling along trying to create = inline code that handles all browsers - I went through the Opera site = and couldn't find anything to do with their implementation of CSS or the = DOM or anything else. Has anyone been able to find documents on their site that give = developers more of an idea?=20 BTW - I think the major difference between 4 and 5 is the free-ness = and the inclusion of ads in the interface - obviously bug fixes and = stuff - but mostly that... With Opera being free - maybe we'll see an = increase in it's usage! Mike=20 -----Original Message-----=20 From: Brandon Myers [mailto:bnd...@ho...]=20 Sent: Friday, 15 December 2000 12:10 PM=20 To: dyn...@li...=20 Subject: RE: [Dynapi-Dev] Mozilla & Opera=20 =20 =20 This was my updated browser.js file.. I've had it for about 2 months = now...=20 notice the line: else if = (navigator.userAgent.indexOf("Opera")>0) this.b =3D=20 "opera";=20 =20 =20 function BrowserCheck() {=20 var b =3D navigator.appName;=20 if (b=3D=3D"Netscape") this.b =3D "ns";=20 else if (navigator.userAgent.indexOf("Opera")>0) this.b =3D = "opera";=20 else if (b=3D=3D"Microsoft Internet Explorer") this.b =3D = "ie";=20 if (!b) {=20 alert('This browser is not supported in this version');=20 history.back();=20 }=20 this.version =3D navigator.appVersion;=20 this.v =3D parseInt(this.version);=20 // Supported Browsers Below:=20 this.ns =3D (this.b=3D=3D"ns" && this.v>=3D4);=20 this.ns4 =3D (this.b=3D=3D"ns" && this.v=3D=3D4);=20 this.ns5 =3D (this.b=3D=3D"ns" && this.v=3D=3D5);=20 this.ie =3D (this.b=3D=3D"ie" && this.v>=3D4);=20 this.ie4 =3D (this.version.indexOf('MSIE 4')>0);=20 this.ie55 =3D (this.version.indexOf('MSIE 5.5')>0);=20 if(this.ie55) this.v=3D5.5;=20 else {=20 this.ie5 =3D (this.version.indexOf('MSIE 5')>0);=20 if(this.ie5) this.v=3D5;=20 }=20 this.opera=3D(this.b=3D=3D"opera");=20 if (this.opera) this.v=3Dthis.version.split(" ")[0];=20 // Detect as close to TRUE DOM as possible... DOM support in = this API is=20 dependent on the following 2 functions.=20 this.dom =3D=20 = ((document.createRange&&(document.createRange().createContextualFragment)= )?t=20 rue:false);=20 if (this.dom) is.b=3D"dom";=20 this.min =3D (this.ns||this.ie||this.dom);=20 var ua =3D navigator.userAgent.toLowerCase();=20 if (ua.indexOf("win")>-1) this.platform =3D "win32";=20 else if (ua.indexOf("mac")>-1) this.platform =3D "mac";=20 else this.platform =3D "other";=20 }=20 > -----Original Message-----=20 > From: dyn...@li...=20 > [mailto:dyn...@li...]On Behalf Of Scott = Andrew=20 > LePera=20 > Sent: Thursday, December 14, 2000 6:51 PM=20 > To: dyn...@li...=20 > Subject: Re: [Dynapi-Dev] Mozilla & Opera=20 >=20 >=20 > Well, that's it then!=20 >=20 > Funny how they bury it like that.=20 >=20 > --=20 > scott andrew lepera=20 > -----------------------------------=20 > web stuff: www.scottandrew.com=20 > music stuff: www.walkingbirds.com=20 > _______________________________________________=20 > Dynapi-Dev mailing list=20 > Dyn...@li...=20 > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev=20 _______________________________________________=20 Dynapi-Dev mailing list=20 Dyn...@li...=20 http://lists.sourceforge.net/mailman/listinfo/dynapi-dev=20 |