<?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: Click image and get coordinates with Javascript</title>
	<atom:link href="http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Mon, 15 Mar 2010 21:46:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Monc</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-535527</link>
		<dc:creator>Monc</dc:creator>
		<pubDate>Tue, 05 Jan 2010 23:33:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-535527</guid>
		<description>I am new at this and i am confused as all heck if anyone could assist me my e-mail is Moncaric28@live.ca 

could use some help with a few things. thanks</description>
		<content:encoded><![CDATA[<p>I am new at this and i am confused as all heck if anyone could assist me my e-mail is <a href="mailto:Moncaric28@live.ca">Moncaric28@live.ca</a> </p>
<p>could use some help with a few things. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pThomas</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-531418</link>
		<dc:creator>pThomas</dc:creator>
		<pubDate>Thu, 17 Dec 2009 05:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-531418</guid>
		<description>Thanks for the post, i&#039;m using the x position returned as an array subscript to a javascript parameter passed to a bookmarking function.  This saves a few lines of code (1 href instead of 12 and one image instead of 12 images) and allows me to put the js code in one external file for the hole site.</description>
		<content:encoded><![CDATA[<p>Thanks for the post, i&#8217;m using the x position returned as an array subscript to a javascript parameter passed to a bookmarking function.  This saves a few lines of code (1 href instead of 12 and one image instead of 12 images) and allows me to put the js code in one external file for the hole site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gopa</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-518485</link>
		<dc:creator>Gopa</dc:creator>
		<pubDate>Thu, 05 Nov 2009 04:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-518485</guid>
		<description>Hi.. Nice article..

Is it possible to display the image path on mouse click. E.g. on clicking the image or a link, it should display the actual image or file path and get the same copied to the clipboard. same as the case with copy shortcut in windows</description>
		<content:encoded><![CDATA[<p>Hi.. Nice article..</p>
<p>Is it possible to display the image path on mouse click. E.g. on clicking the image or a link, it should display the actual image or file path and get the same copied to the clipboard. same as the case with copy shortcut in windows</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harini</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-492892</link>
		<dc:creator>harini</dc:creator>
		<pubDate>Sun, 30 Aug 2009 16:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-492892</guid>
		<description>Really!!!
Thank u so much!! I was searching for this code! You deserve to be appreciated!!Once again Thank u so much
Your rating is 5*****</description>
		<content:encoded><![CDATA[<p>Really!!!<br />
Thank u so much!! I was searching for this code! You deserve to be appreciated!!Once again Thank u so much<br />
Your rating is 5*****</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaykey</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-482861</link>
		<dc:creator>Jaykey</dc:creator>
		<pubDate>Sun, 09 Aug 2009 01:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-482861</guid>
		<description>Hi all,

Thanks for the hot discussion and helps by providing your experience.
I am wondering, how can we put such appliction to get control over a VLC Plugin/activex for getting coordinate of a running video.

It will be helpful to control video on full screen without using other controls</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>Thanks for the hot discussion and helps by providing your experience.<br />
I am wondering, how can we put such appliction to get control over a VLC Plugin/activex for getting coordinate of a running video.</p>
<p>It will be helpful to control video on full screen without using other controls</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Biswomohan</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-480268</link>
		<dc:creator>Biswomohan</dc:creator>
		<pubDate>Mon, 03 Aug 2009 09:08:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-480268</guid>
		<description>Hi,
  I need ur,help.
  I have an image of a counrty.which contains 113
  cities.From which I have to work on 78 cities.
  My requirement is like when I move the mouse to  my 78 cites the mouse pointer became a hand and a pop up will caome with the city information.Can u suggest how to work on it?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  I need ur,help.<br />
  I have an image of a counrty.which contains 113<br />
  cities.From which I have to work on 78 cities.<br />
  My requirement is like when I move the mouse to  my 78 cites the mouse pointer became a hand and a pop up will caome with the city information.Can u suggest how to work on it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-473166</link>
		<dc:creator>Mahesh</dc:creator>
		<pubDate>Tue, 14 Jul 2009 09:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-473166</guid>
		<description>Cool Tip...It reduces lot of work specially developing image maps.</description>
		<content:encoded><![CDATA[<p>Cool Tip&#8230;It reduces lot of work specially developing image maps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Alley</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-468304</link>
		<dc:creator>Steve Alley</dc:creator>
		<pubDate>Thu, 02 Jul 2009 20:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-468304</guid>
		<description>I&#039;m new to this.  I copied your script into one of my pages.  How do I actually connect that script with a picture I need to get the coordinates for?

Thanks for understanding my learning curve.</description>
		<content:encoded><![CDATA[<p>I&#8217;m new to this.  I copied your script into one of my pages.  How do I actually connect that script with a picture I need to get the coordinates for?</p>
<p>Thanks for understanding my learning curve.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tm1</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-454144</link>
		<dc:creator>tm1</dc:creator>
		<pubDate>Thu, 28 May 2009 18:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-454144</guid>
		<description>I have added the capability to have the coordinates from the whole window registered or from specific areas on a window (one or more).

&lt;code&gt;


function clickedXY(event, id)
{
	if (window.ActiveXObject) 
	{
		pos_x = window.event.offsetX;
		pos_y = window.event.offsetY;
	} 
	else //for Firefox
	{
		pos_x = event.pageX;
		pos_y = event.pageY;
	}

	var rtn = &quot;&amp;id=&quot;+id;
	rtn += &quot;&amp;pos_x=&quot;+pos_x;
	rtn += &quot;&amp;pos_y=&quot;+pos_y;
	rtn += &quot;&amp;url=&quot;+document.location;
	alert(rtn);
}


&lt;!--   --&gt;

Test section 1

this is a test section
entry for whatever
you can think of.



Test section 2
 
this is a test section
entry for whatever
you can think of.




&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I have added the capability to have the coordinates from the whole window registered or from specific areas on a window (one or more).</p>
<p><code></p>
<p>function clickedXY(event, id)<br />
{<br />
	if (window.ActiveXObject)<br />
	{<br />
		pos_x = window.event.offsetX;<br />
		pos_y = window.event.offsetY;<br />
	}<br />
	else //for Firefox<br />
	{<br />
		pos_x = event.pageX;<br />
		pos_y = event.pageY;<br />
	}</p>
<p>	var rtn = "&amp;id="+id;<br />
	rtn += "&amp;pos_x="+pos_x;<br />
	rtn += "&amp;pos_y="+pos_y;<br />
	rtn += "&amp;url="+document.location;<br />
	alert(rtn);<br />
}</p>
<p>&lt;!--   --&gt;</p>
<p>Test section 1</p>
<p>this is a test section<br />
entry for whatever<br />
you can think of.</p>
<p>Test section 2</p>
<p>this is a test section<br />
entry for whatever<br />
you can think of.</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tm</title>
		<link>http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/comment-page-2/#comment-453672</link>
		<dc:creator>tm</dc:creator>
		<pubDate>Wed, 27 May 2009 18:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/#comment-453672</guid>
		<description>I needed to find the location of X and Y whenever you click on any spot on the window. I am using the following script for this. It works on IE and FF.




function clickedXY(event)
{
   // for IE
   if (window.ActiveXObject) 
   {
      pos_x = window.event.offsetX;
      pos_y = window.event.offsetY;
   }
   //for Firefox
   else 
   {
      pos_x = event.pageX;
      pos_y = event.pageY;
   }
   str = &quot;x=&quot; + pos_x + &quot;  y=&quot; + pos_y + &quot;\nlocation=&quot; + document.location ; 
   alert(str);
}




</description>
		<content:encoded><![CDATA[<p>I needed to find the location of X and Y whenever you click on any spot on the window. I am using the following script for this. It works on IE and FF.</p>
<p>function clickedXY(event)<br />
{<br />
   // for IE<br />
   if (window.ActiveXObject)<br />
   {<br />
      pos_x = window.event.offsetX;<br />
      pos_y = window.event.offsetY;<br />
   }<br />
   //for Firefox<br />
   else<br />
   {<br />
      pos_x = event.pageX;<br />
      pos_y = event.pageY;<br />
   }<br />
   str = &#8220;x=&#8221; + pos_x + &#8221;  y=&#8221; + pos_y + &#8220;\nlocation=&#8221; + document.location ;<br />
   alert(str);<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
