<?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"
	>
<channel>
	<title>Comments on: Event.stop()</title>
	<atom:link href="http://particletree.com/notebook/eventstop/feed/" rel="self" type="application/rss+xml" />
	<link>http://particletree.com/notebook/eventstop/</link>
	<description>Everyone needs a hug.</description>
	<pubDate>Wed, 19 Nov 2008 11:13:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: tomo</title>
		<link>http://particletree.com/notebook/eventstop/#comment-21418</link>
		<dc:creator>tomo</dc:creator>
		<pubDate>Fri, 22 Jun 2007 11:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-21418</guid>
		<description>&lt;p&gt;Thank you soo much. This really should have been pointed put and put in a h1 tag on the prototype site.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you soo much. This really should have been pointed put and put in a h1 tag on the prototype site.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jacek Pietrus</title>
		<link>http://particletree.com/notebook/eventstop/#comment-20878</link>
		<dc:creator>Jacek Pietrus</dc:creator>
		<pubDate>Sat, 19 May 2007 23:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-20878</guid>
		<description>&lt;p&gt;Thank you Ryan for that advice. It also works fine with anonymous function like this:&lt;/p&gt;

&lt;pre&gt;
tagA.each( function( n, i ) {
    Event.observe( n, 'click', function( e ) {
        tagDid.setStyle( { backgroundColor: 'red' } );
        Event.stop( e );
    }, false );
} );
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you Ryan for that advice. It also works fine with anonymous function like this:</p>

<pre>
tagA.each( function( n, i ) {
    Event.observe( n, 'click', function( e ) {
        tagDid.setStyle( { backgroundColor: 'red' } );
        Event.stop( e );
    }, false );
} );
</pre>]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Hill</title>
		<link>http://particletree.com/notebook/eventstop/#comment-20282</link>
		<dc:creator>Andrew Hill</dc:creator>
		<pubDate>Thu, 08 Mar 2007 04:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-20282</guid>
		<description>&lt;p&gt;hi i am having trouble using this lightbox i have used the old one and it was fine but know i want to have a html file in my lightbox but once using this lightbox to do that i ge an error of:
Method Not Allowed
The requested method POST is not allowed for the URL /crowsnest/map.html.
i not sure what this means but if anyone can help me it would be appreciated thank you
Andrew
the error is on the contact us page if you click the "click here for map" you will see what i am talking abt........&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hi i am having trouble using this lightbox i have used the old one and it was fine but know i want to have a html file in my lightbox but once using this lightbox to do that i ge an error of:
Method Not Allowed
The requested method POST is not allowed for the URL /crowsnest/map.html.
i not sure what this means but if anyone can help me it would be appreciated thank you
Andrew
the error is on the contact us page if you click the &#8220;click here for map&#8221; you will see what i am talking abt&#8230;&#8230;..</p>]]></content:encoded>
	</item>
	<item>
		<title>By: www</title>
		<link>http://particletree.com/notebook/eventstop/#comment-4539</link>
		<dc:creator>www</dc:creator>
		<pubDate>Fri, 08 Dec 2006 04:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-4539</guid>
		<description>&lt;p&gt;Everyone needs a hug.w&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Everyone needs a hug.w</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kumar Chetan</title>
		<link>http://particletree.com/notebook/eventstop/#comment-1921</link>
		<dc:creator>Kumar Chetan</dc:creator>
		<pubDate>Fri, 06 Oct 2006 11:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-1921</guid>
		<description>&lt;p&gt;if(Ryan_needs_a_hug==1)
Hug(Ryan);
else 
return false;
I guess if we simply return false on any action nothing will happen. Actually I learned it way back :P
am just trying to show off. ;-)
Good stuff.
I msut work now. Rest of the stuff I will read later.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>if(Ryan_needs_a_hug==1)
Hug(Ryan);
else 
return false;
I guess if we simply return false on any action nothing will happen. Actually I learned it way back :P
am just trying to show off. ;-)
Good stuff.
I msut work now. Rest of the stuff I will read later.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://particletree.com/notebook/eventstop/#comment-1920</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Sat, 09 Sep 2006 01:37:53 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-1920</guid>
		<description>&lt;p&gt;Thanks so much for that tipp&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks so much for that tipp</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kurt</title>
		<link>http://particletree.com/notebook/eventstop/#comment-1919</link>
		<dc:creator>Kurt</dc:creator>
		<pubDate>Mon, 24 Jul 2006 01:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-1919</guid>
		<description>&lt;p&gt;just a quick not about prototype.js... (this seems to work in most browsers EXCEPT Safari):&lt;/p&gt;

&lt;p&gt;You can gzip the prototype.js file, getting the filesize down to 12,479kb sweet!  So I now include it with:&lt;/p&gt;

&lt;p&gt;src='prototype.js.gz'&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>just a quick not about prototype.js&#8230; (this seems to work in most browsers EXCEPT Safari):</p>

<p>You can gzip the prototype.js file, getting the filesize down to 12,479kb sweet!  So I now include it with:</p>

<p>src=&#8217;prototype.js.gz&#8217;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Seb</title>
		<link>http://particletree.com/notebook/eventstop/#comment-1918</link>
		<dc:creator>Seb</dc:creator>
		<pubDate>Thu, 04 May 2006 22:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-1918</guid>
		<description>&lt;p&gt;Bah I used code instead of pre.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Bah I used code instead of pre.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Seb</title>
		<link>http://particletree.com/notebook/eventstop/#comment-1917</link>
		<dc:creator>Seb</dc:creator>
		<pubDate>Thu, 04 May 2006 22:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-1917</guid>
		<description>&lt;p&gt;Just wanted to point out that the comment above by Webby does not work.&lt;/p&gt;

&lt;p&gt;If you look int the Prototype code, the Event.stop actually calsl the event.preventDefault() method:&lt;/p&gt;

&lt;p&gt;Event.stop function
&lt;code&gt;
    if (event.preventDefault) {
      event.preventDefault();
      event.stopPropagation();
    } else {
      event.returnValue = false;
      event.cancelBubble = true;
    }
&lt;/code&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Just wanted to point out that the comment above by Webby does not work.</p>

<p>If you look int the Prototype code, the Event.stop actually calsl the event.preventDefault() method:</p>

<p>Event.stop function
<code>
    if (event.preventDefault) {
      event.preventDefault();
      event.stopPropagation();
    } else {
      event.returnValue = false;
      event.cancelBubble = true;
    }
</code></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Webby</title>
		<link>http://particletree.com/notebook/eventstop/#comment-1916</link>
		<dc:creator>Webby</dc:creator>
		<pubDate>Thu, 20 Apr 2006 11:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=179#comment-1916</guid>
		<description>&lt;p&gt;To fix this issue also in Safari you can use method 5: preventDefault ;)&lt;/p&gt;

&lt;p&gt;&lt;code&gt;if (e &#38;&#38; e.preventDefault)
  e.preventDefault(); //DOM
return false; //IE&lt;/code&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>To fix this issue also in Safari you can use method 5: preventDefault ;)</p>

<p><code>if (e &amp;&amp; e.preventDefault)
  e.preventDefault(); //DOM
return false; //IE</code></p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.257 seconds -->
<!-- Cached page served by WP-Cache -->
