<?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: Using JQuery to &quot;Hide&quot; Empty Divs</title>
	<atom:link href="http://spinsiders.com/gregc/2009/12/07/using-jquery-to-hide-empty-divs/feed/" rel="self" type="application/rss+xml" />
	<link>http://spinsiders.com/gregc/2009/12/07/using-jquery-to-hide-empty-divs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-jquery-to-hide-empty-divs</link>
	<description>by Greg Carnie</description>
	<lastBuildDate>Tue, 09 Mar 2010 15:07:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: gregc</title>
		<link>http://spinsiders.com/gregc/2009/12/07/using-jquery-to-hide-empty-divs/#comment-6</link>
		<dc:creator>gregc</dc:creator>
		<pubDate>Tue, 09 Mar 2010 15:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://spinsiders.com/gregc/?p=7#comment-6</guid>
		<description>Hi David - That is the correct way to implement jQuery.  Generally I prefer to have my source files in the _layouts directory, but I think the way you&#039;ve implemented it would work.  A couple things to try:

1) In your script tags in your masterpage, add a leading / to the src attribute;
2) Make sure you&#039;ve replaced  in my sample above with the appropriate div that you&#039;d like to remove the &#160;s from.  this includes removing the  tags.

Greg</description>
		<content:encoded><![CDATA[<p>Hi David &#8211; That is the correct way to implement jQuery.  Generally I prefer to have my source files in the _layouts directory, but I think the way you&#8217;ve implemented it would work.  A couple things to try:</p>
<p>1) In your script tags in your masterpage, add a leading / to the src attribute;<br />
2) Make sure you&#8217;ve replaced  in my sample above with the appropriate div that you&#8217;d like to remove the &nbsp;s from.  this includes removing the  tags.</p>
<p>Greg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Fast</title>
		<link>http://spinsiders.com/gregc/2009/12/07/using-jquery-to-hide-empty-divs/#comment-5</link>
		<dc:creator>David Fast</dc:creator>
		<pubDate>Mon, 08 Mar 2010 18:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://spinsiders.com/gregc/?p=7#comment-5</guid>
		<description>I guess the carrots are causing my copy and pasting problems. Once again, the code I&#039;m using is:

script type=&quot;text/javascript&quot; src=&quot;Style Library/en-us/CustomStyles/JS/jquery-1.4.2.min.js&quot;/script

	script type=&quot;text/javascript&quot; src=&quot;Style Library/en-us/CustomStyles/JS/remove_space.js&quot;/script</description>
		<content:encoded><![CDATA[<p>I guess the carrots are causing my copy and pasting problems. Once again, the code I&#8217;m using is:</p>
<p>script type=&#8221;text/javascript&#8221; src=&#8221;Style Library/en-us/CustomStyles/JS/jquery-1.4.2.min.js&#8221;/script</p>
<p>	script type=&#8221;text/javascript&#8221; src=&#8221;Style Library/en-us/CustomStyles/JS/remove_space.js&#8221;/script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Fast</title>
		<link>http://spinsiders.com/gregc/2009/12/07/using-jquery-to-hide-empty-divs/#comment-4</link>
		<dc:creator>David Fast</dc:creator>
		<pubDate>Mon, 08 Mar 2010 18:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://spinsiders.com/gregc/?p=7#comment-4</guid>
		<description>Sorry, my copied code didn&#039;t paste in properly. I&#039;m calling in the JS files in the head like this:</description>
		<content:encoded><![CDATA[<p>Sorry, my copied code didn&#8217;t paste in properly. I&#8217;m calling in the JS files in the head like this:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Fast</title>
		<link>http://spinsiders.com/gregc/2009/12/07/using-jquery-to-hide-empty-divs/#comment-3</link>
		<dc:creator>David Fast</dc:creator>
		<pubDate>Mon, 08 Mar 2010 18:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://spinsiders.com/gregc/?p=7#comment-3</guid>
		<description>Hello,
I&#039;m also trying to hide the empty divs on my Sharepoint 2007 site. However, I&#039;m not very familiar with JQuery or Javascript.
I&#039;ve copied your script and saved it in a file called remove_spaces.js. I&#039;m also calling in a JQuery library. I&#039;m calling both of these files in within the head of my master page like this:
	&lt;!-- JQUERY JS --&gt;




Is this the correct way to apply JQuery? I think I&#039;m missing a step or two.
Thanks,
David</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I&#8217;m also trying to hide the empty divs on my Sharepoint 2007 site. However, I&#8217;m not very familiar with JQuery or Javascript.<br />
I&#8217;ve copied your script and saved it in a file called remove_spaces.js. I&#8217;m also calling in a JQuery library. I&#8217;m calling both of these files in within the head of my master page like this:<br />
	<!-- JQUERY JS --></p>
<p>Is this the correct way to apply JQuery? I think I&#8217;m missing a step or two.<br />
Thanks,<br />
David</p>
]]></content:encoded>
	</item>
</channel>
</rss>

