<?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: How to highlight search results with JavaScript and CSS</title>
	<atom:link href="http://eriwen.com/javascript/highlight-search-results-with-js/feed/" rel="self" type="application/rss+xml" />
	<link>http://eriwen.com/javascript/highlight-search-results-with-js/</link>
	<description>Programming productively with open-source tools</description>
	<lastBuildDate>Fri, 11 May 2012 19:13:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: ugg sale</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-8058</link>
		<dc:creator>ugg sale</dc:creator>
		<pubDate>Tue, 14 Feb 2012 06:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-8058</guid>
		<description>There is noticeably a bundle to know about this. I assume you made certain nice points in features also.</description>
		<content:encoded><![CDATA[<p>There is noticeably a bundle to know about this. I assume you made certain nice points in features also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: resume website</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-8024</link>
		<dc:creator>resume website</dc:creator>
		<pubDate>Mon, 09 Jan 2012 05:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-8024</guid>
		<description>I want to highlight the color of font in the following code 
&lt;code&gt;
javascript:var t=document.getElementsByTagName(&#039;a&#039;);for(i=0;i&lt;t.length;i++){if(t[i].rel.toLowerCase()==&#039;nofollow&#039;){void(t[i].style.color=&#039;green&#039;);}}
&lt;/code&gt;
How can i?</description>
		<content:encoded><![CDATA[<p>I want to highlight the color of font in the following code<br />
<code><br />
javascript:var t=document.getElementsByTagName('a');for(i=0;i&lt;t.length;i++){if(t[i].rel.toLowerCase()==&#039;nofollow&#039;){void(t[i].style.color=&#039;green&#039;);}}<br />
</code><br />
How can i?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ranu</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-7678</link>
		<dc:creator>Ranu</dc:creator>
		<pubDate>Tue, 13 Dec 2011 12:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-7678</guid>
		<description>I have got another nice article how to highlighting text through javascript
simple and attractive 
&lt;code&gt;&lt;a href=&#039;http://c-sharp-corner.blogspot.com/2011/12/javascript-for-highlighting-text-inside.html&#039; rel=&quot;nofollow&quot;&gt;Highlighting text through javascript&lt;/a&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I have got another nice article how to highlighting text through javascript<br />
simple and attractive<br />
<code><a href='http://c-sharp-corner.blogspot.com/2011/12/javascript-for-highlighting-text-inside.html' rel="nofollow">Highlighting text through javascript</a></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer Herbrich</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-6297</link>
		<dc:creator>Jennifer Herbrich</dc:creator>
		<pubDate>Sun, 12 Jun 2011 16:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-6297</guid>
		<description>Is this Coode Free or is this a Snipped from a exist Website??</description>
		<content:encoded><![CDATA[<p>Is this Coode Free or is this a Snipped from a exist Website??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Wendelin</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-5547</link>
		<dc:creator>Eric Wendelin</dc:creator>
		<pubDate>Sat, 05 Mar 2011 23:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-5547</guid>
		<description>Nathan:
The easiest way I can think of doing something like that is to find all of the &quot;span.highlighted&quot; nodes and either extract the text from the span or change all of the nodes in some way so that the CSS styles no longer apply. 

There probably is a more elegant way to go about this, but I haven&#039;t found it yet.</description>
		<content:encoded><![CDATA[<p>Nathan:<br />
The easiest way I can think of doing something like that is to find all of the &#8220;span.highlighted&#8221; nodes and either extract the text from the span or change all of the nodes in some way so that the CSS styles no longer apply. </p>
<p>There probably is a more elegant way to go about this, but I haven&#8217;t found it yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-5501</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Tue, 01 Mar 2011 21:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-5501</guid>
		<description>Eric, 

Thanks for the great script.  Perhaps this just shows my ignorance about Javascript, but is there an easy way to allow users to turn the highlighting off?  It can be a bit distracting once they&#039;ve found their query.

Thanks!</description>
		<content:encoded><![CDATA[<p>Eric, </p>
<p>Thanks for the great script.  Perhaps this just shows my ignorance about Javascript, but is there an easy way to allow users to turn the highlighting off?  It can be a bit distracting once they&#8217;ve found their query.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erix</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-4071</link>
		<dc:creator>Erix</dc:creator>
		<pubDate>Mon, 15 Nov 2010 15:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-4071</guid>
		<description>thanks Eric 
what about i use an array to store some data like names and let this code search for them and highlight or make them look in other colors? which part should i change? is it should somthin like this:
list_easy = new Array(&quot;name1&quot;,&quot;name2&quot;,&quot;name3&quot;);
and change line 3 and 34(how ? i don&#039;t know!)
(i know css must be change somehow but i&#039;m new in programming and have no idea about it!)</description>
		<content:encoded><![CDATA[<p>thanks Eric<br />
what about i use an array to store some data like names and let this code search for them and highlight or make them look in other colors? which part should i change? is it should somthin like this:<br />
list_easy = new Array(&#8220;name1&#8243;,&#8221;name2&#8243;,&#8221;name3&#8243;);<br />
and change line 3 and 34(how ? i don&#8217;t know!)<br />
(i know css must be change somehow but i&#8217;m new in programming and have no idea about it!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Wendelin</title>
		<link>http://eriwen.com/javascript/highlight-search-results-with-js/#comment-4046</link>
		<dc:creator>Eric Wendelin</dc:creator>
		<pubDate>Sat, 13 Nov 2010 16:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/javascript/highlight-search-results-with-js/#comment-4046</guid>
		<description>Erix: 
Using the JavaScript and CSS above, you only need to call
&lt;code&gt;highlightTextNodes(document.body, /Erix/g, 0);&lt;/code&gt;

and do not need to change any of my source code. Although you also do not need the highlightOnLoad or getSearchString functions at all.</description>
		<content:encoded><![CDATA[<p>Erix:<br />
Using the JavaScript and CSS above, you only need to call<br />
<code>highlightTextNodes(document.body, /Erix/g, 0);</code></p>
<p>and do not need to change any of my source code. Although you also do not need the highlightOnLoad or getSearchString functions at all.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

