<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Reynold Salceda</title>
	<atom:link href="http://reynoldsalceda.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://reynoldsalceda.com</link>
	<description></description>
	<lastBuildDate>Wed, 29 Jun 2011 01:15:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Add Hover Effect to Cufon</title>
		<link>http://reynoldsalceda.com/web-design/add-hover-effect-to-cufon/</link>
		<comments>http://reynoldsalceda.com/web-design/add-hover-effect-to-cufon/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 22:32:36 +0000</pubDate>
		<dc:creator>enod</dc:creator>
				<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://reynoldsalceda.com/?p=4</guid>
		<description><![CDATA[Cufón is an image replacement technique for achieving rich typography in a website. The best things about it are the impressive speed, quality rendering and the fact that it only requires JavaScript enabled in the viewer’s browser. We can just &#8230; <a href="http://reynoldsalceda.com/web-design/add-hover-effect-to-cufon/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://cufon.shoqolate.com/generate/" target="_blank">Cufón</a> is an image replacement technique for achieving rich typography in a website. The best things about it are the impressive speed, quality  rendering and the fact that it only requires JavaScript enabled in the  viewer’s browser.</p>
<p>We can just specify the hover color on our js code</p>
<p>Cufon(&#8216;#urSelector&#8217;, {<br />
hover: {<br />
color: &#8216;#fdc900;&#8217;<br />
}<br />
});<br />
Cufon.replace(&#8216;#urSelector&#8217;, {hover: true});<br />
Cufon.replace(&#8216;#urSelector&#8217;, {fontFamily: &#8216;MyFont&#8217;});</p>
<p>But I don&#8217;t like to add another block of code just to change another hover effect for another element.<br />
So lets make use of the css :hover. Just add to hover color in your css file</p>
<p>Cufon.replace(&#8216;#urSelector&#8217;, {hover: true});<br />
Cufon.replace(&#8216;#urSelector&#8217;, {fontFamily: &#8216;MyFont&#8217;});</p>
<p>We could even shorten this more</p>
<p>Cufon.replace(&#8216;#urSelector&#8217;, { hover: true, fontFamily: &#8216;MyFont&#8217; });</p>
<p>That&#8217;s it. You now have a working hover effect for Cufon.</p>
]]></content:encoded>
			<wfw:commentRss>http://reynoldsalceda.com/web-design/add-hover-effect-to-cufon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

