<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title/>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 16:22:39 +0000</lastBuildDate>
    <item>
      <title>delikassap said on 13/Oct/2010</title>
      <link>https://snipplr.com/view/16675/identifying--locating-mouse-position-in-jquery</link>
      <description>&lt;p&gt;function doSomething(e) {&#13;
	var posx = 0;&#13;
	var posy = 0;&#13;
	if (!e) var e = window.event;&#13;
	if (e.pageX || e.pageY) 	{&#13;
		posx = e.pageX;&#13;
		posy = e.pageY;&#13;
	}&#13;
	else if (e.clientX || e.clientY) 	{&#13;
		posx = e.clientX + document.body.scrollLeft&#13;
			+ document.documentElement.scrollLeft;&#13;
		posy = e.clientY + document.body.scrollTop&#13;
			+ document.documentElement.scrollTop;&#13;
	}&#13;
	// posx and posy contain the mouse position relative to the document&#13;
	// Do something with this information&#13;
}&#13;
&#13;
taken from : http://www.quirksmode.org/js/events_properties.html&lt;/p&gt;</description>
      <pubDate>Wed, 13 Oct 2010 03:28:32 UTC</pubDate>
      <guid>https://snipplr.com/view/16675/identifying--locating-mouse-position-in-jquery</guid>
    </item>
  </channel>
</rss>
