<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Javascript &#38; HREF tricks?</title>
	<link>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/</link>
	<description>Screams in the Night</description>
	<pubDate>Tue, 06 Jan 2009 11:56:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Tony</title>
		<link>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-689</link>
		<author>Tony</author>
		<pubDate>Sat, 10 Dec 2005 22:24:16 +0000</pubDate>
		<guid>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-689</guid>
		<description>Ok fine. After initialization, walk the DOM tree (depends on browser, or get a library that abstracts away the browser differences). Check the type of each object. If it's an href, modify it like so:

obj.onClick = sub { alert ("Bill likes meat"); }
</description>
		<content:encoded><![CDATA[<p>Ok fine. After initialization, walk the DOM tree (depends on browser, or get a library that abstracts away the browser differences). Check the type of each object. If it&#8217;s an href, modify it like so:</p>
<p>obj.onClick = sub { alert (&#8221;Bill likes meat&#8221;); }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-688</link>
		<author>Bill</author>
		<pubDate>Sat, 10 Dec 2005 19:11:35 +0000</pubDate>
		<guid>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-688</guid>
		<description>you forgot the 'i'... ;-)

still, i'm hoping to do it through javascript...</description>
		<content:encoded><![CDATA[<p>you forgot the &#8216;i&#8217;&#8230; ;-)</p>
<p>still, i&#8217;m hoping to do it through javascript&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-687</link>
		<author>Tony</author>
		<pubDate>Sat, 10 Dec 2005 19:03:38 +0000</pubDate>
		<guid>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-687</guid>
		<description>:%s/&#60;a href/&#60;a onclick="foo" href/g

;-)</description>
		<content:encoded><![CDATA[<p>:%s/&lt;a href/&lt;a onclick=&#8221;foo&#8221; href/g</p>
<p>;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-686</link>
		<author>Bill</author>
		<pubDate>Sat, 10 Dec 2005 17:22:55 +0000</pubDate>
		<guid>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-686</guid>
		<description>Close... basically what I want is something that would do that automatically for every link on the page.</description>
		<content:encoded><![CDATA[<p>Close&#8230; basically what I want is something that would do that automatically for every link on the page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-685</link>
		<author>Tony</author>
		<pubDate>Sat, 10 Dec 2005 15:30:51 +0000</pubDate>
		<guid>http://wdr1.com/blog/2005/12/09/javascript-href-tricks/#comment-685</guid>
		<description>Ummm... yeah. onclick="foo()"</description>
		<content:encoded><![CDATA[<p>Ummm&#8230; yeah. onclick=&#8221;foo()&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
