<?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: Ellipsis or &#8220;truncate with dots&#8221; via JavaScript</title>
	<atom:link href="http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/</link>
	<description></description>
	<pubDate>Fri, 04 Jul 2008 12:55:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Jonah Dempcy</title>
		<link>http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-76078</link>
		<dc:creator>Jonah Dempcy</dc:creator>
		<pubDate>Tue, 06 May 2008 02:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-76078</guid>
		<description>My colleague Alex posted an article about truncating in JavaScript using the Prototype framework:

http://www.thetruetribe.com/2008/05/how-to-truncate-in-prototype.html</description>
		<content:encoded><![CDATA[<p>My colleague Alex posted an article about truncating in JavaScript using the Prototype framework:</p>
<p><a href="http://www.thetruetribe.com/2008/05/how-to-truncate-in-prototype.html" rel="nofollow">http://www.thetruetribe.com/2008/05/how-to-truncate-in-prototype.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lahmatiy</title>
		<link>http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-70935</link>
		<dc:creator>lahmatiy</dc:creator>
		<pubDate>Thu, 28 Feb 2008 15:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-70935</guid>
		<description>Safari3 support text-overflow.
Opera9 support text-overflow via -o-text-overflow.
In Firefox we can use -moz-binding.
Look this solution http://basis.et-lab.ru/habrahabr/ellipsis/step4.html or http://basis.et-lab.ru/habrahabr/ellipsis/demo.html</description>
		<content:encoded><![CDATA[<p>Safari3 support text-overflow.<br />
Opera9 support text-overflow via -o-text-overflow.<br />
In Firefox we can use -moz-binding.<br />
Look this solution <a href="http://basis.et-lab.ru/habrahabr/ellipsis/step4.html" rel="nofollow">http://basis.et-lab.ru/habrahabr/ellipsis/step4.html</a> or <a href="http://basis.et-lab.ru/habrahabr/ellipsis/demo.html" rel="nofollow">http://basis.et-lab.ru/habrahabr/ellipsis/demo.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tamer</title>
		<link>http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-67252</link>
		<dc:creator>Tamer</dc:creator>
		<pubDate>Sun, 27 Jan 2008 01:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-67252</guid>
		<description>Another thing is what about Resizing the browser, if i have a a text in a TD with width="80%" the script works like a charm in normal state of the browser window BUT if i maximize the browser then the Ellipsis is meaningless since there will be a big white space after the text that could be used, what would be the implementation then ?</description>
		<content:encoded><![CDATA[<p>Another thing is what about Resizing the browser, if i have a a text in a TD with width=&#8221;80%&#8221; the script works like a charm in normal state of the browser window BUT if i maximize the browser then the Ellipsis is meaningless since there will be a big white space after the text that could be used, what would be the implementation then ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Marklein</title>
		<link>http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-58832</link>
		<dc:creator>Ben Marklein</dc:creator>
		<pubDate>Mon, 15 Oct 2007 01:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-58832</guid>
		<description>Sean O - sorry, that jquery script is inferior.  It truncates to a number of characters, which is trivial.  The script above truncates based on actual _width_.  If you truncated to a number of characters and you want to ensure that the text will fit within a given width, you need to base your calculation off of the widest character, which in reality may be some multiple of your narrowest character, e.g. "W" vs. "i".</description>
		<content:encoded><![CDATA[<p>Sean O - sorry, that jquery script is inferior.  It truncates to a number of characters, which is trivial.  The script above truncates based on actual _width_.  If you truncated to a number of characters and you want to ensure that the text will fit within a given width, you need to base your calculation off of the widest character, which in reality may be some multiple of your narrowest character, e.g. &#8220;W&#8221; vs. &#8220;i&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kenneth</title>
		<link>http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-56290</link>
		<dc:creator>kenneth</dc:creator>
		<pubDate>Sat, 18 Aug 2007 00:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-56290</guid>
		<description>How about substituting "..." with &#8230; (Horizontal Ellipsis)? :)</description>
		<content:encoded><![CDATA[<p>How about substituting &#8220;&#8230;&#8221; with &hellip; (Horizontal Ellipsis)? <img src='http://www.ruzee.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pixelchutes</title>
		<link>http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-56208</link>
		<dc:creator>pixelchutes</dc:creator>
		<pubDate>Wed, 15 Aug 2007 21:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-56208</guid>
		<description>Does this script account for HTML entities?

e.g. if the the truncation tolerance occurs within an &#160;, will it show "&#38;nb..." Make sense?</description>
		<content:encoded><![CDATA[<p>Does this script account for HTML entities?</p>
<p>e.g. if the the truncation tolerance occurs within an &nbsp;, will it show &#8220;&amp;nb&#8230;&#8221; Make sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean O</title>
		<link>http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-56125</link>
		<dc:creator>Sean O</dc:creator>
		<pubDate>Tue, 14 Aug 2007 02:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-56125</guid>
		<description>Nice code snippet.  For a lean solution, have a look at the Truncate plugin for jQuery:
http://reindel.com/truncate/

Only 1k (compressed) -- 20k, including all the jQuery goodness -- with inline show/hide to boot.</description>
		<content:encoded><![CDATA[<p>Nice code snippet.  For a lean solution, have a look at the Truncate plugin for jQuery:<br />
<a href="http://reindel.com/truncate/" rel="nofollow">http://reindel.com/truncate/</a></p>
<p>Only 1k (compressed) &#8212; 20k, including all the jQuery goodness &#8212; with inline show/hide to boot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john z</title>
		<link>http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-56106</link>
		<dc:creator>john z</dc:creator>
		<pubDate>Mon, 13 Aug 2007 16:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/08/ellipsis-or-truncate-with-dots-via-javascript/#comment-56106</guid>
		<description>cool script.  I have two suggestions.  Implement an alt parameter that contains all of the original text so when the cursor hoovers over the truncated text, the full text is displayed.  The other would be to include a print version where the class then takes the full text.


Regards

John Z</description>
		<content:encoded><![CDATA[<p>cool script.  I have two suggestions.  Implement an alt parameter that contains all of the original text so when the cursor hoovers over the truncated text, the full text is displayed.  The other would be to include a print version where the class then takes the full text.</p>
<p>Regards</p>
<p>John Z</p>
]]></content:encoded>
	</item>
</channel>
</rss>
