<?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: Breaking Down Javascript Calls From a Link</title>
	<atom:link href="http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/</link>
	<description>presented by Site Potion</description>
	<lastBuildDate>Wed, 15 Sep 2010 10:24:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Clay</title>
		<link>http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/comment-page-1/#comment-64297</link>
		<dc:creator>Clay</dc:creator>
		<pubDate>Thu, 26 Mar 2009 01:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/#comment-64297</guid>
		<description>@John Middlemas - good point</description>
		<content:encoded><![CDATA[<p>@John Middlemas &#8211; good point</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Middlemas</title>
		<link>http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/comment-page-1/#comment-64119</link>
		<dc:creator>John Middlemas</dc:creator>
		<pubDate>Mon, 23 Mar 2009 08:53:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/#comment-64119</guid>
		<description>I found the Related Reading link you quote about void(0) to be misleading since it does not actually show that void(0) should be avoided but only that &quot;return false&quot; should be used in the onClick. If you use &quot;return false&quot; in the onClick then having javascript:void(0) will be ignored. You could in fact have javascript:anything at all and it would also be ignored.</description>
		<content:encoded><![CDATA[<p>I found the Related Reading link you quote about void(0) to be misleading since it does not actually show that void(0) should be avoided but only that &#8220;return false&#8221; should be used in the onClick. If you use &#8220;return false&#8221; in the onClick then having javascript:void(0) will be ignored. You could in fact have javascript:anything at all and it would also be ignored.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lenn Dolling</title>
		<link>http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/comment-page-1/#comment-45887</link>
		<dc:creator>Lenn Dolling</dc:creator>
		<pubDate>Thu, 11 Sep 2008 04:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/#comment-45887</guid>
		<description>Excellent.  lots of developers need to know the above.</description>
		<content:encoded><![CDATA[<p>Excellent.  lots of developers need to know the above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clay</title>
		<link>http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/comment-page-1/#comment-36713</link>
		<dc:creator>Clay</dc:creator>
		<pubDate>Thu, 11 Oct 2007 16:19:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/#comment-36713</guid>
		<description>@faye

Normally the brower will display the value of href in the status bar when you mouse over a link.  You can override this with the Javascript line -&gt; window.defaultStatus = &quot;This is the status bar text&quot;;  Put that inside the onMouseOver and onMouseOut attributes of your link.  Without knowing more about your code, it&#039;s hard to say why the error message is coming up, though.

@Mark

The problem might be that you are using &lt;strong&gt;href=&quot;void(0)&quot;&lt;/strong&gt; instead of &lt;strong&gt;href=&quot;javascript: void(0);&quot;&lt;/strong&gt;.  I assume that the way you have it now is trying to link to a file on you web server called void(0).</description>
		<content:encoded><![CDATA[<p>@faye</p>
<p>Normally the brower will display the value of href in the status bar when you mouse over a link.  You can override this with the Javascript line -> window.defaultStatus = &#8220;This is the status bar text&#8221;;  Put that inside the onMouseOver and onMouseOut attributes of your link.  Without knowing more about your code, it&#8217;s hard to say why the error message is coming up, though.</p>
<p>@Mark</p>
<p>The problem might be that you are using <strong>href=&#8221;void(0)&#8221;</strong> instead of <strong>href=&#8221;javascript: void(0);&#8221;</strong>.  I assume that the way you have it now is trying to link to a file on you web server called void(0).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark rtzassociates</title>
		<link>http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/comment-page-1/#comment-36712</link>
		<dc:creator>Mark rtzassociates</dc:creator>
		<pubDate>Thu, 11 Oct 2007 05:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/#comment-36712</guid>
		<description>PROBLEM for 2 weeks:
            When i click
href=\&quot;void(0)\&quot; rel=\&quot;nofollow\&quot;
 an overlay Window with some css background-image styles will show

*(on live site) in IE6 NO background image, but in Firefox YES ,
*(on my localhost) in IE6 YES  background image also  in Firefox YES

    \&quot;Whats happening here? no javascript errors rechecked external css links, images links ALL OK BUT WHY background-images wont show ON IE6 ON LIVE! but in local it shows?\&quot;

I use then the \&quot;#\&quot; in href but after clicking the current screen will go to the VERY TOP, some kinda annoying.

AT LAST  i googled this page THANK YOU VERY MUCH
will read more on your pages here.</description>
		<content:encoded><![CDATA[<p>PROBLEM for 2 weeks:<br />
            When i click<br />
href=\&#8221;void(0)\&#8221; rel=\&#8221;nofollow\&#8221;<br />
 an overlay Window with some css background-image styles will show</p>
<p>*(on live site) in IE6 NO background image, but in Firefox YES ,<br />
*(on my localhost) in IE6 YES  background image also  in Firefox YES</p>
<p>    \&#8221;Whats happening here? no javascript errors rechecked external css links, images links ALL OK BUT WHY background-images wont show ON IE6 ON LIVE! but in local it shows?\&#8221;</p>
<p>I use then the \&#8221;#\&#8221; in href but after clicking the current screen will go to the VERY TOP, some kinda annoying.</p>
<p>AT LAST  i googled this page THANK YOU VERY MUCH<br />
will read more on your pages here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: faye</title>
		<link>http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/comment-page-1/#comment-36711</link>
		<dc:creator>faye</dc:creator>
		<pubDate>Fri, 23 Mar 2007 03:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.indywebshop.com/bestpractices/2006/09/27/breaking-down-javascript-calls-from-a-link/#comment-36711</guid>
		<description>Hi,

Your tutorial is very helpful.. I just hope it can be applied to my problem... I also have this problem with &lt;a href=&quot;void(0)&quot; rel=&quot;nofollow&quot;&gt;  &lt;/a&gt;.. my problem is that when I place the mouse pointer over the image, the status bar displays &quot;javascript:void(0)&quot; but when i removed the mouse pointer from the image, the &quot;Error on page&quot; is displayed instead...  I have tried using href=&quot;#&quot; but to no avail... please help

thanks and more power!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Your tutorial is very helpful.. I just hope it can be applied to my problem&#8230; I also have this problem with <a href="void(0)" rel="nofollow">  </a>.. my problem is that when I place the mouse pointer over the image, the status bar displays &#8220;javascript:void(0)&#8221; but when i removed the mouse pointer from the image, the &#8220;Error on page&#8221; is displayed instead&#8230;  I have tried using href=&#8221;#&#8221; but to no avail&#8230; please help</p>
<p>thanks and more power!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

