<?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: jQuery Tip: Quick and Easy Font Resizing</title>
	<atom:link href="http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing/feed" rel="self" type="application/rss+xml" />
	<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing</link>
	<description>Become a Better Developer, One Tip at a Time.</description>
	<lastBuildDate>Sun, 07 Mar 2010 17:43:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Smartness</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-1543</link>
		<dc:creator>Smartness</dc:creator>
		<pubDate>Sat, 16 Jan 2010 09:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-1543</guid>
		<description>Two questions!

1. How about resetting the text to original size?

2. Adding more line-height when text gets larger.</description>
		<content:encoded><![CDATA[<p>Two questions!</p>
<p>1. How about resetting the text to original size?</p>
<p>2. Adding more line-height when text gets larger.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How To Create Your First AJAX and PHP Contact Form &#124; Dev Tips &#124; Become a Better Developer, One Tip at a Time.</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-1024</link>
		<dc:creator>How To Create Your First AJAX and PHP Contact Form &#124; Dev Tips &#124; Become a Better Developer, One Tip at a Time.</dc:creator>
		<pubDate>Mon, 02 Nov 2009 12:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-1024</guid>
		<description>[...] jQuery is a Javascript library that allows you to easily do all kinds of cool things, such as quick and easy font resizing and [...]</description>
		<content:encoded><![CDATA[<p>[...] jQuery is a Javascript library that allows you to easily do all kinds of cool things, such as quick and easy font resizing and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: forny</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-994</link>
		<dc:creator>forny</dc:creator>
		<pubDate>Tue, 06 Oct 2009 08:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-994</guid>
		<description>hey... good tut... thanks for that useful information...

I have had a stupid problem, I don&#039;t know why buttons (I replace standard buttons with background images) have like and dotted outline. I have seen and modified once and again CSS files putting outline:0 but nothing works, it is weird because the outline is only shown in Firefox... do you know how can I solve it??? thanks</description>
		<content:encoded><![CDATA[<p>hey&#8230; good tut&#8230; thanks for that useful information&#8230;</p>
<p>I have had a stupid problem, I don&#8217;t know why buttons (I replace standard buttons with background images) have like and dotted outline. I have seen and modified once and again CSS files putting outline:0 but nothing works, it is weird because the outline is only shown in Firefox&#8230; do you know how can I solve it??? thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-867</link>
		<dc:creator>Michal</dc:creator>
		<pubDate>Sun, 02 Aug 2009 19:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-867</guid>
		<description>Could we get this with cookies, the last font size gets stored so it will always display that way..</description>
		<content:encoded><![CDATA[<p>Could we get this with cookies, the last font size gets stored so it will always display that way..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery Tip: Quick and Easy Font Resizing &#124; Dev Tips &#124; Become a Better Developer, One Tip at a Time. &#124; Squico</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-803</link>
		<dc:creator>jQuery Tip: Quick and Easy Font Resizing &#124; Dev Tips &#124; Become a Better Developer, One Tip at a Time. &#124; Squico</dc:creator>
		<pubDate>Sun, 07 Jun 2009 00:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-803</guid>
		<description>[...] In: JQuery plugins  7 Jun 2009         http://dev-tips.com/featured/jquery-tip-font-resizing-with-animation-effects Go to Source [...]</description>
		<content:encoded><![CDATA[<p>[...] In: JQuery plugins  7 Jun 2009         <a href="http://dev-tips.com/featured/jquery-tip-font-resizing-with-animation-effects" rel="nofollow">http://dev-tips.com/featured/jquery-tip-font-resizing-with-animation-effects</a> Go to Source [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: key</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-797</link>
		<dc:creator>key</dc:creator>
		<pubDate>Thu, 04 Jun 2009 10:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-797</guid>
		<description>hello, fantastic script. 
after a little bit of coding I am sharing with you the &quot;return to the normal&quot; state and the maximum and minimum value. I am new to jquery so maybe it is not exactly the right code- but it works:

 $(function(){
		
                $(&#039;a#sizeBig, a#sizeSmall, a#sizeNormal&#039;).click(function(){
					 
                    var ourText = $(&#039;#content&#039;);
                    var currFontSize = ourText.css(&#039;fontSize&#039;);
                    var finalNum = parseFloat(currFontSize, 11);
                    var stringEnding = currFontSize.slice(-2);
                  
                      
                    
                    if(this.className == &#039;sizeBig&#039; ) {
						finalNum *= 1.2;
						if (finalNum &gt;= 20) {finalNum = 20;}
                        
                    }
                    
                   if (this.className == &#039;sizeSmall&#039; ){
                        finalNum /=1.2;
						if (finalNum &lt;= 9) {finalNum = 9;}
                     
                    }
					
					 else if(this.className == &#039;sizeNormal&#039; ) {
                       finalNum = 11;
                        
                    }
					
                    ourText.css(&#039;fontSize&#039;, finalNum + stringEnding);
				
                    return false;
                });
            });</description>
		<content:encoded><![CDATA[<p>hello, fantastic script.<br />
after a little bit of coding I am sharing with you the &#8220;return to the normal&#8221; state and the maximum and minimum value. I am new to jquery so maybe it is not exactly the right code- but it works:</p>
<p> $(function(){</p>
<p>                $(&#8216;a#sizeBig, a#sizeSmall, a#sizeNormal&#8217;).click(function(){</p>
<p>                    var ourText = $(&#8216;#content&#8217;);<br />
                    var currFontSize = ourText.css(&#8216;fontSize&#8217;);<br />
                    var finalNum = parseFloat(currFontSize, 11);<br />
                    var stringEnding = currFontSize.slice(-2);</p>
<p>                    if(this.className == &#8217;sizeBig&#8217; ) {<br />
						finalNum *= 1.2;<br />
						if (finalNum &gt;= 20) {finalNum = 20;}</p>
<p>                    }</p>
<p>                   if (this.className == &#8217;sizeSmall&#8217; ){<br />
                        finalNum /=1.2;<br />
						if (finalNum &lt;= 9) {finalNum = 9;}</p>
<p>                    }</p>
<p>					 else if(this.className == &#8217;sizeNormal&#8217; ) {<br />
                       finalNum = 11;</p>
<p>                    }</p>
<p>                    ourText.css(&#8216;fontSize&#8217;, finalNum + stringEnding);</p>
<p>                    return false;<br />
                });<br />
            });</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moon</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-778</link>
		<dc:creator>Moon</dc:creator>
		<pubDate>Fri, 22 May 2009 16:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-778</guid>
		<description>I tried moving the js into an external file and calling it to the head, doesn&#039;t seem to work externally.</description>
		<content:encoded><![CDATA[<p>I tried moving the js into an external file and calling it to the head, doesn&#8217;t seem to work externally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew Douglass</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-648</link>
		<dc:creator>Drew Douglass</dc:creator>
		<pubDate>Fri, 01 May 2009 19:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-648</guid>
		<description>Your absolutely welcome Max, don&#039;t mention it :)

I&#039;ll check out your demo soon, looking forward to seeing it!</description>
		<content:encoded><![CDATA[<p>Your absolutely welcome Max, don&#8217;t mention it <img src='http://dev-tips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ll check out your demo soon, looking forward to seeing it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max Black</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-647</link>
		<dc:creator>Max Black</dc:creator>
		<pubDate>Fri, 01 May 2009 19:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-647</guid>
		<description>Drew, it works beautifully. You can see the results here, when I get the code added to all the pages and posted:

&lt;a href=&quot;http://www.iraqtimeline.com/demos/newpagelisting.html&quot; rel=&quot;nofollow&quot;&gt;Demo Page&lt;/a&gt; (listing of all demo pages in demo site)

You&#039;ve really gone over and above the call of duty. Thanks, man, I owe you one.</description>
		<content:encoded><![CDATA[<p>Drew, it works beautifully. You can see the results here, when I get the code added to all the pages and posted:</p>
<p><a href="http://www.iraqtimeline.com/demos/newpagelisting.html" rel="nofollow">Demo Page</a> (listing of all demo pages in demo site)</p>
<p>You&#8217;ve really gone over and above the call of duty. Thanks, man, I owe you one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew Douglass</title>
		<link>http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing#comment-642</link>
		<dc:creator>Drew Douglass</dc:creator>
		<pubDate>Fri, 01 May 2009 04:09:38 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=68#comment-642</guid>
		<description>Hey Max,

No worries, take a look at the source code here and that should take care of it :)

Also, note how in the example we target only the anchor tags wrapped in a div with an id of font_change. This is because we need to return false but don&#039;t want to affect any other links on the page. 

Here you go:
&lt;a href=&#039;http://dev-tips.com/demo/max.html&#039; rel=&quot;nofollow&quot;&gt;http://dev-tips.com/demo/max.html&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hey Max,</p>
<p>No worries, take a look at the source code here and that should take care of it <img src='http://dev-tips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Also, note how in the example we target only the anchor tags wrapped in a div with an id of font_change. This is because we need to return false but don&#8217;t want to affect any other links on the page. </p>
<p>Here you go:<br />
<a href='http://dev-tips.com/demo/max.html' rel="nofollow">http://dev-tips.com/demo/max.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
