<?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>Rodrigo Flores - Blog Feed</title>
	<atom:link href="http://rodrigoflores.ca/blog-rss/" rel="self" type="application/rss+xml" />
	<link>http://rodrigoflores.ca</link>
	<description>Freelance Web Design &#38; Development in Hamilton, ON, CA</description>
	<lastBuildDate>Sun, 15 Aug 2010 10:49:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	
	<item>
		<title>Preventing Title Widows Revisited</title>
		<link>http://rodrigoflores.ca/preventing-title-widows-revisited/</link>
		<comments>http://rodrigoflores.ca/preventing-title-widows-revisited/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 05:08:53 +0000</pubDate>
		<dc:creator>Rodrigo Flores</dc:creator>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[title widows]]></category>
		<guid isPermaLink="false">http://rodrigoflores.ca/?p=676</guid>

		<description><![CDATA[A while ago, Chris Coyier, one of my favorite authors and fellow web enthusiast, posted handy script on <a href="http://css-tricks.com/">CSS-Tricks</a> to get rid of title widows. However, even though the script works beautifully there are a couple things that you should be aware of...`]]></description>
	
		<content:encoded><![CDATA[<p>The first time I tried to use Chris&#8217; snippet, I tried to apply it to all my Joomla titles in a template I was building, not realizing that there are a few conditions that render the script ineffective.</p>
<p>My original selector looked something like this:</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;width:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br /></div></td><td><div class="php codecolorer">$<span class="br0">&#40;</span><span class="st0">&quot;h1, h2, h3, h4, h5, h6, .contentheading, .componentheading&quot;</span><span class="br0">&#41;</span><span class="sy0">.</span><a href="http://www.php.net/each"><span class="kw3">each</span></a><span class="br0">&#40;</span><span class="kw2">function</span><span class="sy0">...</span></div></td></tr></tbody></table></div>
<p>And here is what I noticed afterwards:</p>
<ol>
<li>If the title contains only one word, it actually disappears,</li>
<li>More often than not, you will have nested tags in your titles and they would get lost when the script runs</li>
</ol>
<p>So to fix both issues, we just have to account for those possibilities:</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;width:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br /></div></td><td><div class="php codecolorer">$<span class="br0">&#40;</span><span class="st0">&quot;h1, h2, h3, h4, h5, h6, .contentheading, .componentheading&quot;</span><span class="br0">&#41;</span><span class="sy0">.</span><a href="http://www.php.net/each"><span class="kw3">each</span></a><span class="br0">&#40;</span><span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>$<span class="br0">&#40;</span>this<span class="br0">&#41;</span><span class="sy0">.</span>has<span class="br0">&#40;</span><span class="st_h">'a'</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> wordArray <span class="sy0">=</span> $<span class="br0">&#40;</span><span class="st_h">'a'</span><span class="sy0">,</span> this<span class="br0">&#41;</span><span class="sy0">.</span>text<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">.</span><a href="http://www.php.net/split"><span class="kw3">split</span></a><span class="br0">&#40;</span><span class="st0">&quot; &quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>wordArray<span class="sy0">.</span>length <span class="sy0">&gt;</span> <span class="nu0">1</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wordArray<span class="br0">&#91;</span>wordArray<span class="sy0">.</span>length<span class="sy0">-</span><span class="nu0">2</span><span class="br0">&#93;</span> <span class="sy0">+=</span> <span class="st0">&quot;&amp;nbsp;&quot;</span> <span class="sy0">+</span> wordArray<span class="br0">&#91;</span>wordArray<span class="sy0">.</span>length<span class="sy0">-</span><span class="nu0">1</span><span class="br0">&#93;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wordArray<span class="sy0">.</span>pop<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st_h">'a'</span><span class="sy0">,</span> this<span class="br0">&#41;</span><span class="sy0">.</span>html<span class="br0">&#40;</span>wordArray<span class="sy0">.</span><a href="http://www.php.net/join"><span class="kw3">join</span></a><span class="br0">&#40;</span><span class="st0">&quot; &quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> wordArray <span class="sy0">=</span> $<span class="br0">&#40;</span>this<span class="br0">&#41;</span><span class="sy0">.</span>text<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">.</span><a href="http://www.php.net/split"><span class="kw3">split</span></a><span class="br0">&#40;</span><span class="st0">&quot; &quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>wordArray<span class="sy0">.</span>length <span class="sy0">&gt;</span> <span class="nu0">1</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wordArray<span class="br0">&#91;</span>wordArray<span class="sy0">.</span>length<span class="sy0">-</span><span class="nu0">2</span><span class="br0">&#93;</span> <span class="sy0">+=</span> <span class="st0">&quot;&amp;nbsp;&quot;</span> <span class="sy0">+</span> wordArray<span class="br0">&#91;</span>wordArray<span class="sy0">.</span>length<span class="sy0">-</span><span class="nu0">1</span><span class="br0">&#93;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wordArray<span class="sy0">.</span>pop<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span>this<span class="br0">&#41;</span><span class="sy0">.</span>html<span class="br0">&#40;</span>wordArray<span class="sy0">.</span><a href="http://www.php.net/join"><span class="kw3">join</span></a><span class="br0">&#40;</span><span class="st0">&quot; &quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></td></tr></tbody></table></div>
<p>Note that the same can be true for small, strong, em, and other tags, etc. The point is just to be careful.</p>
<p>Here&#8217;s Chris&#8217; original article on <a href="http://css-tricks.com/preventing-widows-in-post-titles/">preventing title widows</a> just for reference.</p>
]]></content:encoded>
	
		<wfw:commentRss>http://rodrigoflores.ca/preventing-title-widows-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>

	</item>
	
	<item>
		<title>Equalizing Heights Across Different Elements with jQuery</title>
		<link>http://rodrigoflores.ca/equalizing-heights-across-different-elements-with-jquery/</link>
		<comments>http://rodrigoflores.ca/equalizing-heights-across-different-elements-with-jquery/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 04:33:23 +0000</pubDate>
		<dc:creator>Rodrigo Flores</dc:creator>
		<category><![CDATA[jQuery]]></category>
		<guid isPermaLink="false">http://rodrigoflores.ca/?p=641</guid>

		<description><![CDATA[<a href="http://jquery.com">jQuery</a> is a beautiful javascript library that simply makes things easier. I recently ran into a case where a client wanted several boxes with variable content to be as long as the longest box. Of course, jQuery came to the rescue...]]></description>
	
		<content:encoded><![CDATA[<h3>The Scenario</h3>
<p>Say you have a box (div) displaying a different testimonial every time the page is loaded. And you want two other boxes to be the same height as the one with the variable size testimonial.</p>
<div id="attachment_646" class="wp-caption aligncenter" style="width: 610px"><a href="http://rodrigoflores.ca/wp-content/uploads/2010/03/varible-heights.jpg"><img class="aligncenter size-full wp-image-646" title="varible-heights" src="http://rodrigoflores.ca/wp-content/uploads/2010/03/varible-heights.jpg" alt="" width="600" height="300" /></a><p class="wp-caption-text">* Note that if your content contains images, you will want to run the script once the window is loaded instead.</p></div>
<h3>The Javascript</h3>
<p>Nice &#038; easy:</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;width:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="php codecolorer"><span class="kw2">var</span> maxHeight <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span><br />
$<span class="br0">&#40;</span><span class="st_h">'.box'</span><span class="br0">&#41;</span><span class="sy0">.</span><a href="http://www.php.net/each"><span class="kw3">each</span></a><span class="br0">&#40;</span><span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw2">var</span> boxHeight <span class="sy0">=</span> $<span class="br0">&#40;</span>this<span class="br0">&#41;</span><span class="sy0">.</span>height<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>boxHeight <span class="sy0">&gt;</span> maxHeight<span class="br0">&#41;</span> maxHeight <span class="sy0">=</span> boxHeight<span class="sy0">;</span><br />
<span class="br0">&#125;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
$<span class="br0">&#40;</span><span class="st_h">'.box'</span><span class="br0">&#41;</span><span class="sy0">.</span>css<span class="br0">&#40;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; height <span class="sy0">:</span> <span class="br0">&#40;</span>maxHeight <span class="sy0">+</span> <span class="st_h">'px'</span><span class="br0">&#41;</span><br />
<span class="br0">&#125;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></td></tr></tbody></table></div>
<p>I will actually work on a example integrating WordPress into the equation and update this article as soon as I get some spare time in my hands.</p>
<p>If you have a more efficient method, please comment away! Otherwise, I hope you find this useful.</p>
]]></content:encoded>
	
		<wfw:commentRss>http://rodrigoflores.ca/equalizing-heights-across-different-elements-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>

	</item>
	
	<item>
		<title>The Best Resources For Web Designers &amp; Developers I Can Think Of (2010 Edition)</title>
		<link>http://rodrigoflores.ca/the-best-resources-for-web-designers-and-developers-i-can-think-of-2010/</link>
		<comments>http://rodrigoflores.ca/the-best-resources-for-web-designers-and-developers-i-can-think-of-2010/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 16:15:37 +0000</pubDate>
		<dc:creator>Rodrigo Flores</dc:creator>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[web design. resources]]></category>
		<category><![CDATA[web development]]></category>
		<guid isPermaLink="false">http://rodrigoflores.ca/?p=594</guid>

		<description><![CDATA[This is pretty much a list of the authors and the sites I follow the most. If you are thinking of becoming a web developer, you'll be reading a lot. Going through as much as these guys present would beat any sort of higher education in the web design field, and it would be <em>deadly</em> if you manage to combine them both...]]></description>
	
		<content:encoded><![CDATA[<h3>Nettuts+</h3>
<p><small><a href="http://net.tutsplus.com/">http://net.tutsplus.com/</a></small></p>
<p>I don&#8217;t think I even have to say a word about this one. The whole Envato network is simply &#8220;mind-blowingly&#8221; solid.</p>
<p style="text-align: center;">
<div id="attachment_601" class="wp-caption aligncenter" style="width: 610px"><a href="http://net.tutsplus.com/"><img class="size-full wp-image-601   " title="NetTuts+" src="http://rodrigoflores.ca/wp-content/uploads/2010/02/nettuts.jpg" alt="NetTuts+" width="600" height="349" /></a><p class="wp-caption-text">High quality tutorials and screencasts, managed by the legendary Jeffrey Way.</p></div>
<h3>CSS-Tricks</h3>
<p><small><a href="http://css-tricks.com/">http://css-tricks.com</a></small></p>
<p><a title="Chris Coyier Personal Site" href="http://chriscoyier.net/">Chris Coyier</a> has a pretty unique way to tutor you through the countless issues he&#8217;s faced in the past. If you go through all the posts in <a href="http://css-tricks.com/">CSS Tricks</a> <em>and</em> pay attention you will save yourself a thousand headaches.</p>
<p style="text-align: center;">
<div id="attachment_602" class="wp-caption aligncenter" style="width: 610px"><a href="http://css-tricks.com"><img class="size-full wp-image-602  " title="CSS Tricks" src="http://rodrigoflores.ca/wp-content/uploads/2010/02/csstricks.jpg" alt="CSS Tricks" width="600" height="349" /></a><p class="wp-caption-text">CSS Trick - Curated by Chris Coyier</p></div>
<h3>jQuery 4 Designers</h3>
<p><small><a href="http://jqueryfordesigners.com/">http://jqueryfordesigners.com</a></small></p>
<p>While not updated as frequently as the blogs mentioned above, every single screencast Remy Sharp&#8217;s done on jQuery is extremely informative. No doubt he is a busy guy. If you&#8217;ve never used <a title="jQuery - Official Site" href="http://jquery.com/">jQuery</a> before, and have some programing experience, this site will give you a lot more to &#8220;write about&#8221;.</p>
<p style="text-align: center;">
<div id="attachment_603" class="wp-caption aligncenter" style="width: 610px"><a href="http://jqueryfordesigners.com"><img class="size-full wp-image-603 " title="JQuery For Designers" src="http://rodrigoflores.ca/wp-content/uploads/2010/02/jqueryfordesigners.jpg" alt="j4d" width="600" height="349" /></a><p class="wp-caption-text">JQuery For Designers - Learn jQuery, it&#39;s a must!</p></div>
<h3>David Walsh</h3>
<p><small><a href="http://davidwalsh.name/">http://davidwalsh.name</a></small></p>
<p>David is pretty much Remy&#8217;s evil twin. The former a die-hard <a title="MooTools - Official Site" href="http://mootools.net/">Mootools</a> fan and the later a die-hard jQuery fan. Take your pick.</p>
<div id="attachment_604" class="wp-caption aligncenter" style="width: 610px"><a href="http://davidwalsh.name/"><img class="size-full wp-image-604" title="David Walsh's Blog" src="http://rodrigoflores.ca/wp-content/uploads/2010/02/davidwalsh.jpg" alt="David Walsh's Blog" width="600" height="349" /></a><p class="wp-caption-text">PHP, MooTools, jQuery, Javascript &amp; more</p></div>
<h3>Web Designer Wall (Nick La)</h3>
<p><small><a href="http://webdesignerwall.com/">http://webdesignerwall.com</a></small></p>
<p>I had to praise the local talent as well! Nick&#8217;s blog mixes artistic inspiration with valuable information like a true pro. I hope his obvious gift with the pen tool is contagious.</p>
<div id="attachment_605" class="wp-caption aligncenter" style="width: 610px"><a href="http://webdesignerwall.com/"><img class="size-full wp-image-605" title="Web Designer Wall" src="http://rodrigoflores.ca/wp-content/uploads/2010/02/webdesignerwall.jpg" alt="Web Designer Wall" width="600" height="349" /></a><p class="wp-caption-text">Web Designer Wall - Creative Design at its best</p></div>
<h3>Digging Into WordPress</h3>
<p><small><a href="http://digwp.com/">http://digwp.com</a></small></p>
<p>Another site co-authored by Chris Coyier &amp; Jeff Starr (<a href="http://perishablepress.com/">Perishable Press</a>) released to compliment their also awesome book <a title="Digging into WordPress - The Book" href="http://digwp.com/book/">Diggin&#8217; Into WordPress</a>. Both the book and the site are meant to fill in the gaps when it comes to WordPress configuration, coding and administration.</p>
<p style="text-align: center;">
<div id="attachment_606" class="wp-caption aligncenter" style="width: 610px"><a href="http://digwp.com/"><img class="size-full wp-image-606 " title="Digging Into WordPress" src="http://rodrigoflores.ca/wp-content/uploads/2010/02/digwp.jpg" alt="Digging Into WordPress" width="600" height="349" /></a><p class="wp-caption-text">Digging Into WordPress - Hmm, not much to explain...</p></div>
<h3>WP Beginner</h3>
<p><small><a href="http://wpbeginner.com/">http://wpbeginner.com</a></small></p>
<p>Like the name suggests, this is a great place to start if you are thinking of coding your first WordPress theme. Even though I&#8217;ve been doing WordPress sites for quite a while, going over some of WP Beginner&#8217;s knowledge base has proven worth my time.</p>
<p style="text-align: center;">
<div id="attachment_607" class="wp-caption aligncenter" style="width: 610px"><a href="http://wpbeginner.com/"><img class="size-full wp-image-607 " title="WP Beginner" src="http://rodrigoflores.ca/wp-content/uploads/2010/02/wpbeginner.jpg" alt="WP Beginner" width="600" height="349" /></a><p class="wp-caption-text">WP Beginner - The basics and not so basics for WP lovers</p></div>
<h3>Smashing Magazine</h3>
<p><small><a href="http://smashingmagazine.com/">http://smashingmagazine.com</a></small></p>
<p>I remember landing on Vitaly&#8217;s Friedman&#8217;s personal site back in the day and thinking <em>He&#8217;s only 18!</em>. He is now one of the main faces running the Smashing Network.</p>
<div id="attachment_608" class="wp-caption aligncenter" style="width: 610px"><a href="http://smashingmagazine.com/"><img class="size-full wp-image-608" title="Smashing Magazine" src="http://rodrigoflores.ca/wp-content/uploads/2010/02/smashingmagazine.jpg" alt="Smashing Magazine" width="600" height="349" /></a><p class="wp-caption-text">Smashing Magazine - A plethora of resources into one.</p></div>
<h3>Sitepoint</h3>
<p><small><a href="http://sitepoint.com/">http://sitepoint.com</a></small></p>
<p>Sitepoint tends to cover both technical <em>and</em> broader topics all related to web development. It is a great resource to keep up with general knowledge and news about the industry. They also tend to shine the spotlight on the newer technologies pretty quickly.</p>
<div id="attachment_609" class="wp-caption aligncenter" style="width: 610px"><a href="http://sitepoint.com/"><img class="size-full wp-image-609" title="SitePoint" src="http://rodrigoflores.ca/wp-content/uploads/2010/02/sitepoint.jpg" alt="SitePoint" width="600" height="349" /></a><p class="wp-caption-text">Sitepoint - News, Articles &amp; Tutorials on Web Development</p></div>
<h3>And it goes on&#8230;</h3>
<p>I seriously think reading <em>and</em> <em>understanding</em> everything already written in the sites above would easily take you more than four years. In that sense, the Internet has become a gift and a curse on all of us, and that&#8217;s all I meant in the introduction. Going to College or University also helps with other valuable aspects such as building social, teamwork &amp; project management skills, providing field experience while being <em>fun </em>at the same time.</p>
<p>There are also many, many, <em>many </em>other sites out there that fit in this category. For example, <a title="W3 Schools" href="http://www.w3schools.com/">w3schools</a> is a great resource when it comes to any language related to web development. Others like <a title="CSS Perk" href="http://www.cssperk.com/">CSS Perk</a>, and <a title="CSS Elite" href="http://www.csselite.com/">CSS Elite </a>are great sources of ideas and inspiration, and yet others like <a title="Freelance Folder" href="http://freelancefolder.com/">Freelance Folder</a> hammer on the aspects of running your own business.</p>
<p>As far as <abbr title="Search Engine Optimization">SEO</abbr> goes, I am no expert, but if I must point you somewhere for that, I would look at the <a title="Google's SEO Starter Guide" href="http://www.google.ca/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;ved=0CA0QFjAA&amp;url=http%3A%2F%2Fwww.google.com%2Fwebmasters%2Fdocs%2Fsearch-engine-optimization-starter-guide.pdf&amp;ei=5JJxS5LCM5KYtgf4iKzxCQ&amp;usg=AFQjCNEMj8KHxhxQz9cMLoMxMDiLdrAbJw&amp;sig2=93fDYLfCrv9vFvfmnI_wcQ">Google&#8217;s  SEO Starter Guide</a> to begin with, and on that note, I think that nothing beats high quality content, but the SEO field can be extended much further if you consider things like ad campaigns, information architecture, keyword analysis, landing pages, etc.</p>
<p>Last but not least, if you know of any other <strong>great</strong> resources for web development, please <a title="Comment" href="#respond">leave a comment</a>! Writing this article also made me realize that I don&#8217;t really know any outstanding sites for learning how to make websites using Flash (not that it is my niche, but maybe soon I&#8217;ll make the time to learn it. I know things changed <em>a lot </em>with ActionScript 3.x and there must be as many tools out there for this purpose as there are for <abbr title="Content Management Systems">CMS</abbr> sites today). Furthermore, none of the Joomla! tutorial sites I&#8217;ve been to have left a good enough impression. For that, the official <a title="Joomla! Forum" href="http://forum.joomla.org/">Joomla! Forum</a> and the <a title="Joomla! Developer Site" href="http://developer.joomla.org/">Joomla! Developer Site</a> have been pretty useful.</p>
<p>I hope this list helps us make the web a better place and also helps our clients understand how much work can go into every project.</p>
]]></content:encoded>
	
		<wfw:commentRss>http://rodrigoflores.ca/the-best-resources-for-web-designers-and-developers-i-can-think-of-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>

	</item>
	
	<item>
		<title>Cu3er, A Quick &amp; Dirty Tutorial</title>
		<link>http://rodrigoflores.ca/cu3er-a-quick-dirty-tutorial/</link>
		<comments>http://rodrigoflores.ca/cu3er-a-quick-dirty-tutorial/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 16:00:25 +0000</pubDate>
		<dc:creator>Rodrigo Flores</dc:creator>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cu3er]]></category>
		<category><![CDATA[flash image gallery]]></category>
		<category><![CDATA[image gallery]]></category>
		<guid isPermaLink="false">http://rodrigoflores.ca/?p=527</guid>

		<description><![CDATA[CU3ER is problably one of the coolest Flash-based gallery effects I've seen in quite some time. This is a condensed tutorial that I hope will get you up to speed if you already have some programming experience. Above all this cu3er thing is FUN!]]></description>
	
		<content:encoded><![CDATA[<h3>Overview</h3>
<p>CU3ER unfortunately depends on both Flash 9 &amp; javascript to work. So if you expect lots of your visitors to lack either of them, CU3ER is not for you. Having said that, CU3ER is way cool!</p>
<p>In nutshell, you will need to:</p>
<ol>
<li>Download and upload the necessary files onto your sever</li>
<li>Include cu3er.swf, swfobject.js, expressInstall.swf, optionally font.swf</li>
<li>Upload your images and note their absolute location.</li>
<li>Add a div with alternate content in case js or Flash are not available</li>
<li>Create a config.xml to communicate with your instance of CU3ER</li>
</ol>
<h3>A Quick Tutorial</h3>
<p>Let&#8217;s get to it.</p>
<p>First, you need to <a title="Download CU3ER" href="http://www.progressivered.com/cu3er/download/">dowload CU3ER</a>, and upload the files to a folder on your server (e.g. &#8220;/cu3er&#8221;).</p>
<p>Second, you need include and configure the <a href="http://blog.deconcept.com/swfobject/">swfobject</a> plugin:</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;width:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="php codecolorer"><span class="sy0">&lt;</span>script src<span class="sy0">=</span><span class="st0">&quot;path-to/cu3er/swfobject.js&quot;</span> type<span class="sy0">=</span><span class="st0">&quot;text/javascript&quot;</span><span class="sy0">&gt;&lt;/</span>script<span class="sy0">&gt;</span><br />
&nbsp;<span class="sy0">&lt;</span>script type<span class="sy0">=</span><span class="st0">&quot;text/javascript&quot;</span><span class="sy0">&gt;</span><span class="co1">// &lt;![CDATA[</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> flashvars <span class="sy0">=</span> <span class="br0">&#123;</span><span class="br0">&#125;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; flashvars<span class="sy0">.</span>xml <span class="sy0">=</span> <span class="st0">&quot;path-to/cu3er/config.xml&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; flashvars<span class="sy0">.</span>font <span class="sy0">=</span> <span class="st0">&quot;path-to/cu3er/font.swf&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> attributes <span class="sy0">=</span> <span class="br0">&#123;</span><span class="br0">&#125;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; attributes<span class="sy0">.</span>wmode <span class="sy0">=</span> <span class="st0">&quot;transparent&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; attributes<span class="sy0">.</span>id <span class="sy0">=</span> <span class="st0">&quot;slider&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; swfobject<span class="sy0">.</span>embedSWF<span class="br0">&#40;</span><span class="st0">&quot;path-to/cu3er/cu3er.swf&quot;</span><span class="sy0">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Here you can set ID for the wrapper div </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;cu3er-container&quot;</span><span class="sy0">,</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Here you can set the with for the flash application</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;564&quot;</span><span class="sy0">,</span> <span class="st0">&quot;216&quot;</span><span class="sy0">,</span> <span class="st0">&quot;9&quot;</span><span class="sy0">,</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;path-to/cu3er/swfobject/expressInstall.swf&quot;</span><span class="sy0">,</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; flashvars<span class="sy0">,</span> attributes<span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="co1">// ]]&gt;&lt;/script&gt;</span></div></td></tr></tbody></table></div>
<p>Third, include the HTML for the CU3ER container and an alternative in case flash or javascript is disabled. The code below is not optimal, and it is not what I have on my homepage. You can place whatever HTML you&#8217;d like and I encourage to do so if you want to be able to tell your fwends your site is <em>progressively enhanced</em>.</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;width:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="php codecolorer"><span class="sy0">&lt;</span>div id<span class="sy0">=</span><span class="st0">&quot;home-slider&quot;</span><span class="sy0">&gt;</span><br />
<span class="sy0">&lt;</span>div id<span class="sy0">=</span><span class="st0">&quot;cu3er-container&quot;</span><span class="sy0">&gt;&lt;!--</span> the cu3er container will be replaced by the Flash object<span class="sy0">,</span> otherwise the content bellow will be displayed <span class="sy0">--&gt;</span><br />
<span class="sy0">&lt;</span>a href<span class="sy0">=</span><span class="st0">&quot;http://www.adobe.com/go/getflashplayer&quot;</span><span class="sy0">&gt;</span><br />
<span class="sy0">&lt;</span>img src<span class="sy0">=</span><span class="st0">&quot;http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif&quot;</span> alt<span class="sy0">=</span><span class="st0">&quot;Get Adobe Flash player&quot;</span> <span class="sy0">/&gt;</span><br />
<span class="sy0">&lt;/</span>a<span class="sy0">&gt;</span><br />
<span class="sy0">&lt;!--</span> <a href="http://www.php.net/end"><span class="kw3">END</span></a> replacement <span class="sy0">--&gt;&lt;/</span>div<span class="sy0">&gt;</span><br />
<span class="sy0">&lt;/</span>div<span class="sy0">&gt;</span></div></td></tr></tbody></table></div>
<p>The last step is to edit your config.xml file. This file basically passes all the parameters to your instance of CU3ER. Once you are acquainted with the available properties it will be a lot easier but the whole thing is pretty self-explanatory. Here is cropped version of the one I used for the animation on <a title="Rodrigo Flores - Homepage" href="http://rodrigoflores.ca/">my homepage</a>.</p>
<div class="codecolorer-container xml mac-classic" style="overflow:auto;white-space:nowrap;width:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br />86<br />87<br />88<br />89<br />90<br />91<br />92<br />93<br />94<br />95<br />96<br />97<br />98<br />99<br />100<br />101<br />102<br />103<br />104<br />105<br />106<br />107<br />108<br />109<br />110<br />111<br />112<br />113<br />114<br />115<br />116<br />117<br />118<br />119<br />120<br />121<br />122<br />123<br />124<br /></div></td><td><div class="xml codecolorer"><span class="sc3"><span class="re1">&lt;?xml</span> <span class="re0">version</span>=<span class="st0">&quot;1.0&quot;</span> <span class="re0">encoding</span>=<span class="st0">&quot;utf-8&quot;</span> <span class="re2">?&gt;</span></span><br />
<span class="sc3"><span class="re1">&lt;cu3er<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;settings<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;prev_button<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;defaults</span> <span class="re0">round_corners</span>=<span class="st0">&quot;5,5,5,5&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenIn</span> <span class="re0">width</span>=<span class="st0">&quot;40&quot;</span> <span class="re0">height</span>=<span class="st0">&quot;40&quot;</span> <span class="re0">alpha</span>=<span class="st0">&quot;0.4&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOver</span> <span class="re0">tint</span>=<span class="st0">&quot;0x000000&quot;</span> <span class="re0">scaleX</span>=<span class="st0">&quot;1.1&quot;</span> <span class="re0">scaleY</span>=<span class="st0">&quot;1.1&quot;</span> <span class="re0">alpha</span>=<span class="st0">&quot;0.6&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOut</span> <span class="re0">tint</span>=<span class="st0">&quot;0x000000&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/prev_button<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;prev_symbol<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOver</span> <span class="re0">tint</span>=<span class="st0">&quot;0xFFFFFF&quot;</span> <span class="re2">/&gt;</span></span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/prev_symbol<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;next_button<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;defaults</span> <span class="re0">round_corners</span>=<span class="st0">&quot;5,5,5,5&quot;</span><span class="re2">/&gt;</span></span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenIn</span> <span class="re0">width</span>=<span class="st0">&quot;40&quot;</span> <span class="re0">height</span>=<span class="st0">&quot;40&quot;</span> <span class="re0">alpha</span>=<span class="st0">&quot;0.4&quot;</span> <span class="re2">/&gt;</span></span>&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOver</span> <span class="re0">tint</span>=<span class="st0">&quot;0x000000&quot;</span> &nbsp;<span class="re0">scaleX</span>=<span class="st0">&quot;1.1&quot;</span> <span class="re0">scaleY</span>=<span class="st0">&quot;1.1&quot;</span> <span class="re0">alpha</span>=<span class="st0">&quot;0.6&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOut</span> <span class="re0">tint</span>=<span class="st0">&quot;0x000000&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/next_button<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;next_symbol<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOver</span> <span class="re0">tint</span>=<span class="st0">&quot;0xFFFFFF&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/next_symbol<span class="re2">&gt;</span></span></span>&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;auto_play<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;defaults</span> <span class="re0">symbol</span>=<span class="st0">&quot;circular&quot;</span> <span class="re0">time</span>=<span class="st0">&quot;5&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenIn</span> <span class="re0">width</span>=<span class="st0">&quot;30&quot;</span> <span class="re0">height</span>=<span class="st0">&quot;30&quot;</span> <span class="re0">y</span>=<span class="st0">&quot;25&quot;</span> <span class="re0">x</span>=<span class="st0">&quot;539&quot;</span> <span class="re0">alpha</span>=<span class="st0">&quot;0.4&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOut</span> &nbsp;<span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOver</span> &nbsp;<span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/auto_play<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;defaults</span> &nbsp;</span><br />
<span class="sc3">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">round_corners</span>=<span class="st0">&quot;5,5,5,5&quot;</span> <span class="re0">paragraph_text_margin</span>=<span class="st0">&quot;-4, 0, 0, 10&quot;</span></span><br />
<span class="sc3">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">paragraph_text_align</span>=<span class="st0">&quot;center&quot;</span> <span class="re0">paragraph_font</span>=<span class="st0">&quot;Sansation Regular&quot;</span> <span class="re0">paragraph_text_size</span>=<span class="st0">&quot;16&quot;</span></span><br />
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenIn</span> <span class="re0">tint</span>=<span class="st0">&quot;0x000000&quot;</span> &nbsp;<span class="re0">x</span>=<span class="st0">&quot;147&quot;</span> <span class="re0">y</span>=<span class="st0">&quot;175&quot;</span> <span class="re0">alpha</span>=<span class="st0">&quot;0.4&quot;</span> <span class="re0">width</span>=<span class="st0">&quot;270&quot;</span> <span class="re0">height</span>=<span class="st0">&quot;30&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOut</span> <span class="re0">alpha</span>=<span class="st0">&quot;0&quot;</span> <span class="re0">x</span>=<span class="st0">&quot;32&quot;</span> <span class="re0">y</span>=<span class="st0">&quot;300&quot;</span> &nbsp;<span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;tweenOver</span> <span class="re0">alpha</span>=<span class="st0">&quot;0.6&quot;</span> &nbsp;<span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;transitions</span> <span class="re0">shader</span>=<span class="st0">&quot;none&quot;</span> <span class="re0">z_multiplier</span>=<span class="st0">&quot;5&quot;</span> <span class="re0">cube_color</span>=<span class="st0">&quot;0xCCCCCC&quot;</span> <span class="re2">/&gt;</span></span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;general</span> <span class="re0">slide_panel_width</span>=<span class="st0">&quot;564&quot;</span> <span class="re0">slide_panel_height</span>=<span class="st0">&quot;216&quot;</span> <span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/settings<span class="re2">&gt;</span></span></span> &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;slides<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;url<span class="re2">&gt;</span></span></span>http://rodrigoflores.ca/wp-content/themes/v2/cu3er/img/crrglobal.jpg<span class="sc3"><span class="re1">&lt;/url<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;link<span class="re2">&gt;</span></span></span>http://crrglobal.com/<span class="sc3"><span class="re1">&lt;/link<span class="re2">&gt;</span></span></span> &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;paragraph<span class="re2">&gt;</span></span></span>CRR Global<span class="sc3"><span class="re1">&lt;/paragraph<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;transition</span> <span class="re0">num</span>=<span class="st0">&quot;1&quot;</span> <span class="re0">direction</span>=<span class="st0">&quot;right&quot;</span> <span class="re0">shader</span>=<span class="st0">&quot;flat&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;url<span class="re2">&gt;</span></span></span>http://rodrigoflores.ca/wp-content/themes/v2/cu3er/img/curveshamilton.jpg<span class="sc3"><span class="re1">&lt;/url<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;link<span class="re2">&gt;</span></span></span>http://curveshamilton.com/<span class="sc3"><span class="re1">&lt;/link<span class="re2">&gt;</span></span></span> &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;paragraph<span class="re2">&gt;</span></span></span>Curves Hamilton<span class="sc3"><span class="re1">&lt;/paragraph<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/slide<span class="re2">&gt;</span></span></span>&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;transition</span> <span class="re0">num</span>=<span class="st0">&quot;1&quot;</span> <span class="re0">slicing</span>=<span class="st0">&quot;vertical&quot;</span> <span class="re0">direction</span>=<span class="st0">&quot;down&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;url<span class="re2">&gt;</span></span></span>http://rodrigoflores.ca/wp-content/themes/v2/cu3er/img/sageportfoliogroup.jpg<span class="sc3"><span class="re1">&lt;/url<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;link<span class="re2">&gt;</span></span></span>http://sageportfoliogroup.com/<span class="sc3"><span class="re1">&lt;/link<span class="re2">&gt;</span></span></span> &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;paragraph<span class="re2">&gt;</span></span></span>Sage Portfolio Group<span class="sc3"><span class="re1">&lt;/paragraph<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/slide<span class="re2">&gt;</span></span></span>&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;transition</span> <span class="re0">num</span>=<span class="st0">&quot;1&quot;</span> <span class="re0">direction</span>=<span class="st0">&quot;right&quot;</span> <span class="re0">shader</span>=<span class="st0">&quot;flat&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;url<span class="re2">&gt;</span></span></span>http://rodrigoflores.ca/wp-content/themes/v2/cu3er/img/kellywatt.jpg<span class="sc3"><span class="re1">&lt;/url<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;link<span class="re2">&gt;</span></span></span>http://kellywatt.ca/<span class="sc3"><span class="re1">&lt;/link<span class="re2">&gt;</span></span></span> &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;paragraph<span class="re2">&gt;</span></span></span>Kelly Watt... writer<span class="sc3"><span class="re1">&lt;/paragraph<span class="re2">&gt;</span></span></span> &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;transition</span> <span class="re0">num</span>=<span class="st0">&quot;1&quot;</span> <span class="re0">slicing</span>=<span class="st0">&quot;vertical&quot;</span> <span class="re0">direction</span>=<span class="st0">&quot;down&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;url<span class="re2">&gt;</span></span></span>http://rodrigoflores.ca/wp-content/themes/v2/cu3er/img/palisades.jpg<span class="sc3"><span class="re1">&lt;/url<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;link<span class="re2">&gt;</span></span></span>http://palisadespointe.ca/small/<span class="sc3"><span class="re1">&lt;/link<span class="re2">&gt;</span></span></span> &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;paragraph<span class="re2">&gt;</span></span></span>Palisades Pointe<span class="sc3"><span class="re1">&lt;/paragraph<span class="re2">&gt;</span></span></span> &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;transition</span> <span class="re0">num</span>=<span class="st0">&quot;1&quot;</span> <span class="re0">slicing</span>=<span class="st0">&quot;vertical&quot;</span> <span class="re0">direction</span>=<span class="st0">&quot;down&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;url<span class="re2">&gt;</span></span></span>http://rodrigoflores.ca/wp-content/themes/v2/cu3er/img/preferredrecyclingequipment.jpg<span class="sc3"><span class="re1">&lt;/url<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;link<span class="re2">&gt;</span></span></span>http://preferredrecyclingequipment.com/<span class="sc3"><span class="re1">&lt;/link<span class="re2">&gt;</span></span></span> &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;paragraph<span class="re2">&gt;</span></span></span>Preferred Recycling Equipment<span class="sc3"><span class="re1">&lt;/paragraph<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;transition</span> <span class="re0">num</span>=<span class="st0">&quot;1&quot;</span> <span class="re0">direction</span>=<span class="st0">&quot;right&quot;</span> <span class="re0">shader</span>=<span class="st0">&quot;flat&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;url<span class="re2">&gt;</span></span></span>http://rodrigoflores.ca/wp-content/themes/v2/cu3er/img/1A03.jpg<span class="sc3"><span class="re1">&lt;/url<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;link<span class="re2">&gt;</span></span></span>http://rodrigoflores.ca/1A03/<span class="sc3"><span class="re1">&lt;/link<span class="re2">&gt;</span></span></span> &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;paragraph<span class="re2">&gt;</span></span></span>Web Essay On Social Media<span class="sc3"><span class="re1">&lt;/paragraph<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;transition</span> <span class="re0">num</span>=<span class="st0">&quot;1&quot;</span> <span class="re0">slicing</span>=<span class="st0">&quot;vertical&quot;</span> <span class="re0">direction</span>=<span class="st0">&quot;down&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;url<span class="re2">&gt;</span></span></span>http://rodrigoflores.ca/wp-content/themes/v2/cu3er/img/plaidpencil.jpg<span class="sc3"><span class="re1">&lt;/url<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;link<span class="re2">&gt;</span></span></span>http://plaidpencil.com/<span class="sc3"><span class="re1">&lt;/link<span class="re2">&gt;</span></span></span> &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;paragraph<span class="re2">&gt;</span></span></span>Plaid Pencil<span class="sc3"><span class="re1">&lt;/paragraph<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/slide<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;transition</span> <span class="re0">num</span>=<span class="st0">&quot;1&quot;</span> <span class="re0">direction</span>=<span class="st0">&quot;right&quot;</span> <span class="re0">shader</span>=<span class="st0">&quot;flat&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/slides<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;/cu3er<span class="re2">&gt;</span></span></span></div></td></tr></tbody></table></div>
<p>So, there you have it. I know it looks like a lot but I think it&#8217;s totally worthy, don&#8217;t you?</p>
<p>If you want to really dig into this technology, please visit the fabulous, <a title="CU3ER Documentation" href="http://www.progressivered.com/cu3er/docs/">official CU3ER documentation</a>.</p>
<p>Trust me, after you do this once, doing it again will be a piece of cake.</p>
<p>If you know any other great galleries, please leave a comment and let me know.</p>
<p>Have fun!</p>
]]></content:encoded>
	
		<wfw:commentRss>http://rodrigoflores.ca/cu3er-a-quick-dirty-tutorial/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>

	</item>
	
	<item>
		<title>Creating Complex WordPress Navs, Part 1</title>
		<link>http://rodrigoflores.ca/creating-complex-wordpress-navs-part-1/</link>
		<comments>http://rodrigoflores.ca/creating-complex-wordpress-navs-part-1/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 03:46:18 +0000</pubDate>
		<dc:creator>Rodrigo Flores</dc:creator>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">http://rodrigoflores.ca/?p=476</guid>

		<description><![CDATA[Say "Hello World!" to my first technical article! On Part One of this series I will cover how to recreate the top navigation on this site specifically, and, in subsequent posts, I will talk about other nav options...]]></description>
	
		<content:encoded><![CDATA[<p>This nav is made up 2 sections: a main nav, and a subnav.</p>
<p>In this case, I didn&#8217;t have that many top pages, so I hard-coded the main nav and used the <a href="http://codex.wordpress.org/Template_Tags/get_permalink">get_permalink()</a> function to link to the right pages. The only thing you need is to know the IDs of the pages you want to target. To find out:</p>
<ol>
<li> Log into your WP Admin area</li>
<li>Click on &#8220;Edit&#8221; under Pages (or under Posts)</li>
<li>Mouse over the page whose ID you need, and</li>
<li>Look at the status bar at the bottom of the browser.</li>
</ol>
<p>The ID will be the last element in the URL (e.g. &#8220;&#8230;&amp;post=65&#8243;).</p>
<p>The same technique also works if you want to find out a particular post&#8217;s ID.</p>
<h3>The Main Nav</h3>
<p>Below is the xHTML/PHP code for the hardcoded main nav, showing only one item. The one thing to note about it is that when you <em>don&#8217;t</em> use a function like <a href="http://codex.wordpress.org/Template_Tags/wp_list_pages">wp_list_pages()</a>, you also have to add the current_page_item class manually.</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;width:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="php codecolorer">&lt;div id=&quot;nav&quot;&gt;<br />
&lt;ul&gt;<br />
&nbsp; &nbsp; &lt;!-- icon --&gt;<br />
&nbsp; &nbsp; &lt;li <span class="kw2">&lt;?php</span> <span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$post</span><span class="sy0">-&gt;</span><span class="me1">ID</span> <span class="sy0">==</span> <span class="nu0">6</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw1">echo</span> <span class="st0">&quot;class='current_page_item'&quot;</span><span class="sy0">;</span> <span class="br0">&#125;</span> <span class="sy1">?&gt;</span>&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a title=&quot;<span class="kw2">&lt;?php</span> <span class="kw1">echo</span> get_the_title<span class="br0">&#40;</span><span class="nu0">6</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span>&quot; href=&quot;<span class="kw2">&lt;?php</span> <span class="kw1">echo</span> get_permalink<span class="br0">&#40;</span><span class="nu0">6</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span>&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;img title=&quot;<span class="kw2">&lt;?php</span> get_the_title<span class="br0">&#40;</span><span class="nu0">6</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span>&quot; alt=&quot;Portfolio&quot;<br />
src=&quot;<span class="kw2">&lt;?php</span> bloginfo<span class="br0">&#40;</span><span class="st_h">'template_url'</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span>/img/icons/portfolio-nav.png&quot; &nbsp;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/a&gt;<br />
&nbsp; &nbsp; &lt;/li&gt;<br />
&nbsp; &nbsp; &lt;!-- text --&gt;<br />
&nbsp; &nbsp; &lt;li <span class="kw2">&lt;?php</span> <span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$post</span><span class="sy0">-&gt;</span><span class="me1">ID</span> <span class="sy0">==</span> <span class="nu0">6</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw1">echo</span> <span class="st0">&quot;class='current_page_item'&quot;</span><span class="sy0">;</span> <span class="br0">&#125;</span> <span class="sy1">?&gt;</span>&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a title=&quot;<span class="kw2">&lt;?php</span> <span class="kw1">echo</span> get_the_title<span class="br0">&#40;</span><span class="nu0">6</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span>&quot; href=&quot;<span class="kw2">&lt;?php</span> <span class="kw1">echo</span> get_permalink<span class="br0">&#40;</span><span class="nu0">6</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span>&quot;&gt;Portfolio&lt;/a&gt;<br />
&nbsp; &nbsp; &lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;<br />
&lt;!-- end nav --&gt;</div></td></tr></tbody></table></div>
<h3>The Subnav</h3>
<p>For the sub-navigation, I didn&#8217;t want dropdowns. Rather, I wanted the child pages to stay on only when you are on a particular section or on one of its child pages. So, I used conditional statements and the wordpress function <a href="http://codex.wordpress.org/Template_Tags/wp_list_pages">wp_list_pages()</a>. Within the function&#8217;s  arguments, I filtered out the pages that belong to that particular section with the &#8220;child_of&#8221; parameter.</p>
<div class="codecolorer-container css mac-classic" style="overflow:auto;white-space:nowrap;width:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br /></div></td><td><div class="css codecolorer">&lt;?php // check for current post and parent <br />
global $post<span class="sy0">;</span><br />
$cID <span class="sy0">=</span> $post-<span class="sy0">&gt;</span>ID<span class="sy0">;</span> <br />
$cParent <span class="sy0">=</span> $post-<span class="sy0">&gt;</span>post_parent<span class="sy0">;</span><br />
?<span class="sy0">&gt;</span><br />
<br />
&lt;div id<span class="sy0">=</span><span class="st0">&quot;subnav&quot;</span><span class="sy0">&gt;</span><br />
&lt;?php if<span class="br0">&#40;</span>$cID <span class="sy0">==</span> <span class="nu0">5</span> || $cParent <span class="sy0">==</span> <span class="nu0">5</span><span class="br0">&#41;</span> <span class="sy0">:</span> ?<span class="sy0">&gt;</span><br />
&nbsp; &nbsp; &lt;ul<span class="sy0">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li&lt;?php if<span class="br0">&#40;</span>$cID <span class="sy0">==</span> <span class="nu0">5</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> echo <span class="st0">' class=&quot;current_page_item&quot;'</span><span class="sy0">;</span> <span class="br0">&#125;</span> ?<span class="sy0">&gt;&gt;</span>&lt;a title<span class="sy0">=</span><span class="st0">&quot;Home&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; href<span class="sy0">=</span><span class="st0">&quot;&lt;?php echo get_option('home'); ?&gt;&quot;</span><span class="sy0">&gt;</span>Home&lt;/a<span class="sy0">&gt;</span>&lt;/li<span class="sy0">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;?php wp_list_pages<span class="br0">&#40;</span>array<span class="br0">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">'title_li'</span> <span class="sy0">=&gt;</span> <span class="st0">''</span><span class="sy0">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">'sort_column'</span> <span class="sy0">=&gt;</span> <span class="st0">'menu_order'</span><span class="sy0">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">'child_of'</span> <span class="sy0">=&gt;</span> <span class="nu0">5</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#41;</span><span class="sy0">;</span> ?<span class="sy0">&gt;</span><br />
&nbsp; &nbsp; &lt;/ul<span class="sy0">&gt;</span><br />
&lt;?php endif<span class="sy0">;</span> ?<span class="sy0">&gt;</span><br />
&lt;/div<span class="sy0">&gt;</span>&lt;!-- end subnav --<span class="sy0">&gt;</span></div></td></tr></tbody></table></div>
<h3>The CSS</h3>
<p>Nothing surprising here, the li elements are floated left against each other. And both nav blocks are placed on the page using absolute positioning relative to their parent elements.</p>
<div class="codecolorer-container css mac-classic" style="overflow:auto;white-space:nowrap;width:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br /></div></td><td><div class="css codecolorer"><span class="re0">#nav-wrap</span> <span class="br0">&#123;</span><span class="kw1">display</span><span class="sy0">:</span> <span class="kw2">block</span><span class="sy0">;</span> <span class="kw1">width</span><span class="sy0">:</span> <span class="re3">570px</span><span class="sy0">;</span> <span class="kw1">height</span><span class="sy0">:</span> <span class="re3">48px</span><span class="sy0">;</span> <span class="kw1">position</span><span class="sy0">:</span> <span class="kw2">absolute</span><span class="sy0">;</span> <span class="kw1">top</span><span class="sy0">:</span> <span class="re3">41px</span><span class="sy0">;</span> <span class="kw1">left</span><span class="sy0">:</span> <span class="re3">384px</span><span class="sy0">;</span> &nbsp;<span class="br0">&#125;</span><br />
<br />
<span class="re0">#nav</span> <span class="br0">&#123;</span> <span class="kw1">display</span><span class="sy0">:</span> <span class="kw2">block</span><span class="sy0">;</span> <span class="br0">&#125;</span><br />
<br />
<span class="re0">#nav</span> ul li <span class="br0">&#123;</span> <br />
&nbsp; &nbsp; <span class="kw1">float</span><span class="sy0">:</span> <span class="kw1">left</span><span class="sy0">;</span> <span class="kw1">height</span><span class="sy0">:</span> <span class="re3">48px</span><span class="sy0">;</span> <span class="kw1">line-height</span><span class="sy0">:</span> <span class="re3">62px</span><span class="sy0">;</span> <span class="kw1">font-size</span><span class="sy0">:</span> <span class="re3">17px</span><span class="sy0">;</span> <span class="kw1">margin-left</span><span class="sy0">:</span> <span class="re3">10px</span><span class="sy0">;</span> <span class="kw1">margin-right</span><span class="sy0">:</span> <span class="re3">10px</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="kw1">font-family</span><span class="sy0">:</span> &nbsp;SansationRegular<span class="sy0">,</span> <span class="st0">&quot;Sansation Regular&quot;</span><span class="sy0">,</span> <span class="st0">&quot;Century Gothic&quot;</span><span class="sy0">,</span> Verdana<span class="sy0">,</span> <span class="kw2">sans-serif</span><span class="sy0">;</span> <br />
&nbsp; &nbsp; <span class="kw1">display</span><span class="sy0">:</span> <span class="kw2">block</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="re0">#nav</span> ul li a <span class="br0">&#123;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#999</span><span class="sy0">;</span> <span class="br0">&#125;</span> <span class="re0">#nav</span> ul li a<span class="re2">:hover </span><span class="br0">&#123;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#666</span><span class="sy0">;</span> <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="re0">#nav</span> li<span class="re1">.current_page_item</span> a <span class="br0">&#123;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#000</span><span class="sy0">;</span> <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="re0">#nav</span> li<span class="re1">.current_page_item</span> a<span class="re2">:hover </span><span class="br0">&#123;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#000</span><span class="sy0">;</span> <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="re0">#nav</span> .<span class="kw2">icon</span><span class="re2">:hover </span><span class="br0">&#123;</span> -moz-transform<span class="sy0">:</span> scale<span class="br0">&#40;</span><span class="nu0">1.1</span><span class="br0">&#41;</span><span class="sy0">;</span> -webkit-transform<span class="sy0">:</span> scale<span class="br0">&#40;</span><span class="nu0">1.1</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="br0">&#125;</span><br />
<br />
<span class="re0">#subnav</span> <span class="br0">&#123;</span> <span class="kw1">display</span><span class="sy0">:</span> <span class="kw2">block</span><span class="sy0">;</span> &nbsp;<span class="br0">&#125;</span><br />
<br />
<span class="re0">#subnav</span> ul <span class="br0">&#123;</span> <span class="kw1">margin-left</span><span class="sy0">:</span> <span class="re3">30px</span><span class="sy0">;</span> <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
<span class="re0">#subnav</span> li <span class="br0">&#123;</span> <span class="kw1">float</span><span class="sy0">:</span> <span class="kw1">left</span><span class="sy0">;</span> <span class="kw1">margin-right</span><span class="sy0">:</span> <span class="re3">14px</span><span class="sy0">;</span> <span class="kw1">display</span><span class="sy0">:</span> <span class="kw2">block</span><span class="sy0">;</span> <span class="kw1">margin-top</span><span class="sy0">:</span> <span class="re3">28px</span><span class="sy0">;</span> <span class="kw1">font-size</span><span class="sy0">:</span> <span class="re3">13px</span><span class="sy0">;</span> <span class="br0">&#125;</span><br />
<br />
&nbsp; &nbsp; <span class="re0">#subnav</span> ul li a <span class="br0">&#123;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#999</span><span class="sy0">;</span> <span class="br0">&#125;</span> <span class="re0">#subnav</span> ul li a<span class="re2">:hover </span><span class="br0">&#123;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#666</span><span class="sy0">;</span> <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="re0">#subnav</span> li<span class="re1">.current_page_item</span> a <span class="br0">&#123;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#4773BE</span><span class="sy0">;</span> <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="re0">#subnav</span> li<span class="re1">.current_page_item</span> a<span class="re2">:hover </span><span class="br0">&#123;</span> <span class="kw1">color</span><span class="sy0">:</span> <span class="re0">#6894D2</span><span class="sy0">;</span> <span class="br0">&#125;</span></div></td></tr></tbody></table></div>
<h3 id="final-notes">Final Notes</h3>
<p>I am very aware that this was probably &#8220;too much work&#8221; for this nav and very similar effects can be achieved using much less code, yet by doing it this way you can have full control over exactly how you want elements to behave. Not to mention, most of it will work even if javascript is disabled. Last but not least, the tooltip effect on the icons is a simple implementation of <a href="http://flowplayer.org/tools/index.html">jQuery Tools</a>. Just include their library and follow their excellent <a href="http://flowplayer.org/tools/tooltip.html">tooltip documentation</a>.</p>
<p>Also, note that for SEO purposes, how you display your navigation is almost irrelavant as long as you don&#8217;t change the permalink structure of your URLs. If you have to do so, then you will experience the burden of having some links displayed in Google search results with broken links until a Google bot recrawls your site.</p>
<p>All said, on the next article in this series, I will build a very similar nav using the <a href="http://codex.wordpress.org/Function_Reference/WP_Query">WP_Query</a> object and you will learn a lot about implementing WordPress custom loops.</p>
<p>Stay tuned.</p>
]]></content:encoded>
	
		<wfw:commentRss>http://rodrigoflores.ca/creating-complex-wordpress-navs-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>

	</item>
	
	<item>
		<title>Five Examples of Great Information Architecture</title>
		<link>http://rodrigoflores.ca/five-examples-of-great-information-architecture/</link>
		<comments>http://rodrigoflores.ca/five-examples-of-great-information-architecture/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 04:26:56 +0000</pubDate>
		<dc:creator>Rodrigo Flores</dc:creator>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[examples]]></category>
		<category><![CDATA[information architecture]]></category>
		<category><![CDATA[Web Design]]></category>
		<guid isPermaLink="false">http://rodrigoflores.ca/?p=426</guid>

		<description><![CDATA[As a web developer whose niche is becoming CMS-driven websites, I am constantly inspired by these examples. These may not be eye-dazzling, graphic-intensive websites but their creators have done a remarkable job in spite of the amount of information they have to present...]]></description>
	
		<content:encoded><![CDATA[<h3>Constant Contact</h3>
<p>I&#8217;ve had the pleasure to work with a couple other E-mail marketing companies in the past but <a title="Constant Contact - Email Marketing Tools" href="http://constantcontact.com">Constant Contact</a>&#8216;s somewhat recent redesign caught my eyes and for a good reason. I love how much easier to read their site is and their soft color scheme is really pleasing to the eye. Their graphics are also elegant and simple taking very little toll on the bandwidth, thus making the site pretty fast <em>and </em>beautiful.</p>
<div id="attachment_429" class="wp-caption alignnone" style="width: 610px"><a href="http://constantcontact.com/"><img class="size-full wp-image-429" title="Constant Contact" src="http://rodrigoflores.ca/wp-content/uploads/2010/01/constant-contact.jpg" alt="Constant Contact" width="600" height="349" /></a><p class="wp-caption-text">Constant Contact - Email Marketing</p></div>
<h3>TED</h3>
<p>Have you met <a title="TED - Ideas Worth Spreading" href="http://ted.com">TED</a>? This is personally one of my favorite sites EVER! The whole concept behind the conference is amazing and inspiring. I could spend an entire day watching and learning from every single one of their guests but you <strong>have to</strong> watch a few of their TED talks (if you haven&#8217;t) to truly understand what I am talking about.</p>
<div id="attachment_432" class="wp-caption alignnone" style="width: 610px"><a href="http://ted.com/"><img class="size-full wp-image-432" title="TED" src="http://rodrigoflores.ca/wp-content/uploads/2010/01/ted.jpg" alt="TED" width="600" height="349" /></a><p class="wp-caption-text">TED - Ideas Worth Spreading</p></div>
<h3>CNN (UK)</h3>
<p>Designing <em>any</em> news website would be quite a challenge. Out of the ones I&#8217;ve seen so far, I think <a title="CNN - UK" href="http://cnn.co.uk">CNN&#8217;s (UK)</a> is the most uncluttered.</p>
<div id="attachment_428" class="wp-caption alignnone" style="width: 610px"><a href="http://cnn.co.uk"><img class="size-full wp-image-428" title="CNN (UK)" src="http://rodrigoflores.ca/wp-content/uploads/2010/01/cnn-co-uk.jpg" alt="CNN (UK)" width="600" height="349" /></a><p class="wp-caption-text">CNN (UK) - News Portal</p></div>
<h3>High Rock Studios</h3>
<p>This design firm seems to be <em>huge</em> and quite successful as well. I can only dream of working for a company like that someday * knock on wood *. I love what they have done with their <a title="High Rock Studios - Portfolio" href="http://www.highrockstudios.com/portfolio.aspx">portfolio</a> and introductory video. The former slim and the latter definitively leaves quite an impression.</p>
<div id="attachment_430" class="wp-caption alignnone" style="width: 610px"><a href="http://highrockstudios.com"><img class="size-full wp-image-430" title="High Rock Studios" src="http://rodrigoflores.ca/wp-content/uploads/2010/01/highrockstudios.jpg" alt="" width="600" height="349" /></a><p class="wp-caption-text">High Rock Studios - Marketing &amp; Design Firm</p></div>
<h3>SideReel</h3>
<p>I was a University student not too long ago and discovering <a title="Sidereel - Online TV Shows and great community" href="http://sidereel.com">Sidereel</a> just happened to be one of the best things ever (at the time). Besides the site&#8217;s main purpose, they have managed to create an impressive community with seamless Facebook integration, reviews &amp; articles both internal and external. I gotta say I liked how the banner in previous versions of the site blended better into the rest of the site. Still, Sidereel is great example of information architecture at its best.</p>
<div id="attachment_431" class="wp-caption alignnone" style="width: 610px"><a href="http://sidereel.com"><img class="size-full wp-image-431" title="SideReel" src="http://rodrigoflores.ca/wp-content/uploads/2010/01/sidereel.jpg" alt="SideReel" width="600" height="349" /></a><p class="wp-caption-text">SideReel - TV shows online and great community</p></div>
<p>Do you have any other great examples of great information architecture? Please, do share! Leave your comment(s) below.</p>
]]></content:encoded>
	
		<wfw:commentRss>http://rodrigoflores.ca/five-examples-of-great-information-architecture/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>

	</item>
	
	<item>
		<title>What&#8217;s Up World?!</title>
		<link>http://rodrigoflores.ca/whats-up-world/</link>
		<comments>http://rodrigoflores.ca/whats-up-world/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 05:44:23 +0000</pubDate>
		<dc:creator>Rodrigo Flores</dc:creator>
		<category><![CDATA[General]]></category>
		<guid isPermaLink="false">http://rodrigoflores.ca/?p=381</guid>

		<description><![CDATA[Want a quick overview of what my Blog will be all about? Search no more, and read on...]]></description>
	
		<content:encoded><![CDATA[<p>I am <em>really</em> excited to <em>finally </em>launch this blog along with the much improved template for this website! I figured it would be nice to let you know right off the back what the plans are for this blog so that you can decide whether and how you want to follow me. <span id="more-381"></span></p>
<p>Most of the posts will be somewhat random and will cover things that catch my eye while surfing the net or think they are really neat in one way or another. Some examples of what you may find within this &#8220;random&#8221; group of posts will be book &amp; game reviews, time-killers, productivity tools, product spotlights, music, etc.</p>
<p>Having said that, at least once a week, I hope to come up with a much more elaborate, professional, high-end article on some topic related to web development. This article could cover some neat coding technique that may or may not be CMS-specific. In addition, I will do my best to publish something that is worth reading.</p>
<p>I know there are countless of great resources out there already and thus, when I write, rather than just regurgitating the same content, I intent to expand on it or apply into something new.</p>
<p>I hope you have as much fun following my writings as I will putting them together.</p>
<p>Last but not least, Happy Belated New Year and all the best for 2010.</p>
<p>~Rodrigo.</p>
]]></content:encoded>
	
		<wfw:commentRss>http://rodrigoflores.ca/whats-up-world/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>

	</item>
	
</channel>
</rss>