Monday, September 29th, 2008
Mikael Bergkvist was frustrated with how effects in different browsers were far from uniform. They could run around in a modern browser, and lag on old ones. In general many effects seem to be far from smooth, and we have talked about the need to have a Timer thread that you can tie into to get the work smoother.
Well, Mikael decided to develop ZAP:
Once set to a certain speed, it stays that way – regardless of the browser being used.
To see how it works:
- <script type="text/zap">
- element(".test").item(0).setstyle("height:;width:200;border:black 1px solid;backgroundColor:orange;color:brown;fontFamily:verdana;fontSize:11;padding:4px;position:absolute;top:10;left:10;display:none");
- <b>Start:</b> var this.c::
- var this.c:: done;
- <b>You dig?</b>
Posted by Dion Almaer at 8:43 am