How to Pass Parameters to an Event Listener

30th August 2005 | 0 Comments

Anyone who has done any serious web application development has used event listeners. After dealing with the cross browser syntax differences you might want to be able to pass a parameter with a event.  The traditional method for adding event listeners doesn't allow for parameters, but there is a workaround.

Read: How to Pass Parameters to an Event Listener

Modifing the CSS Class Assigned to a Tag

16th August 2005 | 0 Comments

In an older version of my blog I posted how to attach new styles to an existing stylesheet.  While that method its incredibly useful, its kind of dirty.  A better way is to change the class assigned to the HTML tag which is easy if the tag has an id attribute, but what if you don't.

Read: Modifing the CSS Class Assigned to a Tag