<?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: Truncatable &#8211; A jQuery plugin</title>
	<atom:link href="http://theodin.co.uk/blog/development/truncatable-jquery-plugin.html/feed" rel="self" type="application/rss+xml" />
	<link>http://theodin.co.uk/blog/development/truncatable-jquery-plugin.html</link>
	<description>Freelance Web Design Kent</description>
	<lastBuildDate>Fri, 30 Jul 2010 10:58:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: 30个神奇实用的jQuery插件与教程</title>
		<link>http://theodin.co.uk/blog/development/truncatable-jquery-plugin.html/comment-page-1#comment-836</link>
		<dc:creator>30个神奇实用的jQuery插件与教程</dc:creator>
		<pubDate>Wed, 14 Jul 2010 06:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://theodin.co.uk/?p=737#comment-836</guid>
		<description>[...] 9. Truncatable Truncatable 允许你在网页中隐藏文本块，并在需要时显示。演示 &#124; 插件主页 [...]</description>
		<content:encoded><![CDATA[<p>[...] 9. Truncatable Truncatable 允许你在网页中隐藏文本块，并在需要时显示。演示 | 插件主页 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philipbeel</title>
		<link>http://theodin.co.uk/blog/development/truncatable-jquery-plugin.html/comment-page-1#comment-818</link>
		<dc:creator>philipbeel</dc:creator>
		<pubDate>Fri, 09 Jul 2010 07:46:58 +0000</pubDate>
		<guid isPermaLink="false">http://theodin.co.uk/?p=737#comment-818</guid>
		<description>@Simon Miller, Thanks for sharing this, do you have a link to where you have implimented this code? It would be great to see!</description>
		<content:encoded><![CDATA[<p>@Simon Miller, Thanks for sharing this, do you have a link to where you have implimented this code? It would be great to see!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Miller</title>
		<link>http://theodin.co.uk/blog/development/truncatable-jquery-plugin.html/comment-page-1#comment-817</link>
		<dc:creator>Simon Miller</dc:creator>
		<pubDate>Fri, 09 Jul 2010 00:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://theodin.co.uk/?p=737#comment-817</guid>
		<description>Hi there,
I added on a tiny extra piece of functionality that made this plugin just a little better - JQuery UI effects.
1. At the var defaults declaration, add a new parameter &quot;show: &#039;&#039;, &quot;
2. Find $(&#039;span.hiddenText_&#039;+num).show() and add &quot;defaults.show&quot; in the () after .show
Now you can have transition effects for the click event:
.truncatable({ limit: 100, more: &#039;...  &lt;strong&gt;read more&lt;/strong&gt;&#039;, less: false, show: &#039;fast&#039; })
I also found you can happily chain on to the end of the function so that you can show other panels when the click occurs:
.truncatable({ limit: 100, more: &#039;...  &lt;strong&gt;read more&lt;/strong&gt;&#039;, less: false, show: &#039;fast&#039; }).click(function () {
        $(this).parent().find(&quot;div.comments&quot;).show();
    });</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I added on a tiny extra piece of functionality that made this plugin just a little better &#8211; JQuery UI effects.</p>
<p>1. At the var defaults declaration, add a new parameter &#8220;show: &#8221;, &#8221;<br />
2. Find $(&#8216;span.hiddenText_&#8217;+num).show() and add &#8220;defaults.show&#8221; in the () after .show</p>
<p>Now you can have transition effects for the click event:</p>
<p>.truncatable({ limit: 100, more: &#8216;&#8230;  <strong>read more</strong>&#8216;, less: false, show: &#8216;fast&#8217; })</p>
<p>I also found you can happily chain on to the end of the function so that you can show other panels when the click occurs:</p>
<p>.truncatable({ limit: 100, more: &#8216;&#8230;  <strong>read more</strong>&#8216;, less: false, show: &#8216;fast&#8217; }).click(function () {<br />
        $(this).parent().find(&#8220;div.comments&#8221;).show();<br />
    });</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philipbeel</title>
		<link>http://theodin.co.uk/blog/development/truncatable-jquery-plugin.html/comment-page-1#comment-806</link>
		<dc:creator>philipbeel</dc:creator>
		<pubDate>Wed, 30 Jun 2010 09:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://theodin.co.uk/?p=737#comment-806</guid>
		<description>Hi Guys, I am going to be updating the plugin soon so thanks for all the feedback it will make bug tracking a lot easier!</description>
		<content:encoded><![CDATA[<p>Hi Guys, I am going to be updating the plugin soon so thanks for all the feedback it will make bug tracking a lot easier!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vic Swift</title>
		<link>http://theodin.co.uk/blog/development/truncatable-jquery-plugin.html/comment-page-1#comment-804</link>
		<dc:creator>Vic Swift</dc:creator>
		<pubDate>Tue, 29 Jun 2010 19:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://theodin.co.uk/?p=737#comment-804</guid>
		<description>@Ramin, I worked it out in the end but wouldn&#039;t have spotted the other stuff so big thanks for this.</description>
		<content:encoded><![CDATA[<p>@Ramin, I worked it out in the end but wouldn&#8217;t have spotted the other stuff so big thanks for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramin</title>
		<link>http://theodin.co.uk/blog/development/truncatable-jquery-plugin.html/comment-page-1#comment-802</link>
		<dc:creator>Ramin</dc:creator>
		<pubDate>Tue, 29 Jun 2010 13:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://theodin.co.uk/?p=737#comment-802</guid>
		<description>@Vic Swift, here are the errors found when I run it through jslint.com:
http://gist.github.com/457242
And here&#039;s the code with the errors and warnings removed and the return false statement in the right place. The code formatting was removed when I downloaded it, so I had to run it through this first: http://jsbeautifier.org/
http://gist.github.com/457245</description>
		<content:encoded><![CDATA[<p>@Vic Swift, here are the errors found when I run it through jslint.com:<br />
<a href="http://gist.github.com/457242" rel="nofollow">http://gist.github.com/457242</a></p>
<p>And here&#8217;s the code with the errors and warnings removed and the return false statement in the right place. The code formatting was removed when I downloaded it, so I had to run it through this first: <a href="http://jsbeautifier.org/" rel="nofollow">http://jsbeautifier.org/</a></p>
<p><a href="http://gist.github.com/457245" rel="nofollow">http://gist.github.com/457245</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
