You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(75) |
Nov
(252) |
Dec
(418) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(659) |
Feb
(1039) |
Mar
(870) |
Apr
(235) |
May
(329) |
Jun
(251) |
Jul
(123) |
Aug
(119) |
Sep
(67) |
Oct
(194) |
Nov
(535) |
Dec
(133) |
2002 |
Jan
(122) |
Feb
(24) |
Mar
(29) |
Apr
(28) |
May
(16) |
Jun
(20) |
Jul
(11) |
Aug
(12) |
Sep
(13) |
Oct
(14) |
Nov
(23) |
Dec
(19) |
2003 |
Jan
(28) |
Feb
(170) |
Mar
(288) |
Apr
(211) |
May
(126) |
Jun
(166) |
Jul
(131) |
Aug
(102) |
Sep
(211) |
Oct
(301) |
Nov
(22) |
Dec
(6) |
2004 |
Jan
(14) |
Feb
(16) |
Mar
(7) |
Apr
|
May
(8) |
Jun
(25) |
Jul
(21) |
Aug
(2) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(1) |
2005 |
Jan
(4) |
Feb
(2) |
Mar
(14) |
Apr
(24) |
May
(3) |
Jun
(7) |
Jul
(30) |
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
From: David C. <dle...@ya...> - 2001-02-27 03:52:30
|
Greetings, First of all, i spent more than my share of time adjusting animation speeds back and forth <g>. Nuff said bout that. Here are the links to the test pages, although I reccommend downloading the zip file and running them from the hard drive with as much turned off as possible. It affects the processing speed slightly. My tests with everything off were very repeatable, but when running it from the web, they varied slightly. I adjusted the code from the original to make it compatible to NN6. I also am attaching the links to the articles from which I learned this information (their tests are throwing errors today, not sure what changed but my code was tested just a few minutes ago and it works). setInterval Test http://www.merlinsworld.net/dynapitest/setinterval_test.htm setTimeout Test http://www.merlinsworld.net/dynapitest/settimeout_test.htm Speeding Up Frame Rates For DHTML Animation in Win98 http://www.webreference.com/dhtml/column34/index.html Smooth animation using DHTML http://webreference.com/dhtml/column28/index.html Also, I would like to hear everyone's thoughts about changing thread to give it uniform animation across browsers. I will attempt a beta test of this, but my lowly win9x system will not show me the differences, I will need help there. Or am I wasting my time? Opinions? Anyone? Everyone? Cheers, Dave C. "You Changed What?!?" __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ |
From: Robert R. <rra...@ya...> - 2001-02-27 03:41:32
|
Sorry, I should have said 3:31 PM PST. -- // Robert Rainwater -- DynAPI Homepage: http://dynapi.sourceforge.net/ DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ On Monday, February 26, 2001 6:26:47 PM Doug Melvin wrote: > Thanks.. > ----- Original Message ----- > From: "Robert Rainwater" <rra...@ya...> > To: <dyn...@li...> > Sent: Monday, February 26, 2001 3:21 PM > Subject: Re: [Dynapi-Dev] CVS snapshot > > > > It runs at 3:31 PST. Although, lately sourceforge's backup server is > > the only one up, so the time seems to vary. > > > > -- > > // Robert Rainwater > > > > -- > > DynAPI Homepage: http://dynapi.sourceforge.net/ > > DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ > > > > > > On Monday, February 26, 2001 4:22:47 PM Doug Melvin wrote: > > > At what time of day is the snapshot updated (and timezone I guess)? > > > > > > > > > --- > > > Outgoing mail is certified Virus Free by AVG Free Edition > > > Download at: http://www.grisoft.com/html/us_index.cfm > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > --- > Outgoing mail is certified Virus Free by AVG Free Edition > Download at: http://www.grisoft.com/html/us_index.cfm > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev |
From: Michael P. <mp...@po...> - 2001-02-27 02:52:28
|
because if you change, in the below, example button2.onClick, this wil then effect button3.onClick because on the we they are linked. Richard Bennett wrote: > Ah yes, > Why do eventlisteners get the preference then? > > ----- Original Message ----- > From: "Michael Pemberton" <mp...@po...> > To: <dyn...@li...> > Sent: Tuesday, February 27, 2001 2:04 AM > Subject: Re: [Dynapi-Dev] My Latest > > > this can be dome with: > > button1.onClick=button2.onClick=button3.onClick=function() { ... }; > > > > this is actually more economical than listeners. > > > > Richard Bennett wrote: > > > > > although if you have a lot of layers with a click event, it would be > more > > > economical to use one event listener for all of them. > > > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > > > > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > ____________________________________________________________ > > Get your domain name and domain-based e-mail from > > Namezero.com. New! Namezero Plus domains now available. > > Find out more at: http://www.namezero.com > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Robert R. <rra...@ya...> - 2001-02-27 02:43:37
|
Since it is very difficult to keep the dynapi.sourceforge.net site up-to-date, I've put up a new site that should allow more interaction than just the mailing lists. I know the layout is not the greatest right now as I havent had a lot of time lately to work on it. If anyone has any designs they would like to use, you can send them to me. Since the site supports themes, it will be easy to add a theme with a new design. I think the new site will let us notify the public outside of the mailing lists of things going on with the DynAPI. I think it will be a great way to show off peoples ideas, wigets, sites, etc. Let me know what ya think. -- // Robert Rainwater -- DynAPI Homepage: http://dynapi.sourceforge.net/ DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ |
From: Robert R. <rra...@ya...> - 2001-02-27 02:03:12
|
Using that method you can only define one method for the event. Using event listeners, any object can listen for events and capture them without having to be tied into the event. -- // Robert Rainwater -- DynAPI Homepage: http://dynapi.sourceforge.net/ DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ On Monday, February 26, 2001 8:57:47 PM Richard Bennett wrote: > Ah yes, > Why do eventlisteners get the preference then? > > ----- Original Message ----- > From: "Michael Pemberton" <mp...@po...> > To: <dyn...@li...> > Sent: Tuesday, February 27, 2001 2:04 AM > Subject: Re: [Dynapi-Dev] My Latest > > > > this can be dome with: > > button1.onClick=button2.onClick=button3.onClick=function() { ... }; > > > > this is actually more economical than listeners. > > > > Richard Bennett wrote: > > > > > although if you have a lot of layers with a click event, it would be > more > > > economical to use one event listener for all of them. > > > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > > > > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > ____________________________________________________________ > > Get your domain name and domain-based e-mail from > > Namezero.com. New! Namezero Plus domains now available. > > Find out more at: http://www.namezero.com > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev |
From: Michael P. <mp...@po...> - 2001-02-27 02:00:11
|
yes, it is evaluated every time. but it allows for more dynamic coding. since it is mouse click events only, speed is not exactly critical. It means that you can select if you want the event to get through to the browser. this is the case with NS and i believ that we should be working towards making the syntax the same for both. No cancelling the browser event on a right mouse click disables menus in both browsers regardless of whether or not you have loaded the right patch. As for the version no. I'm not sure about ie4, it can be changed to ie4 if needed. Richard Bennett wrote: > Although the code is nice and concise, > doesn't this mean that this code is evaluated every time the mouse goes down > on any layer, and all bubbled too layers, for any reason, instead of only > for a layer that's about to be dragged ? > > If I'm not mistaken the current code is : > if (is.ie) lyr.doc.body.onselectstart = null; > is the unwanted textselecting effect IE5+ only? > > Richard > > ----- Original Message ----- > From: "Michael Pemberton" <mp...@po...> > To: <dyn...@li...> > Sent: Sunday, February 25, 2001 2:13 PM > Subject: [Dynapi-Dev] Context Menus and Text Selection in IE5 > > > I've combined the different methods of stopping IE from displaying > > context menus and selecting text into the following lines of code. They > > should be placed just before the "return evt.browserReturn;" line. > > > > if (is.ie5) { > > if (evt.type=='mouseup' && evt.button==3) > > dyndoc.doc.oncontextmenu=(evt.browserReturn) ? null : function() {return > > false}; > > else if (evt.type=='mousedown') > > dyndoc.doc.body.onselectstart=(evt.browserReturn) ? null : function() > > {return false}; > > }; > > > > This means that there is now no need to repeat the code in all the > > different widgets. Just cancel the browser event and the above code > > will do the rest. > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > > > > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > ____________________________________________________________ > > Get your domain name and domain-based e-mail from > > Namezero.com. New! Namezero Plus domains now available. > > Find out more at: http://www.namezero.com > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Richard B. <ma...@ri...> - 2001-02-27 01:54:18
|
Ah yes, Why do eventlisteners get the preference then? ----- Original Message ----- From: "Michael Pemberton" <mp...@po...> To: <dyn...@li...> Sent: Tuesday, February 27, 2001 2:04 AM Subject: Re: [Dynapi-Dev] My Latest > this can be dome with: > button1.onClick=button2.onClick=button3.onClick=function() { ... }; > > this is actually more economical than listeners. > > Richard Bennett wrote: > > > although if you have a lot of layers with a click event, it would be more > > economical to use one event listener for all of them. > > -- > Michael Pemberton > mp...@ph... > ICQ: 12107010 > > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Richard B. <ma...@ri...> - 2001-02-27 01:38:53
|
Although the code is nice and concise, doesn't this mean that this code is evaluated every time the mouse goes down on any layer, and all bubbled too layers, for any reason, instead of only for a layer that's about to be dragged ? If I'm not mistaken the current code is : if (is.ie) lyr.doc.body.onselectstart = null; is the unwanted textselecting effect IE5+ only? Richard ----- Original Message ----- From: "Michael Pemberton" <mp...@po...> To: <dyn...@li...> Sent: Sunday, February 25, 2001 2:13 PM Subject: [Dynapi-Dev] Context Menus and Text Selection in IE5 > I've combined the different methods of stopping IE from displaying > context menus and selecting text into the following lines of code. They > should be placed just before the "return evt.browserReturn;" line. > > if (is.ie5) { > if (evt.type=='mouseup' && evt.button==3) > dyndoc.doc.oncontextmenu=(evt.browserReturn) ? null : function() {return > false}; > else if (evt.type=='mousedown') > dyndoc.doc.body.onselectstart=(evt.browserReturn) ? null : function() > {return false}; > }; > > This means that there is now no need to repeat the code in all the > different widgets. Just cancel the browser event and the above code > will do the rest. > -- > Michael Pemberton > mp...@ph... > ICQ: 12107010 > > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Richard B. <ma...@ri...> - 2001-02-27 01:32:27
|
The resources I know for that are: http://www.mail-archive.com/index.php3?hunt=dynapi From which you should be able to leach all messages, or just ask them, maybe they have this for backup purpose. And: http://sourceforge.net/mail/?group_id=5757 In case it's of any help. Richard. ----- Original Message ----- From: "Darryl Cousins" <dar...@fr...> To: <dyn...@li...> Sent: Monday, February 26, 2001 8:02 PM Subject: [Dynapi-Dev] Enhanced FAQ > > Hello, I would like to make an attempt at producing an enhanced FAQ using > the DynAPI-Help archives as my resource. > > The current FAQ is a great help but I would like to expand it. I've been > reading daily the help listings for something over a month and many > questions have been answered in depth which would help any user. > > I've looked at the downloadable g'zipped archive but sadly it isn't > categorized in threads. I couldn't check all the listings on-line because I > can't afford it. So then to the request which would get me started: Is it > possible for me to download the archives as a mirror site? (Or is there an > alternative?) > > This is a sincere and motivated project. > > Blessings, Darryl Cousins > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Michael P. <mp...@po...> - 2001-02-27 01:07:22
|
this can be dome with: button1.onClick=button2.onClick=button3.onClick=function() { ... }; this is actually more economical than listeners. Richard Bennett wrote: > although if you have a lot of layers with a click event, it would be more > economical to use one event listener for all of them. -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Michael P. <mp...@po...> - 2001-02-27 01:04:37
|
I've attached a version that I have cleaned up and commented with possible changes. I'd also suggest that the setStyle() method be changed to an ext/layer.js method as I'm still to see any code that uses it. Robert Rainwater wrote: > Actually, the else is not even needed since the the if above returns. > Thanks for noticing that, I will update cvs soon. > > -- > // Robert Rainwater > > -- > DynAPI Homepage: http://dynapi.sourceforge.net/ > DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ > > On Monday, February 26, 2001 7:31:24 AM Michael Pemberton wrote: > > there is a minor syntax glitch in the setClip() method. > > else { > > if (c.indexOf("rect(")>-1) { > > ..... > > } > > } > > should be: > > else if (c.indexOf("rect(")>-1) { > > ..... > > } > > > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > > > > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Richard B. <ma...@ri...> - 2001-02-27 00:59:09
|
I would say go for it Doug, like the Matrix, my examples, the faq, user manuals, dev manuals, tutorials etc, these things take a lot time to keep them updated, we can't expect Robert or Pascal to Do *all* of this. And whether or not a JS Repository is hosted at dynapi.sourceforge.net doesn't seem so relevant to start with, as it's not strictly DynAPI anyway. Just my idea :o) Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Tuesday, February 27, 2001 3:37 AM Subject: Re: [Dynapi-Dev] JS Respository > I would be very interested in such a project. > And this is close to my profession, I'm a B2C, and B2B e-commerce > developer.. :-) > > Such a databse would be VERY usefull. > > If, there are any restrictions preventing such a project from being mounted > at dynapi.sourceforge.net > I will once-again offer some free webspace, and programming. > > Doug > ----- Original Message ----- > From: "Raymond Smith" <dst...@or...> > To: <dyn...@li...> > Sent: Monday, February 26, 2001 3:23 PM > Subject: Re: [Dynapi-Dev] JS Respository > > > > Seems to me that a lot of really good and obscure Javascript conventions > > move through this site on a weekly basis. It would be nice to capture and > > index these to create a general JS resource repsository we can reference. > > This ideally should be stored at the dynAPI home page. > > > > Personally, I will be willing to "accumulate and forward" solid JS > > information to someone, somewhere just let me know. Or, better yet we > > should create a "JS Tidbits" submission form at the homepage. Then anyone > > can post idea pick-up to this area. Any database megamen looking for a > > "mini-project"? > > > > Ray > > > > Take this recent input from David for example..., nice to know. Hard to > > find out > > > > ----- Original Message ----- > > From: "David Cushman" <dle...@ya...> > > To: <dyn...@li...> > > Sent: Monday, February 26, 2001 3:11 PM > > Subject: [Dynapi-Help] Use of setTimeout and setInterval Impact on > animation > > > > > > > Greetings All, > > > I have been working a lot with images and > > > animations. I have noticed quite a few problems, but > > > the following was really puzzling me. The display > > > time (animation rate) differences between browsers. > > > In researching this I discoverd (and verified) the > > > following: > > > setTimeout and setInterval have a minimum floor and > > > behave differently in different operating > > > systems/browsers. > > > > > > Operating systems and minimum time slice: > > > win9x and winME 55ms minimum > > > NT and win2k 10ms minimum > > > > > > Then, to add to the problem, the different browsers > > > behave differently. > > > > > > setTimeout breaks in all browsers at multiples of the > > > system minimum. ie if you are using > > > win98, settings of > > > 1-55 = 55ms approx. > > > 56-110 = 110ms approx. > > > 111-165 = 165ms approx. > > > 166-220 = 220ms approx. > > > and so on by increments of the minimum timeslice (55 > > > here) > > > > > > setInterval behaves differently based on the browser. > > > all browsers at less than the system minimum (using > > > win9x 55ms for examples) > > > 0-55 = 55ms approx. > > > IE again follows the increment of system minimum for > > > all values as in the setTimeout example > > > ns4 and ns6 above the system minimum will fairly > > > closely fall on the desired setting > > > 66ms = 66ms approx. and so on. > > > > > > It is possible to use a multithread technique to > > > reduce the win9x timing to around 37ms (still testing > > > this). > > > > > > What does it mean? If you are using setInterval or > > > setTimeout in your code or using any of the animation > > > widgets, setting a value below 55 ms is pointless for > > > win9x (majority of users I believe). > > > > > > I have seen a lot of code written in DynAPI with > > > setTimeout values below 55, this may affect how the > > > code operates under NT as opposed to win9x. A setting > > > of 10 that defaults to 55ms may work well under win9x, > > > but when run under NT or win2K it may be too fast. > > > > > > Animation in DynAPI > > > The majority of the animation widgets use thread as > > > the basis for the timing. Thread uses setInterval > > > which behaves differently under ns vs ie (see above) > > > when above the system minimum (55ms). This results in > > > major differences between the animation sequences if a > > > setting above 55 is used. For example: a setting of > > > 75 will run at 75 under NS but will default to 110 > > > under IE. This number is the setting you apply to > > > .sleep() when using the widgets. Just for general > > > information, the default setting for .sleep() in > > > thread is 50ms. > > > > > > I have some test pages that I got from other sources > > > that I have been using to run tests to verify this. > > > If anyone is interested, I will post them. I would > > > like to hear from anyone interested in running the > > > same tests on mac and under different browsers > > > (opera?). I am also working on a beta of thread that > > > uses multithreading techniques for individual > > > animations, the goal, a smoother animation. Not sure > > > this will work though. > > > > > > Another thought is that we change thread to use a > > > series of numbers instead of the timing value itself. > > > Then a new routine in thread could check the operating > > > system/browser and assign a preset number based on > > > this lookup. Unfortunately it would have to default > > > to the values of the worst system, IEunder win9x > > > (increments of 55). This would impact the playback > > > under NN/win9x, but would give us a consistant > > > animation across browsers. Isn't this what DynAPI is > > > all about? > > > Comments? > > > > > > one final interesting note, the tests under NN6 took > > > twice as long to complete but gave the same timed > > > results. I speculate that NN6 is somehow evaluating > > > the code once before running it? Anybody have any > > > ideas or facts on this? This really impacts any > > > animation done in DynAPI when displayed under NN6 > > > (yes, I know it is not supported yet). > > > > > > Cheers, > > > Dave C. "You Changed What?!?" > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > --- > Outgoing mail is certified Virus Free by AVG Free Edition > Download at: http://www.grisoft.com/html/us_index.cfm > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Richard B. <ma...@ri...> - 2001-02-27 00:52:37
|
Ok, I tried these out and the window manager is pretty cool. Good for controlling a list of windows, for a forum, or something. The downside is that you seem to have to give the window manager full control over the windows, if you try to do something manually to a window, like adding draggability, it isn't controlled by the window manager anymore. Do you have to build all the needed functions into the manager, or am I doing something wrong? The simpleevent is easy, and, ironically, closely resembles what Pascal was doing in his skinbutton widgets. This approach was later dropped in favor of event listeners, but it's true they add less complicated code to your page, although if you have a lot of layers with a click event, it would be more economical to use one event listener for all of them. Nice stuff anyway. Richard. ----- Original Message ----- From: "Eytan Heidingsfeld" <ey...@tr...> To: "Dynapi-Dev" <dyn...@li...> Sent: Monday, February 26, 2001 8:42 PM Subject: [Dynapi-Dev] My Latest > Well first of all since the DynAPI development (mainly pascal) started > working more in my way and I agreed on some matter with pascal there is no > need for Canvas. > On the other hand I do like my way of handling events so I created a file > called simpleevents.js that lets you use the regular DynAPI event structure > or mine or both. > Included is a simple example. > Also I started working on a Windows Manager. this Windows Manager will be > the logic and not the GUI. Hence it has a property of an object called gui > which you can set. It then calls this object on certain events (minimize as > such). Currently working with DynLayers as windows(I'm planning on putting > some type of window together). Included is also windowmanager.js and also an > example. > 8an > |
From: Michael P. <mp...@po...> - 2001-02-27 00:45:38
|
There is a major feature missing from the current code. I've already posted it on this list, but here's my suggestion again. I believe that a sleep() method should do just that, sleep. it should no alter the frame rate of the animation. for this, there is already a setFPS() method. -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Doug M. <do...@cr...> - 2001-02-27 00:45:31
|
That's fine, I'm used to using hidden frames.. Use them a lot for client-server database com. Just so long as I get the HTML from the file then I am very happy.. To date I've been compressing my html into a single line and then including the single line in my project. Avoiding this step would reduce my mem usage as well as my load time. ----- Original Message ----- From: "Michael Pemberton" <mp...@po...> To: <dyn...@li...> Sent: Monday, February 26, 2001 4:38 PM Subject: Re: [Dynapi-Dev] External loading trick - advanced - > it just wraps the external file into form text area. > > it still requires that the page be loaded into an external frame. > > Doug Melvin wrote: > > > that sounds very interesting.. > > But I'm not clear on what you are doing? > > Are youloading an external file into a textarea? > > That would rock, as we can then stuff the contents of the page into a > > size table in a layer... ect.. > > > > ----- Original Message ----- > > From: "Jordi - IlMaestro - Ministral" <jmi...@or...> > > To: <dyn...@li...> > > Sent: Monday, February 26, 2001 5:33 AM > > Subject: [Dynapi-Dev] External loading trick - advanced - > > > > > Here's something I came up with while working on the project that almost > > killed > > > me last week. I needed ( or wanted ) to load external contents inside of > > my > > > layers, but didn't want to use the loadpanel. > > > > > > My personal opinion is that the future of loading external contents does > > not go > > > through the loadpanel. Not because of the panel itself but because of the > > very > > > nature of the browsers and all the problems of synchronization that > > involve. > > > I'd like to use setHTMLs (with or without Java would be another > > discussion). > > > > > > My main concern was to have an external page that could be browsed as > > > standalone and yet loaded into a dynlayer. Even edited with dreamweaver. > > Here's > > > the solution. I thought I'd share. > > > > > > <script> > > > if(parent.content.DynAPI) // Insert your condition here > > > { > > > window.onload = function() { > > > parent.content.scroll.setHTML(document.form1.txt.value) > > > } > > > document.write("<form name=form1><textarea name=txt>") > > > } > > > </script> > > > > > > > > > This is the page > > > > > > > > > <script> > > > if(parent.content.DynAPI) // Insert your condition here > > > { > > > document.write("</textarea></form>") > > > } > > > </script> > > > > > > > > > > > > ---- > > > > > > This worked fine. Pages can be seen as stand-alone and can be loaded > > inside my > > > application. It is a bit dirty but back in the old Dyn1 days we needed to > > have > > > a parent.scroll.activate() call anyway. If you have links inside you will > > need > > > the scroll object to parse them and change them to > > > 'javascript:scroll.load(.....)' > > > > > > Hope this helps anyone > > > > > > > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > --- > > Outgoing mail is certified Virus Free by AVG Free Edition > > Download at: http://www.grisoft.com/html/us_index.cfm > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > -- > Michael Pemberton > mp...@ph... > ICQ: 12107010 > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 |
From: Michael P. <mp...@po...> - 2001-02-27 00:41:59
|
it just wraps the external file into form text area. it still requires that the page be loaded into an external frame. Doug Melvin wrote: > that sounds very interesting.. > But I'm not clear on what you are doing? > Are youloading an external file into a textarea? > That would rock, as we can then stuff the contents of the page into a > size table in a layer... ect.. > > ----- Original Message ----- > From: "Jordi - IlMaestro - Ministral" <jmi...@or...> > To: <dyn...@li...> > Sent: Monday, February 26, 2001 5:33 AM > Subject: [Dynapi-Dev] External loading trick - advanced - > > > Here's something I came up with while working on the project that almost > killed > > me last week. I needed ( or wanted ) to load external contents inside of > my > > layers, but didn't want to use the loadpanel. > > > > My personal opinion is that the future of loading external contents does > not go > > through the loadpanel. Not because of the panel itself but because of the > very > > nature of the browsers and all the problems of synchronization that > involve. > > I'd like to use setHTMLs (with or without Java would be another > discussion). > > > > My main concern was to have an external page that could be browsed as > > standalone and yet loaded into a dynlayer. Even edited with dreamweaver. > Here's > > the solution. I thought I'd share. > > > > <script> > > if(parent.content.DynAPI) // Insert your condition here > > { > > window.onload = function() { > > parent.content.scroll.setHTML(document.form1.txt.value) > > } > > document.write("<form name=form1><textarea name=txt>") > > } > > </script> > > > > > > This is the page > > > > > > <script> > > if(parent.content.DynAPI) // Insert your condition here > > { > > document.write("</textarea></form>") > > } > > </script> > > > > > > > > ---- > > > > This worked fine. Pages can be seen as stand-alone and can be loaded > inside my > > application. It is a bit dirty but back in the old Dyn1 days we needed to > have > > a parent.scroll.activate() call anyway. If you have links inside you will > need > > the scroll object to parse them and change them to > > 'javascript:scroll.load(.....)' > > > > Hope this helps anyone > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > --- > Outgoing mail is certified Virus Free by AVG Free Edition > Download at: http://www.grisoft.com/html/us_index.cfm > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Michael P. <mp...@po...> - 2001-02-27 00:39:24
|
i am not sure that there is any reason other than good syntax. it reduces the need to rely on "idiot-proof" browsers. Doug Melvin wrote: > I think you missed the point of my message. > I wasn't saying that there are no glitches. > I was asking the difference out of professional interest > > Later > doug > ----- Original Message ----- > From: "Michael Pemberton" <mp...@po...> > To: <dyn...@li...> > Sent: Monday, February 26, 2001 4:21 PM > Subject: Re: [Dynapi-Dev] More minor glitches > > > just becuase something works, doesn't mean that it is right. > > > > there are too many glitches that are being left unchanged because they > > aren't > > bugs. > > > > Doug Melvin wrote: > > > > > is that so different? > > > (no, really I ned to know) > > > I mainly use the first method, but some of mty older code uses the > second > > > ----- Original Message ----- > > > From: "Michael Pemberton" <mp...@po...> > > > To: <dyn...@li...> > > > Sent: Monday, February 26, 2001 4:26 AM > > > Subject: [Dynapi-Dev] More minor glitches > > > > > > > there is a minor syntax glitch in the setClip() method. > > > > else { > > > > if (c.indexOf("rect(")>-1) { > > > > ..... > > > > } > > > > } > > > > should be: > > > > else if (c.indexOf("rect(")>-1) { > > > > ..... > > > > } > > > > > > > > -- > > > > Michael Pemberton > > > > mp...@ph... > > > > ICQ: 12107010 > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > > > --- > > > Outgoing mail is certified Virus Free by AVG Free Edition > > > Download at: http://www.grisoft.com/html/us_index.cfm > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > --- > Outgoing mail is certified Virus Free by AVG Free Edition > Download at: http://www.grisoft.com/html/us_index.cfm > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Richard B. <ma...@ri...> - 2001-02-27 00:37:31
|
That was some very interesting stuff, you make me feel a bit of a fool spending lot's of time fine-tuning animations to run smother by setting sleep to 10, then 20, then "no, 10 was smoother" etc. Why don't you put the tests up so we can do them online? I can help testing such exotics as WinME/IE5.5. Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi ----- Original Message ----- From: "David Cushman" <dle...@ya...> To: <dyn...@li...> Sent: Tuesday, February 27, 2001 12:47 AM Subject: [Dynapi-Dev] setTimeout and setInterval affect on animation > Greetings All, > Thanks Raymond for posting my submission from the > help list ( [Dynapi-Dev] JS Respository), I was going > to, but forgot to save it before sending <g>. I was > waiting for it to show up on the list. > I would appreciate feedback on the issues in that > e-mail here also. > > Please use this thread to respond to them. > > Cheers, > Dave C. "You Changed What?!?" > > __________________________________________________ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Doug M. <do...@cr...> - 2001-02-27 00:29:21
|
I think you missed the point of my message. I wasn't saying that there are no glitches. I was asking the difference out of professional interest Later doug ----- Original Message ----- From: "Michael Pemberton" <mp...@po...> To: <dyn...@li...> Sent: Monday, February 26, 2001 4:21 PM Subject: Re: [Dynapi-Dev] More minor glitches > just becuase something works, doesn't mean that it is right. > > there are too many glitches that are being left unchanged because they > aren't > bugs. > > Doug Melvin wrote: > > > is that so different? > > (no, really I ned to know) > > I mainly use the first method, but some of mty older code uses the second > > ----- Original Message ----- > > From: "Michael Pemberton" <mp...@po...> > > To: <dyn...@li...> > > Sent: Monday, February 26, 2001 4:26 AM > > Subject: [Dynapi-Dev] More minor glitches > > > > > there is a minor syntax glitch in the setClip() method. > > > else { > > > if (c.indexOf("rect(")>-1) { > > > ..... > > > } > > > } > > > should be: > > > else if (c.indexOf("rect(")>-1) { > > > ..... > > > } > > > > > > -- > > > Michael Pemberton > > > mp...@ph... > > > ICQ: 12107010 > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > --- > > Outgoing mail is certified Virus Free by AVG Free Edition > > Download at: http://www.grisoft.com/html/us_index.cfm > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 |
From: Richard B. <ma...@ri...> - 2001-02-27 00:23:41
|
I thought you were anticipating peoples questions, and answering them before they asked them ;o) ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Tuesday, February 27, 2001 3:06 AM Subject: Re: [Dynapi-Dev] Just a comment ... > All messages are handled by an Email list handler.. > I'm guessing that the handler operates at a certain interval, > and that it then processess all stored messages, either in reverse order or > in no order at all.. > > ----- Original Message ----- > From: "Raides J. Rodríguez Domínguez" <ra...@te...> > To: <dyn...@li...> > Sent: Monday, February 26, 2001 2:00 PM > Subject: [Dynapi-Dev] Just a comment ... > > > > > Doug Melvin wrote: > > > > > > At what time of day is the snapshot updated (and timezone I guess)? > > > > BTW, why do your post all come later than the answer to them?? This > > happens if I order my mail by Date, of course. This one I'm answering > > has this headers inside it: > > > > Subject: [Dynapi-Dev] CVS snapshot > > Date: Mon, 26 Feb 2001 16:19:33 -0800 > > From: "Doug Melvin" <do...@cr...> > > Reply-To: dyn...@li... > > To: <dyn...@li...> > > > > but in the date field of my NS mail client it reads: 27/02/01 0:19 > > (which is my timezone corrected time of day). > > > > Raides J. > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > --- > Outgoing mail is certified Virus Free by AVG Free Edition > Download at: http://www.grisoft.com/html/us_index.cfm > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Richard B. <ma...@ri...> - 2001-02-27 00:23:41
|
(From the faq:)(better suited to Help list) Check the mailinglist archives for all posts: http://www.mail-archive.com/index.php3?hunt=dynapi Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi ----- Original Message ----- From: "Lasse Lindgård" <la...@li...> To: "DynAPI" <dyn...@li...> Sent: Monday, February 26, 2001 4:37 PM Subject: [Dynapi-Dev] Memory leak > Hi, > > My mails has been disapairing into the void while we have been changing ISPs > the last couple of days. > > So I have missed digest #270 through #282 (both included). > > I was wondering if someone could forward me the digests from the period so I > can catch up. > > The memory leak thread seems to have vanished. Did anyone come up with > anything ? > > /Lasse > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Michael P. <mp...@po...> - 2001-02-27 00:20:13
|
just becuase something works, doesn't mean that it is right. there are too many glitches that are being left unchanged because they aren't bugs. Doug Melvin wrote: > is that so different? > (no, really I ned to know) > I mainly use the first method, but some of mty older code uses the second > ----- Original Message ----- > From: "Michael Pemberton" <mp...@po...> > To: <dyn...@li...> > Sent: Monday, February 26, 2001 4:26 AM > Subject: [Dynapi-Dev] More minor glitches > > > there is a minor syntax glitch in the setClip() method. > > else { > > if (c.indexOf("rect(")>-1) { > > ..... > > } > > } > > should be: > > else if (c.indexOf("rect(")>-1) { > > ..... > > } > > > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > > > > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > --- > Outgoing mail is certified Virus Free by AVG Free Edition > Download at: http://www.grisoft.com/html/us_index.cfm > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev |
From: David C. <dle...@ya...> - 2001-02-26 23:45:56
|
Greetings All, Thanks Raymond for posting my submission from the help list ( [Dynapi-Dev] JS Respository), I was going to, but forgot to save it before sending <g>. I was waiting for it to show up on the list. I would appreciate feedback on the issues in that e-mail here also. Please use this thread to respond to them. Cheers, Dave C. "You Changed What?!?" __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ |
From: Doug M. <do...@cr...> - 2001-02-26 23:38:12
|
I would be very interested in such a project. And this is close to my profession, I'm a B2C, and B2B e-commerce developer.. :-) Such a databse would be VERY usefull. If, there are any restrictions preventing such a project from being mounted at dynapi.sourceforge.net I will once-again offer some free webspace, and programming. Doug ----- Original Message ----- From: "Raymond Smith" <dst...@or...> To: <dyn...@li...> Sent: Monday, February 26, 2001 3:23 PM Subject: Re: [Dynapi-Dev] JS Respository > Seems to me that a lot of really good and obscure Javascript conventions > move through this site on a weekly basis. It would be nice to capture and > index these to create a general JS resource repsository we can reference. > This ideally should be stored at the dynAPI home page. > > Personally, I will be willing to "accumulate and forward" solid JS > information to someone, somewhere just let me know. Or, better yet we > should create a "JS Tidbits" submission form at the homepage. Then anyone > can post idea pick-up to this area. Any database megamen looking for a > "mini-project"? > > Ray > > Take this recent input from David for example..., nice to know. Hard to > find out > > ----- Original Message ----- > From: "David Cushman" <dle...@ya...> > To: <dyn...@li...> > Sent: Monday, February 26, 2001 3:11 PM > Subject: [Dynapi-Help] Use of setTimeout and setInterval Impact on animation > > > > Greetings All, > > I have been working a lot with images and > > animations. I have noticed quite a few problems, but > > the following was really puzzling me. The display > > time (animation rate) differences between browsers. > > In researching this I discoverd (and verified) the > > following: > > setTimeout and setInterval have a minimum floor and > > behave differently in different operating > > systems/browsers. > > > > Operating systems and minimum time slice: > > win9x and winME 55ms minimum > > NT and win2k 10ms minimum > > > > Then, to add to the problem, the different browsers > > behave differently. > > > > setTimeout breaks in all browsers at multiples of the > > system minimum. ie if you are using > > win98, settings of > > 1-55 = 55ms approx. > > 56-110 = 110ms approx. > > 111-165 = 165ms approx. > > 166-220 = 220ms approx. > > and so on by increments of the minimum timeslice (55 > > here) > > > > setInterval behaves differently based on the browser. > > all browsers at less than the system minimum (using > > win9x 55ms for examples) > > 0-55 = 55ms approx. > > IE again follows the increment of system minimum for > > all values as in the setTimeout example > > ns4 and ns6 above the system minimum will fairly > > closely fall on the desired setting > > 66ms = 66ms approx. and so on. > > > > It is possible to use a multithread technique to > > reduce the win9x timing to around 37ms (still testing > > this). > > > > What does it mean? If you are using setInterval or > > setTimeout in your code or using any of the animation > > widgets, setting a value below 55 ms is pointless for > > win9x (majority of users I believe). > > > > I have seen a lot of code written in DynAPI with > > setTimeout values below 55, this may affect how the > > code operates under NT as opposed to win9x. A setting > > of 10 that defaults to 55ms may work well under win9x, > > but when run under NT or win2K it may be too fast. > > > > Animation in DynAPI > > The majority of the animation widgets use thread as > > the basis for the timing. Thread uses setInterval > > which behaves differently under ns vs ie (see above) > > when above the system minimum (55ms). This results in > > major differences between the animation sequences if a > > setting above 55 is used. For example: a setting of > > 75 will run at 75 under NS but will default to 110 > > under IE. This number is the setting you apply to > > .sleep() when using the widgets. Just for general > > information, the default setting for .sleep() in > > thread is 50ms. > > > > I have some test pages that I got from other sources > > that I have been using to run tests to verify this. > > If anyone is interested, I will post them. I would > > like to hear from anyone interested in running the > > same tests on mac and under different browsers > > (opera?). I am also working on a beta of thread that > > uses multithreading techniques for individual > > animations, the goal, a smoother animation. Not sure > > this will work though. > > > > Another thought is that we change thread to use a > > series of numbers instead of the timing value itself. > > Then a new routine in thread could check the operating > > system/browser and assign a preset number based on > > this lookup. Unfortunately it would have to default > > to the values of the worst system, IEunder win9x > > (increments of 55). This would impact the playback > > under NN/win9x, but would give us a consistant > > animation across browsers. Isn't this what DynAPI is > > all about? > > Comments? > > > > one final interesting note, the tests under NN6 took > > twice as long to complete but gave the same timed > > results. I speculate that NN6 is somehow evaluating > > the code once before running it? Anybody have any > > ideas or facts on this? This really impacts any > > animation done in DynAPI when displayed under NN6 > > (yes, I know it is not supported yet). > > > > Cheers, > > Dave C. "You Changed What?!?" > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 |
From: Raymond S. <dst...@or...> - 2001-02-26 23:24:47
|
Seems to me that a lot of really good and obscure Javascript conventions move through this site on a weekly basis. It would be nice to capture and index these to create a general JS resource repsository we can reference. This ideally should be stored at the dynAPI home page. Personally, I will be willing to "accumulate and forward" solid JS information to someone, somewhere just let me know. Or, better yet we should create a "JS Tidbits" submission form at the homepage. Then anyone can post idea pick-up to this area. Any database megamen looking for a "mini-project"? Ray Take this recent input from David for example..., nice to know. Hard to find out ----- Original Message ----- From: "David Cushman" <dle...@ya...> To: <dyn...@li...> Sent: Monday, February 26, 2001 3:11 PM Subject: [Dynapi-Help] Use of setTimeout and setInterval Impact on animation > Greetings All, > I have been working a lot with images and > animations. I have noticed quite a few problems, but > the following was really puzzling me. The display > time (animation rate) differences between browsers. > In researching this I discoverd (and verified) the > following: > setTimeout and setInterval have a minimum floor and > behave differently in different operating > systems/browsers. > > Operating systems and minimum time slice: > win9x and winME 55ms minimum > NT and win2k 10ms minimum > > Then, to add to the problem, the different browsers > behave differently. > > setTimeout breaks in all browsers at multiples of the > system minimum. ie if you are using > win98, settings of > 1-55 = 55ms approx. > 56-110 = 110ms approx. > 111-165 = 165ms approx. > 166-220 = 220ms approx. > and so on by increments of the minimum timeslice (55 > here) > > setInterval behaves differently based on the browser. > all browsers at less than the system minimum (using > win9x 55ms for examples) > 0-55 = 55ms approx. > IE again follows the increment of system minimum for > all values as in the setTimeout example > ns4 and ns6 above the system minimum will fairly > closely fall on the desired setting > 66ms = 66ms approx. and so on. > > It is possible to use a multithread technique to > reduce the win9x timing to around 37ms (still testing > this). > > What does it mean? If you are using setInterval or > setTimeout in your code or using any of the animation > widgets, setting a value below 55 ms is pointless for > win9x (majority of users I believe). > > I have seen a lot of code written in DynAPI with > setTimeout values below 55, this may affect how the > code operates under NT as opposed to win9x. A setting > of 10 that defaults to 55ms may work well under win9x, > but when run under NT or win2K it may be too fast. > > Animation in DynAPI > The majority of the animation widgets use thread as > the basis for the timing. Thread uses setInterval > which behaves differently under ns vs ie (see above) > when above the system minimum (55ms). This results in > major differences between the animation sequences if a > setting above 55 is used. For example: a setting of > 75 will run at 75 under NS but will default to 110 > under IE. This number is the setting you apply to > .sleep() when using the widgets. Just for general > information, the default setting for .sleep() in > thread is 50ms. > > I have some test pages that I got from other sources > that I have been using to run tests to verify this. > If anyone is interested, I will post them. I would > like to hear from anyone interested in running the > same tests on mac and under different browsers > (opera?). I am also working on a beta of thread that > uses multithreading techniques for individual > animations, the goal, a smoother animation. Not sure > this will work though. > > Another thought is that we change thread to use a > series of numbers instead of the timing value itself. > Then a new routine in thread could check the operating > system/browser and assign a preset number based on > this lookup. Unfortunately it would have to default > to the values of the worst system, IEunder win9x > (increments of 55). This would impact the playback > under NN/win9x, but would give us a consistant > animation across browsers. Isn't this what DynAPI is > all about? > Comments? > > one final interesting note, the tests under NN6 took > twice as long to complete but gave the same timed > results. I speculate that NN6 is somehow evaluating > the code once before running it? Anybody have any > ideas or facts on this? This really impacts any > animation done in DynAPI when displayed under NN6 > (yes, I know it is not supported yet). > > Cheers, > Dave C. "You Changed What?!?" |