In the aftermath of the
addEvent() recoding contest, a winner
was announced. It was also further discussed in the
particleTree November issue with another method provided (I won’t
discuss it since it’s copyrighted content and it’s for paying
customers only
). However even with all the fuss
going on, I’ve taken an innovative approach with some existing
methods and combined them into a very powerful function. It also
accomplishes these three core issues.
- Degrades on older browsers such as NS4 and IE5 mac
- The this keyword remains in-tact
- Avoids memory leaks in Microsoft Internet Explorer
Since none of this is entirely revolutionary or actually originally written by me, I’m not going to take any further credit other than piecing together what was already out there.


Loading...