<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The Ultimate addEvent(..) function</title>
	<atom:link href="http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/</link>
	<description>web / programming / javascript / css / html</description>
	<lastBuildDate>Thu, 11 Mar 2010 00:46:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bob Carver</title>
		<link>http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/comment-page-1/#comment-35079</link>
		<dc:creator>Bob Carver</dc:creator>
		<pubDate>Thu, 11 Mar 2010 00:46:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/#comment-35079</guid>
		<description>I discovered an interesting manifestation, that&#039;s only an issue in IE, when cloning nodes. It was necesssary to remove all event handlers before doing the clone, and then restoring those event handlers after the clone operation (and subsequent insertBefore elsewhere). If this was not done, for example, the mouseenter event was triggered by both the original node as well as the new node, even though the id of the new node was modified to be unique. There was no problem in FF or Chrome, just IE. It took quite a bit of time to figure this one out...</description>
		<content:encoded><![CDATA[<p>I discovered an interesting manifestation, that&#039;s only an issue in IE, when cloning nodes. It was necesssary to remove all event handlers before doing the clone, and then restoring those event handlers after the clone operation (and subsequent insertBefore elsewhere). If this was not done, for example, the mouseenter event was triggered by both the original node as well as the new node, even though the id of the new node was modified to be unique. There was no problem in FF or Chrome, just IE. It took quite a bit of time to figure this one out&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sstchur</title>
		<link>http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/comment-page-1/#comment-7601</link>
		<dc:creator>sstchur</dc:creator>
		<pubDate>Wed, 17 Dec 2008 20:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/#comment-7601</guid>
		<description>@Mathias:

Ok, this is back online now.  Sorry for the inconvenience.</description>
		<content:encoded><![CDATA[<p>@Mathias:</p>
<p>Ok, this is back online now.  Sorry for the inconvenience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sstchur</title>
		<link>http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/comment-page-1/#comment-7583</link>
		<dc:creator>sstchur</dc:creator>
		<pubDate>Wed, 17 Dec 2008 15:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/#comment-7583</guid>
		<description>@Mathias:

Shoot!  I&#039;m sorry.  I know what happened.  I upgraded WordPress and I accidentally deleted my blogcode directory.

Let me see if I can dig up a backup and get the files back in place.

In the meantime, certainly feel free to check out the Gimme Library.  It has a lot more functionality than just the addEvent function.</description>
		<content:encoded><![CDATA[<p>@Mathias:</p>
<p>Shoot!  I&#039;m sorry.  I know what happened.  I upgraded WordPress and I accidentally deleted my blogcode directory.</p>
<p>Let me see if I can dig up a backup and get the files back in place.</p>
<p>In the meantime, certainly feel free to check out the Gimme Library.  It has a lot more functionality than just the addEvent function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/comment-page-1/#comment-7575</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Wed, 17 Dec 2008 14:01:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/#comment-7575</guid>
		<description>Have you deleted the zip?
When I click on the link it just gives me an error page saying the page wasn&#039;t found..

Should I just get the gimme lib instead?</description>
		<content:encoded><![CDATA[<p>Have you deleted the zip?<br />
When I click on the link it just gives me an error page saying the page wasn&#039;t found..</p>
<p>Should I just get the gimme lib instead?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sstchur</title>
		<link>http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/comment-page-1/#comment-3814</link>
		<dc:creator>sstchur</dc:creator>
		<pubDate>Sat, 04 Oct 2008 04:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/#comment-3814</guid>
		<description>Jamie,

&lt;p&gt;Did you copy/paste or download the zip?  I just downloaded the zip, included the .js file using a &lt;script&gt; tag, and tested the function in Firefox 3.0.3, and it worked just fine.&lt;/p&gt;

&lt;p&gt;I did not modify a single character in the .js file, and it worked perfectly for me -- no errors at all.  The (function(){...})() is perfectly valid and did not cause any errors.  And the event I hooked up worked properly as well.&lt;/p&gt;

&lt;p&gt;I&#039;d suggest maybe trying the version in the zip, if you haven&#039;t already.  I did mention in the post, that in the interest of keeping the blog entry a little shorter, copying and pasting will not work as an &quot;out of the box&quot; solution.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Jamie,</p>
<p>Did you copy/paste or download the zip?  I just downloaded the zip, included the .js file using a &lt;script&gt; tag, and tested the function in Firefox 3.0.3, and it worked just fine.</p>
<p>I did not modify a single character in the .js file, and it worked perfectly for me &#8212; no errors at all.  The (function(){&#8230;})() is perfectly valid and did not cause any errors.  And the event I hooked up worked properly as well.</p>
<p>I&#039;d suggest maybe trying the version in the zip, if you haven&#039;t already.  I did mention in the post, that in the interest of keeping the blog entry a little shorter, copying and pasting will not work as an &#034;out of the box&#034; solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/comment-page-1/#comment-3797</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Fri, 03 Oct 2008 20:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/#comment-3797</guid>
		<description>Hi,

I have been trying to use this event code without success in Firefox 3.0.3.

The first thing is the funny:

   (function(){ ... })();

Mechanism doesn&#039;t work - I had to initiate the code without it.

Secondly, Firefox 3.0.3 gives me this error:

   _elem.addEventListener is not a function
   w3c_addEvent()xb.js (line 76)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have been trying to use this event code without success in Firefox 3.0.3.</p>
<p>The first thing is the funny:</p>
<p>   (function(){ &#8230; })();</p>
<p>Mechanism doesn&#039;t work &#8211; I had to initiate the code without it.</p>
<p>Secondly, Firefox 3.0.3 gives me this error:</p>
<p>   _elem.addEventListener is not a function<br />
   w3c_addEvent()xb.js (line 76)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/comment-page-1/#comment-3596</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Sun, 28 Sep 2008 08:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/09/25/the-ultimate-addevent-function/#comment-3596</guid>
		<description>nice looking background image on this site</description>
		<content:encoded><![CDATA[<p>nice looking background image on this site</p>
]]></content:encoded>
	</item>
</channel>
</rss>
