<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/event</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 02 Dec 2008 02:37:59 GMT</pubDate>
<item>
<title>(JavaScript) Exception manager for DOM event handlers - no more silent failures - miohtama</title>
<link>http://snipplr.com/view/10137/exception-manager-for-dom-event-handlers--no-more-silent-failures/</link>
<description><![CDATA[ <p>It is utterly annoying when DOM event handler exceptions fail silently with Firebug. This package fixes this common problem.</p> ]]></description>
<pubDate>Fri, 28 Nov 2008 19:11:42 GMT</pubDate>
<guid>http://snipplr.com/view/10137/exception-manager-for-dom-event-handlers--no-more-silent-failures/</guid>
</item>
<item>
<title>(JavaScript) event bubble Classic Example - sandel</title>
<link>http://snipplr.com/view/9421/event-bubble-classic-example/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 01 Nov 2008 08:42:07 GMT</pubDate>
<guid>http://snipplr.com/view/9421/event-bubble-classic-example/</guid>
</item>
<item>
<title>(JavaScript) Javascript Cancel bubbling event - ivang</title>
<link>http://snipplr.com/view/9073/javascript-cancel-bubbling-event/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 17 Oct 2008 06:48:50 GMT</pubDate>
<guid>http://snipplr.com/view/9073/javascript-cancel-bubbling-event/</guid>
</item>
<item>
<title>(JavaScript) MouseEnter/Leave Handlers - wizard04</title>
<link>http://snipplr.com/view/8913/mouseenterleave-handlers/</link>
<description><![CDATA[ <p>These functions allow you to easily set a handler for a virtual mouseleave/enter event.

This requires my [MouseBoundaryCrossing](http://snipplr.com/view/8206/crossbrowser-mouseenterleave-solution/) class.</p> ]]></description>
<pubDate>Thu, 09 Oct 2008 15:41:54 GMT</pubDate>
<guid>http://snipplr.com/view/8913/mouseenterleave-handlers/</guid>
</item>
<item>
<title>(JavaScript) Manually Trigger Element Event Via Code - MMDeveloper</title>
<link>http://snipplr.com/view/8471/manually-trigger-element-event-via-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 18 Sep 2008 08:05:04 GMT</pubDate>
<guid>http://snipplr.com/view/8471/manually-trigger-element-event-via-code/</guid>
</item>
<item>
<title>(JavaScript) Cross-browser MouseEnter/Leave Solution - wizard04</title>
<link>http://snipplr.com/view/8206/crossbrowser-mouseenterleave-solution/</link>
<description><![CDATA[ <p>In mouseout and mouseover event handlers, use this object to check if the mouse was leaving or entering a "landmark" element.  See my [MouseEnter/Leave Handlers](http://snipplr.com/view/8913/mouseenterleave-handlers/) snipplet for a practical use.

`.fromElement`: element the mouse is leaving  
`.toElement`: element the mouse is entering  
`.inLandmark`: true if the event fired from within the landmark  
`.leftLandmark`: true if the mouse was leaving the landmark  
`.enteredLandmark`: true if the mouse was entering the landmark</p> ]]></description>
<pubDate>Fri, 05 Sep 2008 09:25:58 GMT</pubDate>
<guid>http://snipplr.com/view/8206/crossbrowser-mouseenterleave-solution/</guid>
</item>
<item>
<title>(JavaScript) Mouse Event Positions - wizard04</title>
<link>http://snipplr.com/view/8040/mouse-event-positions/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 26 Aug 2008 15:07:06 GMT</pubDate>
<guid>http://snipplr.com/view/8040/mouse-event-positions/</guid>
</item>
<item>
<title>(JavaScript) Event Handling Functions - wizard04</title>
<link>http://snipplr.com/view/7368/event-handling-functions/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Jul 2008 16:24:06 GMT</pubDate>
<guid>http://snipplr.com/view/7368/event-handling-functions/</guid>
</item>
<item>
<title>(JavaScript) Mouseover / mouseout event fix: isMouseLeaveOrEnter - Winkyboy</title>
<link>http://snipplr.com/view/5259/mouseover--mouseout-event-fix-ismouseleaveorenter/</link>
<description><![CDATA[ <p>Usage: onmouseout='if (isMouseLeaveOrEnter(event, this)) YourActionHere();' onmouseover='if (isMouseLeaveOrEnter(event, this)) YourOtherActionHere();'</p> ]]></description>
<pubDate>Mon, 03 Mar 2008 12:05:57 GMT</pubDate>
<guid>http://snipplr.com/view/5259/mouseover--mouseout-event-fix-ismouseleaveorenter/</guid>
</item>
<item>
<title>(JavaScript) Stop default action - fael</title>
<link>http://snipplr.com/view/3658/stop-default-action/</link>
<description><![CDATA[ <p>Really stop default action of a element.</p> ]]></description>
<pubDate>Sun, 09 Sep 2007 10:54:24 GMT</pubDate>
<guid>http://snipplr.com/view/3658/stop-default-action/</guid>
</item>
<item>
<title>(JavaScript) click on an element across browsers - noah</title>
<link>http://snipplr.com/view/3336/click-on-an-element-across-browsers/</link>
<description><![CDATA[ <p>If you have assigned an event handler to a container, you might want to remotely trigger it as if a child of the container had been clicked.  That is, you might want to manually set the target of the 'event' object that is passed to the event handler on the container.  This helps to keep the number of event handlers down.</p> ]]></description>
<pubDate>Fri, 20 Jul 2007 18:08:37 GMT</pubDate>
<guid>http://snipplr.com/view/3336/click-on-an-element-across-browsers/</guid>
</item>
<item>
<title>(JavaScript) Chain Javascript onload Events - tylerhall</title>
<link>http://snipplr.com/view/2228/chain-javascript-onload-events/</link>
<description><![CDATA[ <p>This lets you attach a new onload event without overwriting any previous events.</p> ]]></description>
<pubDate>Wed, 28 Feb 2007 11:49:58 GMT</pubDate>
<guid>http://snipplr.com/view/2228/chain-javascript-onload-events/</guid>
</item>
<item>
<title>(JavaScript) addLoadEvent - ebukva</title>
<link>http://snipplr.com/view/1679/addloadevent/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 17 Nov 2006 17:25:18 GMT</pubDate>
<guid>http://snipplr.com/view/1679/addloadevent/</guid>
</item>
<item>
<title>(JavaScript) getMousePosition - szsk</title>
<link>http://snipplr.com/view/708/getmouseposition/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Aug 2006 22:20:37 GMT</pubDate>
<guid>http://snipplr.com/view/708/getmouseposition/</guid>
</item>
<item>
<title>(JavaScript) Execute Event.observer inside other different event (with prototype) - alvaroisorna</title>
<link>http://snipplr.com/view/618/execute-eventobserver-inside-other-different-event-with-prototype/</link>
<description><![CDATA[ <p>I've found a very nice (and standard) solution to firing events while it's not normally available, this piece of code searchs the active element (a text input) inside the Event.observers collection and fires the "onchange" event (normally not possible in explorer) when the return key is pressed.

- this code requires prototype.js -

Hope you enjoy it!</p> ]]></description>
<pubDate>Tue, 01 Aug 2006 04:02:02 GMT</pubDate>
<guid>http://snipplr.com/view/618/execute-eventobserver-inside-other-different-event-with-prototype/</guid>
</item>
<item>
<title>(JavaScript) Mouse Event - kif</title>
<link>http://snipplr.com/view/591/mouse-event/</link>
<description><![CDATA[ <p>Support: Fx2, Opera9, IE6
Remodeled "Event.observe" of prototype.js... is necessary for this.  This is indispensable for MouseWheel to support.</p> ]]></description>
<pubDate>Thu, 27 Jul 2006 03:22:10 GMT</pubDate>
<guid>http://snipplr.com/view/591/mouse-event/</guid>
</item>
<item>
<title>(JavaScript) Event Listener v1.4 - Leech</title>
<link>http://snipplr.com/view/550/event-listener-v14/</link>
<description><![CDATA[ <p>Cross-browser addEvent and removeEvent.
Created: 2005.08.13 - Modified: 2005.11.20</p> ]]></description>
<pubDate>Fri, 21 Jul 2006 09:11:02 GMT</pubDate>
<guid>http://snipplr.com/view/550/event-listener-v14/</guid>
</item>
<item>
<title>(JavaScript) Mouse Buttons on different Browsers - MyKey_</title>
<link>http://snipplr.com/view/275/mouse-buttons-on-different-browsers/</link>
<description><![CDATA[ <p>Deals with the fact that mouse buttons are referenced in different ways by different browsers.</p> ]]></description>
<pubDate>Sat, 08 Jul 2006 08:57:33 GMT</pubDate>
<guid>http://snipplr.com/view/275/mouse-buttons-on-different-browsers/</guid>
</item>
</channel>
</rss>