- From: Jan-Klaas Kollhof <keyjaque@yahoo.com>
- Date: Sun, 7 Mar 2004 12:50:48 -0800 (PST)
- To: www-svg@w3.org
>Hmm, one problem with this approach is that adding
the >event listener after
>the createAndStart is a bit of a pain.
I agree.
> window.dispatchEventDelayed(myEvt, 500);
=
createAndStartTimer(500).addEventListener({handleEvent:function(evt){
document.dispatchEvent(evt);
//or window or whatever you like
})
or just have the timer by default dispatch the event
to the window or document obj
window.addEventListener(l);
createAndStartTimer(500);
Jan
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
Received on Sunday, 7 March 2004 15:51:19 UTC