<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Multiple Fancy Drop Caps</title>
	<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps</link>
	<description>Getting to know the library of choice for unobtrusive JavaScript</description>
	<pubDate>Fri, 29 Aug 2008 00:02:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Lee</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-53191</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Thu, 14 Aug 2008 05:16:29 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-53191</guid>
		<description>.prependTo( paragraph ); 

This line, I think has a little problem.

If the first letter is a child of an "a" ancor, after swapping, the first letter will no longer be a child of the "a" ancor.</description>
		<content:encoded><![CDATA[<p>.prependTo( paragraph ); </p>
<p>This line, I think has a little problem.</p>
<p>If the first letter is a child of an &#8220;a&#8221; ancor, after swapping, the first letter will no longer be a child of the &#8220;a&#8221; ancor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Everquest platinum</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-49418</link>
		<dc:creator>Everquest platinum</dc:creator>
		<pubDate>Mon, 16 Jun 2008 08:45:46 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-49418</guid>
		<description>Thanx For sharing such a beautiful resource. I really appreciate it..</description>
		<content:encoded><![CDATA[<p>Thanx For sharing such a beautiful resource. I really appreciate it..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40804</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Wed, 16 Apr 2008 11:44:38 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40804</guid>
		<description>Jurriaan,

Did you use &#38;lt; instead of &#60; and &#38;gt; instead of &#62;? (see "IMPORTANT" above comment textarea.)</description>
		<content:encoded><![CDATA[<p>Jurriaan,</p>
<p>Did you use &amp;lt; instead of &lt; and &amp;gt; instead of &gt;? (see &#8220;IMPORTANT&#8221; above comment textarea.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jurriaan</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40767</link>
		<dc:creator>Jurriaan</dc:creator>
		<pubDate>Wed, 16 Apr 2008 07:08:52 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40767</guid>
		<description>wtf it deletes my span tag</description>
		<content:encoded><![CDATA[<p>wtf it deletes my span tag</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jurriaan</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40766</link>
		<dc:creator>Jurriaan</dc:creator>
		<pubDate>Wed, 16 Apr 2008 07:07:33 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40766</guid>
		<description>sorry i pasted the wrong code
&lt;pre&gt;
&lt;code&gt;
swap_letter();
	});
	function swap_letter() {
	  $('#content p').each(function(index) {
		var paragraph = this;
		var node = paragraph;
		while (node.childNodes.length) {
		  node = node.firstChild;
		}
		var text = node.nodeValue;
		var first_letter = text.substr(0,1);
		var match = /[a-zA-Z]/.test(first_letter);
		if ( match ) {
		  node.nodeValue = text.slice(1);
		  $('')
			  .text( first_letter )
			  .addClass('eerste-letter')
			  .prependTo( paragraph );
		  first_letter = "";
		}
	  });
	}
&lt;/code&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>sorry i pasted the wrong code</p>
<pre>
<code>
swap_letter();
	});
	function swap_letter() {
	  $('#content p').each(function(index) {
		var paragraph = this;
		var node = paragraph;
		while (node.childNodes.length) {
		  node = node.firstChild;
		}
		var text = node.nodeValue;
		var first_letter = text.substr(0,1);
		var match = /[a-zA-Z]/.test(first_letter);
		if ( match ) {
		  node.nodeValue = text.slice(1);
		  $('')
			  .text( first_letter )
			  .addClass('eerste-letter')
			  .prependTo( paragraph );
		  first_letter = "";
		}
	  });
	}
</code>
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jurriaan</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40765</link>
		<dc:creator>Jurriaan</dc:creator>
		<pubDate>Wed, 16 Apr 2008 07:06:13 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40765</guid>
		<description>I'm sorry i pasted the wrong code

&lt;pre&gt;
&lt;code&gt;
swap_letter();
	});
	function swap_letter() {
	  $('#content p').each(function(index) {
		var paragraph = this;
		var node = paragraph;
		while (node.childNodes.length) {
		  node = node.firstChild;
		}
		var text = node.nodeValue;
		var first_letter = text.substr(0,1);
		var match = /[a-zA-Z]/.test(first_letter);
		if ( match ) {
		  node.nodeValue = text.slice(1);
		  $('')
			  .text( first_letter )
			  .addClass('eerste-letter')
			  .prependTo( paragraph );
		  first_letter = "";
		}
	  });
	}
&lt;/code&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry i pasted the wrong code</p>
<pre>
<code>
swap_letter();
	});
	function swap_letter() {
	  $('#content p').each(function(index) {
		var paragraph = this;
		var node = paragraph;
		while (node.childNodes.length) {
		  node = node.firstChild;
		}
		var text = node.nodeValue;
		var first_letter = text.substr(0,1);
		var match = /[a-zA-Z]/.test(first_letter);
		if ( match ) {
		  node.nodeValue = text.slice(1);
		  $('')
			  .text( first_letter )
			  .addClass('eerste-letter')
			  .prependTo( paragraph );
		  first_letter = "";
		}
	  });
	}
</code>
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jurriaan</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40763</link>
		<dc:creator>Jurriaan</dc:creator>
		<pubDate>Wed, 16 Apr 2008 07:00:53 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-40763</guid>
		<description>I didn't want to use the image replacement but just a bigger font for the first letter. I could've used the &lt;code&gt;first-letter&lt;/code&gt; tag in css but since this doesn't work in IE6 I used the code below to replace the first letter of all paragraphs.

&lt;pre&gt;&lt;code&gt;
		  swap_letter();
				});
				function swap_letter() {
				  $('#content p').each(function(index) {
					var paragraph = this;
					var node = paragraph;
					while (node.childNodes.length) {
					  node = node.firstChild;
					}
					var text = node.nodeValue;
					var first_letter = text.substr(0,1);
					var match = /[a-zA-Z]/.test(first_letter);
					if ( match ) {
					  node.nodeValue = text.slice(1);
					  $('')
						  .text( first_letter )
						  .addClass('eerste-letter')
						  .prependTo( paragraph );
					  first_letter = "";
					}
				  });
				}
&lt;/code&gt;
&lt;/pre&gt;

CSS
&lt;pre&gt;
&lt;code&gt;
#content .eerste-letter 
font-size:2.5em;
line-height:90%;
padding-right:3px;
text-transform:uppercase;
}
&lt;/code&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t want to use the image replacement but just a bigger font for the first letter. I could&#8217;ve used the <code>first-letter</code> tag in css but since this doesn&#8217;t work in IE6 I used the code below to replace the first letter of all paragraphs.</p>
<pre><code>
		  swap_letter();
				});
				function swap_letter() {
				  $('#content p').each(function(index) {
					var paragraph = this;
					var node = paragraph;
					while (node.childNodes.length) {
					  node = node.firstChild;
					}
					var text = node.nodeValue;
					var first_letter = text.substr(0,1);
					var match = /[a-zA-Z]/.test(first_letter);
					if ( match ) {
					  node.nodeValue = text.slice(1);
					  $('')
						  .text( first_letter )
						  .addClass('eerste-letter')
						  .prependTo( paragraph );
					  first_letter = "";
					}
				  });
				}
</code>
</pre>
<p>CSS</p>
<pre>
<code>
#content .eerste-letter
font-size:2.5em;
line-height:90%;
padding-right:3px;
text-transform:uppercase;
}
</code>
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kingsley</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-9186</link>
		<dc:creator>Kingsley</dc:creator>
		<pubDate>Thu, 02 Aug 2007 18:46:49 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-9186</guid>
		<description>It'd be even better to make a sprite grid out of all the letters.</description>
		<content:encoded><![CDATA[<p>It&#8217;d be even better to make a sprite grid out of all the letters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-1531</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Thu, 18 Jan 2007 13:39:20 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-1531</guid>
		<description>Yeah, slicing is a good idea for getting those letters ready. Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>Yeah, slicing is a good idea for getting those letters ready. Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ty</title>
		<link>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-1530</link>
		<dc:creator>Ty</dc:creator>
		<pubDate>Thu, 18 Jan 2007 12:50:34 +0000</pubDate>
		<guid>http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps#comment-1530</guid>
		<description>Another thought on creating the images required would be to put the whole font character set together in imageReady or Fireworks. Drag out guides to seperate all the letters, and then click create slices from guides. Now save the slices and you're ready to rock and roll!</description>
		<content:encoded><![CDATA[<p>Another thought on creating the images required would be to put the whole font character set together in imageReady or Fireworks. Drag out guides to seperate all the letters, and then click create slices from guides. Now save the slices and you&#8217;re ready to rock and roll!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
