| JavaScript Components: Clocks | |||||||||||
| Doing
several Clocks with hopefully not too much overhead
Boy did we have fun trying to get all the clocks to work. First, the old cross browser ugly reared its head in several instances of clocks that demo nicxely but don't want to work in a complete set of browsers - IE5-6, NS?Mozilla, and Opera. the second problem we had was the interference between the setTimeout() and/or setInterval() commands between routines. For example, we could get several clocks to work well on their own but then they did not want to co-operate when on display with 2 or 3 other clocks. Now this latter case is an important matter because developers can easily
have more than one setTimeout() or set Interval() command if there any animations,
timings scripts, or timeout events. So be sure to check these potential JavaScript
timer conflicts carefully. |
|||||||||||
|
Top of Page Tutorials Home Javascript References JavaScript Books ©Imagenation 2000-2004 |