From: Josep M. i T. <jm...@ne...> - 2000-12-14 23:09:56
|
I think I found it! In IE5 mode: navigator.appName: Microsoft Internet Explorer navigator.appVersion: 4.0 (compatible; MSIE 5.0; Windows NT 4.0) navigator.userAgent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 4.0) Opera 5.0 [en] Do you notice the Opera at the end? In all the modes of the browser it appends this "Opera" at the end? It's really beautiful, isn't it? Regards, Josep -----Mensaje original----- De: Doug Melvin <do...@cr...> Para: dyn...@li... <dyn...@li...> Fecha: jueves 14 de diciembre de 2000 23:31 Asunto: Re: [Dynapi-Dev] Mozilla & Opera >ick. >so, if (document.all && document.innerHTML)... ? > >> Actually, it seems that in MSIE 5.0 mode, Opera supports a document.all >> collection, but doesn't support other features like innerHTML, so we may >> have to do some extra work to detect Opera. Or, we could just support it >> until it has a better scripting interface (W3C's model is what I'd >> prefer). >> >> -- >> scott andrew lepera >> ----------------------------------- >> web stuff: www.scottandrew.com >> music stuff: www.walkingbirds.com >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > >_______________________________________________ >Dynapi-Dev mailing list >Dyn...@li... >http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Josep M. i T. <jm...@ne...> - 2000-12-15 01:38:50
|
I've been testing Opera and I haven't found the way to add elements after onLoad, as Dan said in a previous post. So it seems we should create widgets before onLoad. But I haven't been able to change a DIV content either. I've tried innerHTML, write and it seems that document doesn't support any of the createXXX functions. Opera hasn't updated the specs of the DOM compliance at their site (They have only the Opera 4 specs), so its very difficult to know how it can be done. I believe that DynAPI can't be ported to Opera. I hope I'm wrong! Josep -----Mensaje original----- De: Scott Andrew LePera <sc...@sc...> Para: dyn...@li... <dyn...@li...> Fecha: viernes 15 de diciembre de 2000 1:28 Asunto: Re: [Dynapi-Dev] Mozilla & Opera >Well, that's it then! > >Funny how they bury it like that. > >-- >scott andrew lepera >----------------------------------- >web stuff: www.scottandrew.com >music stuff: www.walkingbirds.com >_______________________________________________ >Dynapi-Dev mailing list >Dyn...@li... >http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |
From: Josep M. i T. <jm...@ne...> - 2000-12-15 01:56:48
|
Hi! -----Mensaje original----- De: Brandon Myers <bnd...@ho...> Para: dyn...@li... <dyn...@li...> Fecha: viernes 15 de diciembre de 2000 2:27 Asunto: RE: [Dynapi-Dev] Mozilla & Opera >This was my updated browser.js file.. I've had it for about 2 months now... > >notice the line: else if (navigator.userAgent.indexOf("Opera")>0) this.b = >"opera"; > > >function BrowserCheck() { > var b = navigator.appName; > if (b=="Netscape") this.b = "ns"; > else if (navigator.userAgent.indexOf("Opera")>0) this.b = "opera"; > else if (b=="Microsoft Internet Explorer") this.b = "ie"; > if (!b) { > alert('This browser is not supported in this version'); > history.back(); > } > this.version = navigator.appVersion; > this.v = parseInt(this.version); > // Supported Browsers Below: > this.ns = (this.b=="ns" && this.v>=4); > this.ns4 = (this.b=="ns" && this.v==4); > this.ns5 = (this.b=="ns" && this.v==5); > > this.ie = (this.b=="ie" && this.v>=4); > this.ie4 = (this.version.indexOf('MSIE 4')>0); > this.ie55 = (this.version.indexOf('MSIE 5.5')>0); > if(this.ie55) this.v=5.5; > else { > this.ie5 = (this.version.indexOf('MSIE 5')>0); > if(this.ie5) this.v=5; > } > this.opera=(this.b=="opera"); > if (this.opera) this.v=this.version.split(" ")[0]; > // Detect as close to TRUE DOM as possible... DOM support in this API is >dependent on the following 2 functions. > this.dom = >((document.createRange&&(document.createRange().createContextualFragment))? t >rue:false); > if (this.dom) is.b="dom"; > this.min = (this.ns||this.ie||this.dom); > var ua = navigator.userAgent.toLowerCase(); > if (ua.indexOf("win")>-1) this.platform = "win32"; > else if (ua.indexOf("mac")>-1) this.platform = "mac"; Please, let me add: else if (ua.indexOf("OS/2")>-1) this.platform = "OS/2"; else if (ua.indexOf("X11")>-1) this.platform = "UNIX"; // yes I know that this is not always true! But it is often true! > else this.platform = "other"; >} > Regards! BTW, the archives of opera-users mailing list can be found http://web.opera.com/archives/public/opera-users/2000-December/ There are some posts about javascript, one of them is very interesting because its from a guy which want to change the contents of a span element. The point is that all the posts says javascript doesn't work, and I think that opera staff must also be suscribed to that list, don't they? So if they don't reply this guy to tell him how to do it I must think it can't be done. To sum up, I think all we can do is create all the widgets before onLoad (as Dan said) and neither create anything nor change the contents of anything. Regards, Josep |
From: Samuel, M. M <Sam...@ed...> - 2000-12-15 03:06:22
|
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? 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 -----Original Message----- From: Brandon Myers [mailto:bnd...@ho...] Sent: Friday, 15 December 2000 12:10 PM To: dyn...@li... Subject: RE: [Dynapi-Dev] Mozilla & Opera This was my updated browser.js file.. I've had it for about 2 months now... notice the line: else if (navigator.userAgent.indexOf("Opera")>0) this.b = "opera"; function BrowserCheck() { var b = navigator.appName; if (b=="Netscape") this.b = "ns"; else if (navigator.userAgent.indexOf("Opera")>0) this.b = "opera"; else if (b=="Microsoft Internet Explorer") this.b = "ie"; if (!b) { alert('This browser is not supported in this version'); history.back(); } this.version = navigator.appVersion; this.v = parseInt(this.version); // Supported Browsers Below: this.ns = (this.b=="ns" && this.v>=4); this.ns4 = (this.b=="ns" && this.v==4); this.ns5 = (this.b=="ns" && this.v==5); this.ie = (this.b=="ie" && this.v>=4); this.ie4 = (this.version.indexOf('MSIE 4')>0); this.ie55 = (this.version.indexOf('MSIE 5.5')>0); if(this.ie55) this.v=5.5; else { this.ie5 = (this.version.indexOf('MSIE 5')>0); if(this.ie5) this.v=5; } this.opera=(this.b=="opera"); if (this.opera) this.v=this.version.split(" ")[0]; // Detect as close to TRUE DOM as possible... DOM support in this API is dependent on the following 2 functions. this.dom = ((document.createRange&&(document.createRange().createContextualFragment))?t rue:false); if (this.dom) is.b="dom"; this.min = (this.ns||this.ie||this.dom); var ua = navigator.userAgent.toLowerCase(); if (ua.indexOf("win")>-1) this.platform = "win32"; else if (ua.indexOf("mac")>-1) this.platform = "mac"; else this.platform = "other"; } > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Scott Andrew > LePera > Sent: Thursday, December 14, 2000 6:51 PM > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Mozilla & Opera > > > Well, that's it then! > > Funny how they bury it like that. > > -- > scott andrew lepera > ----------------------------------- > web stuff: www.scottandrew.com > music stuff: www.walkingbirds.com > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Doug M. <do...@cr...> - 2000-12-15 16:55:01
|
RE: [Dynapi-Dev] Mozilla & Opera 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 =20 The impression I've gotten is that there is none. =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 Not if it can't render JavaScript.. :-) |
From: Brandon M. <bnd...@ho...> - 2000-12-15 18:52:57
|
Hey doug... gota a news flash for ya.. Nothing can render javascript! Only HTML. -----Original Message----- From: dyn...@li... [mailto:dyn...@li...]On Behalf Of Doug Melvin Sent: Friday, December 15, 2000 2:54 PM To: dyn...@li... Subject: Re: [Dynapi-Dev] Mozilla & Opera 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? The impression I've gotten is that there is none. 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 Not if it can't render JavaScript.. :-) |
From: Doug M. <do...@cr...> - 2000-12-15 19:40:30
|
So I used the wrong word. your sarcasm is quite uncalled for. ----- Original Message ----- From: "Brandon Myers" <bnd...@ho...> To: <dyn...@li...> Sent: Friday, December 15, 2000 10:55 AM Subject: RE: [Dynapi-Dev] Mozilla & Opera > Hey doug... gota a news flash for ya.. > > Nothing can render javascript! Only HTML. > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Doug Melvin > Sent: Friday, December 15, 2000 2:54 PM > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Mozilla & Opera > > > > > > > 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? > > The impression I've gotten is that there is none. > > 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 > > Not if it can't render JavaScript.. :-) > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Brandon M. <bnd...@ho...> - 2000-12-15 20:34:59
|
Sorry. I apologize. Was only ment in jest. > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Doug Melvin > Sent: Friday, December 15, 2000 5:39 PM > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Mozilla & Opera > > > So I used the wrong word. > your sarcasm is quite uncalled for. > ----- Original Message ----- > From: "Brandon Myers" <bnd...@ho...> > To: <dyn...@li...> > Sent: Friday, December 15, 2000 10:55 AM > Subject: RE: [Dynapi-Dev] Mozilla & Opera > > > > Hey doug... gota a news flash for ya.. > > > > Nothing can render javascript! Only HTML. > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...]On Behalf Of Doug Melvin > > Sent: Friday, December 15, 2000 2:54 PM > > To: dyn...@li... > > Subject: Re: [Dynapi-Dev] Mozilla & Opera > > > > > > > > > > > > > > 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? > > > > The impression I've gotten is that there is none. > > > > 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 > > > > Not if it can't render JavaScript.. :-) > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |
From: Doug M. <do...@cr...> - 2000-12-15 21:07:07
|
Maybe I should apologize as well. I'm a bit stressed out by the current project. The dumb F**k refuses to pay us for work to-date.. My phone got disconnected last week and my power will be disconnected as of five PM today... Doug Melvin ----- Original Message ----- From: "Brandon Myers" <bnd...@ho...> To: <dyn...@li...> Sent: Friday, December 15, 2000 12:37 PM Subject: RE: [Dynapi-Dev] Mozilla & Opera > Sorry. > I apologize. Was only ment in jest. > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...]On Behalf Of Doug Melvin > > Sent: Friday, December 15, 2000 5:39 PM > > To: dyn...@li... > > Subject: Re: [Dynapi-Dev] Mozilla & Opera > > > > > > So I used the wrong word. > > your sarcasm is quite uncalled for. > > ----- Original Message ----- > > From: "Brandon Myers" <bnd...@ho...> > > To: <dyn...@li...> > > Sent: Friday, December 15, 2000 10:55 AM > > Subject: RE: [Dynapi-Dev] Mozilla & Opera > > > > > > > Hey doug... gota a news flash for ya.. > > > > > > Nothing can render javascript! Only HTML. > > > -----Original Message----- > > > From: dyn...@li... > > > [mailto:dyn...@li...]On Behalf Of Doug Melvin > > > Sent: Friday, December 15, 2000 2:54 PM > > > To: dyn...@li... > > > Subject: Re: [Dynapi-Dev] Mozilla & Opera > > > > > > > > > > > > > > > > > > > > > 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? > > > > > > The impression I've gotten is that there is none. > > > > > > 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 > > > > > > Not if it can't render JavaScript.. :-) > > > > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Nuno F. <nun...@wi...> - 2000-12-16 02:59:31
|
Come on guys! A Flame war is the least we need on this list... best, NunoF -----Original Message----- From: dyn...@li... [mailto:dyn...@li...]On Behalf Of Doug Melvin Sent: sexta-feira, 15 de Dezembro de 2000 22:39 To: dyn...@li... Subject: Re: [Dynapi-Dev] Mozilla & Opera So I used the wrong word. your sarcasm is quite uncalled for. ----- Original Message ----- From: "Brandon Myers" <bnd...@ho...> To: <dyn...@li...> Sent: Friday, December 15, 2000 10:55 AM Subject: RE: [Dynapi-Dev] Mozilla & Opera > Hey doug... gota a news flash for ya.. > > Nothing can render javascript! Only HTML. > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Doug Melvin > Sent: Friday, December 15, 2000 2:54 PM > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Mozilla & Opera > > > > > > > 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? > > The impression I've gotten is that there is none. > > 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 > > Not if it can't render JavaScript.. :-) > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
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 |
From: Scott A. L. <sc...@sc...> - 2000-12-14 23:51:23
|
Well, that's it then! Funny how they bury it like that. -- scott andrew lepera ----------------------------------- web stuff: www.scottandrew.com music stuff: www.walkingbirds.com |
From: Brandon M. <bnd...@ho...> - 2000-12-15 01:08:22
|
This was my updated browser.js file.. I've had it for about 2 months now... notice the line: else if (navigator.userAgent.indexOf("Opera")>0) this.b = "opera"; function BrowserCheck() { var b = navigator.appName; if (b=="Netscape") this.b = "ns"; else if (navigator.userAgent.indexOf("Opera")>0) this.b = "opera"; else if (b=="Microsoft Internet Explorer") this.b = "ie"; if (!b) { alert('This browser is not supported in this version'); history.back(); } this.version = navigator.appVersion; this.v = parseInt(this.version); // Supported Browsers Below: this.ns = (this.b=="ns" && this.v>=4); this.ns4 = (this.b=="ns" && this.v==4); this.ns5 = (this.b=="ns" && this.v==5); this.ie = (this.b=="ie" && this.v>=4); this.ie4 = (this.version.indexOf('MSIE 4')>0); this.ie55 = (this.version.indexOf('MSIE 5.5')>0); if(this.ie55) this.v=5.5; else { this.ie5 = (this.version.indexOf('MSIE 5')>0); if(this.ie5) this.v=5; } this.opera=(this.b=="opera"); if (this.opera) this.v=this.version.split(" ")[0]; // Detect as close to TRUE DOM as possible... DOM support in this API is dependent on the following 2 functions. this.dom = ((document.createRange&&(document.createRange().createContextualFragment))?t rue:false); if (this.dom) is.b="dom"; this.min = (this.ns||this.ie||this.dom); var ua = navigator.userAgent.toLowerCase(); if (ua.indexOf("win")>-1) this.platform = "win32"; else if (ua.indexOf("mac")>-1) this.platform = "mac"; else this.platform = "other"; } > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Scott Andrew > LePera > Sent: Thursday, December 14, 2000 6:51 PM > To: dyn...@li... > Subject: Re: [Dynapi-Dev] Mozilla & Opera > > > Well, that's it then! > > Funny how they bury it like that. > > -- > scott andrew lepera > ----------------------------------- > web stuff: www.scottandrew.com > music stuff: www.walkingbirds.com > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Raymond S. <dst...@or...> - 2000-12-31 08:21:44
|
I spent a great deal of 2000 'hoovering' here, more so, then making any valid contributions. But I feel I am reaching a point that I can begin to shift from 'sucker of brain-calories spent by others' to 'modest personal brain-calorie, blow-pipe' (please excuse the metaphors). In general, I have two areas of interest that I am putting forward in an attempt to glean interest and possibly divine some groups working in these areas of interest (prior posts have occurred related to both of these areas by Dan, Bon3z and Richard). (1) More Robust Animation System (2) Integration Platform - PHP, DynAPI & MySQL (1) After spending a great deal of time toying with Dan's new animation system as well as playing with various techniques of chaining animation (ala Richard) one both appreciates the power and is simultaneously left wanting more. I am interested in pursuing the development of a more robust animation system (maybe timeline based) as well as more animation widgetry. (2) Most robust backend systems leave the client-side wearing concrete shoes. I think we have a tremendous opportunity to be both 'back-end powerful' and 'client-side dynamic' using MySQL, PHP and DynAPI as an implementation system. This creates the potential for self-animating polls/presentation information, robust user preference modules, etc. Both these areas are related, in that (1) tends to enhance (2) and visa versa. If you have an interest in further discussion this thread is meant to act as a start-point. Thanks Ray |
From: Raymond S. <dst...@or...> - 2000-12-31 12:18:54
Attachments:
circleanim.zip
|
If you generated a path with a (-) negative number in setAngleIncrement method (to allow you to determine direction, clockwise(-) or counter clockwise(+) it would freeze up during this line "for (var a=this.angle;a<=this.angle+Math.PI*2;a+=this.angleinc) {" in the generatePath method of circle.js. This method is critical because it allows you to inherit both 'loop' and 'reset' functionality from pathanim.js and have some real fun. Now you setAngleIncrement as a positive for speed and use setDirection (+ or - 1) to set path direction. Tested in both IE and NS on WinME. added/changed the following lines. Full js file attached. ____________________________________________________________________________ ____________ this.direction = 1 CircleAnimation.prototype.setDirection = function (d) { this.direction = d; CircleAnimation.prototype.generatePath = function(centerX,centerY) { if (centerX==null) centerX = this.dlyr!=null? this.dlyr.x : 0; if (centerY==null) centerY = this.dlyr!=null? this.dlyr.y : 0; var path = []; var i = 0; for (var a=this.angle;a<=this.angle+Math.PI*2;a+=this.angleinc) { path[i] = Math.round(centerX + this.hradius*Math.cos(this.direction*a)); path[i+1] = Math.round(centerY - this.vradius*Math.sin(this.direction*a)); i+=2; } return path; }; ____________________________________________________________________________ ____________ cheers, Ray |
From: Nuno F. <nun...@wi...> - 2001-01-02 16:14:26
|
>(2) Most robust backend systems leave the client-side wearing concrete >shoes. I think we have a tremendous opportunity to be both 'back-end >powerful' and 'client-side dynamic' using MySQL, PHP and DynAPI as an >implementation system. This creates the potential for self-animating >polls/presentation information, robust user preference modules, etc. I've been working on this area, an in a couple weeks time I'm gonna start designing and implementing my company's website (web design company). The site will have, basically, two implementations, one in Flash, and another in DHTML (my part :). Both will access the same MySQL database, though they will probably have different layouts/design because it's supposed to showcase different approaches to a web site, using the best both approaches can deliver. So I for one will have material to discuss on this thread. best, NunoF |