<?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"
	>
<channel>
	<title>Comments on: Using JQuery to &#8220;Hide&#8221; 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/</link>
	<description>A Technical SharePoint Blog</description>
	<pubDate>Thu, 09 Sep 2010 08:43:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: gregc</title>
		<link>http://spinsiders.com/gregc/2009/12/07/using-jquery-to-hide-empty-divs/#comment-17</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-17</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'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've replaced  in my sample above with the appropriate div that you'd like to remove the &#160;s from.  this includes removing the  tags.

Greg</description>
		<content:encoded><![CDATA[<p>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&#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-16</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-16</guid>
		<description>I guess the carrots are causing my copy and pasting problems. Once again, the code I'm using is:

script type="text/javascript" src="Style Library/en-us/CustomStyles/JS/jquery-1.4.2.min.js"/script

	script type="text/javascript" src="Style Library/en-us/CustomStyles/JS/remove_space.js"/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-15</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-15</guid>
		<description>Sorry, my copied code didn't paste in properly. I'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-14</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-14</guid>
		<description>Hello,
I'm also trying to hide the empty divs on my Sharepoint 2007 site. However, I'm not very familiar with JQuery or Javascript.
I've copied your script and saved it in a file called remove_spaces.js. I'm also calling in a JQuery library. I'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'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>
