User : oronm

Title User Language Tags Description Date
linked list oronm Assembler July 5, 2011
BinTreeShow oronm Assembler July 5, 2011
fseek oronm C July 11, 2009
round div oronm CSS January 21, 2008
outline oronm JavaScript October 17, 2006
Rock Solid addEvent oronm JavaScript

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. Introducing, my addEvent()

Here for your copy and pasting pleasure, it consists of three parts. 1) The addEvent() function itself which programatically adds to the 2) EventCache (originally written by Mark Wubben), and 3) an unload event is added to the window to run the EventCache ‘flush’ method.

September 5, 2006
addEvent oronm JavaScript

Surely a staple to event attachment! Regardless to what version you use written by whatever developer, it does what it says it does. And of course as you might of known, I’ve put together quite a handy version myself recently of addEvent() with some help from the contest winner and Mark Wubben along with a few minor syntax adjustments. But just to be fair to Scott Andrew, here is the original that started it all.

September 5, 2006