<?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>Comentarios en: Cambia el tamaño de la fuente dependiendo del tamaño del párrafo</title>
	<atom:link href="http://www.anieto2k.com/2009/01/26/cambia-el-tamano-de-la-fuente-dependiendo-del-tamano-del-parrafo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anieto2k.com/2009/01/26/cambia-el-tamano-de-la-fuente-dependiendo-del-tamano-del-parrafo/</link>
	<description>Desarrollo web, Wordpress, y alguna cosilla más</description>
	<lastBuildDate>Sun, 12 Feb 2012 12:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Por: janckos</title>
		<link>http://www.anieto2k.com/2009/01/26/cambia-el-tamano-de-la-fuente-dependiendo-del-tamano-del-parrafo/#comment-53647</link>
		<dc:creator>janckos</dc:creator>
		<pubDate>Mon, 26 Jan 2009 22:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.anieto2k.com/?p=7361#comment-53647</guid>
		<description>buen tip! gracias.</description>
		<content:encoded><![CDATA[<p>buen tip! gracias.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Darkanima</title>
		<link>http://www.anieto2k.com/2009/01/26/cambia-el-tamano-de-la-fuente-dependiendo-del-tamano-del-parrafo/#comment-53644</link>
		<dc:creator>Darkanima</dc:creator>
		<pubDate>Mon, 26 Jan 2009 19:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.anieto2k.com/?p=7361#comment-53644</guid>
		<description>Esta muy bien pero el script hace demasiadas evaluaciones cuando son inecesarias.

&lt;pre&gt;&lt;code&gt;if ($numWords &lt; 10) {
        $quote.css(&quot;font-size&quot;, &quot;36px&quot;);
    }
    else if ($numWords &lt; 20) {
        $quote.css(&quot;font-size&quot;, &quot;32px&quot;);
    }
    else if ($numWords &lt; 30) {
        $quote.css(&quot;font-size&quot;, &quot;28px&quot;);
    }
    else if ($numWords &lt; 40) {
        $quote.css(&quot;font-size&quot;, &quot;24px&quot;);
    }
    else {
        $quote.css(&quot;font-size&quot;, &quot;20px&quot;);
    } 
&lt;/code&gt;&lt;/pre&gt;
si sabemos por el primer caso que es que es mayor que diez(da falso) entonces no es necesario comprobarlo en el segundo if de nuevo.</description>
		<content:encoded><![CDATA[<p>Esta muy bien pero el script hace demasiadas evaluaciones cuando son inecesarias.</p>
<pre><code>if ($numWords &lt; 10) {
        $quote.css("font-size", "36px");
    }
    else if ($numWords &lt; 20) {
        $quote.css("font-size", "32px");
    }
    else if ($numWords &lt; 30) {
        $quote.css("font-size", "28px");
    }
    else if ($numWords &lt; 40) {
        $quote.css("font-size", "24px");
    }
    else {
        $quote.css("font-size", "20px");
    }
</code></pre>
<p>si sabemos por el primer caso que es que es mayor que diez(da falso) entonces no es necesario comprobarlo en el segundo if de nuevo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Angelfire</title>
		<link>http://www.anieto2k.com/2009/01/26/cambia-el-tamano-de-la-fuente-dependiendo-del-tamano-del-parrafo/#comment-53624</link>
		<dc:creator>Angelfire</dc:creator>
		<pubDate>Mon, 26 Jan 2009 18:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.anieto2k.com/?p=7361#comment-53624</guid>
		<description>Huy, esto me será realmente util para el nuevo theme que estoy preparando :D</description>
		<content:encoded><![CDATA[<p>Huy, esto me será realmente util para el nuevo theme que estoy preparando <img src='http://www.anieto2k.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Nicolás Bermani</title>
		<link>http://www.anieto2k.com/2009/01/26/cambia-el-tamano-de-la-fuente-dependiendo-del-tamano-del-parrafo/#comment-53623</link>
		<dc:creator>Nicolás Bermani</dc:creator>
		<pubDate>Mon, 26 Jan 2009 18:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.anieto2k.com/?p=7361#comment-53623</guid>
		<description>Excelente para realizar Quotes :)</description>
		<content:encoded><![CDATA[<p>Excelente para realizar Quotes <img src='http://www.anieto2k.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

