<?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>ToddSantoro.com Designs&#187; Columbus, Ohio website design ToddSantoro.com Designs</title>
	<atom:link href="http://toddsantoro.com/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://toddsantoro.com</link>
	<description>Columbus, Ohio Web Site Design</description>
	<lastBuildDate>Mon, 21 Jun 2010 03:30:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>WPbeginner publishes article written by Todd Santoro</title>
		<link>http://toddsantoro.com/wpbeginner-publishes-article-written-by-todd-santoro/</link>
		<comments>http://toddsantoro.com/wpbeginner-publishes-article-written-by-todd-santoro/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 15:25:15 +0000</pubDate>
		<dc:creator>todd</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://toddsantoro.com/?p=1039</guid>
		<description><![CDATA[WPbeginner is a great resource for WordPress developers and has just published my article on CSS Sprites. Syed Balkhi, the founder of WPBeginner, has graciously allowed me to write an article as a guest author titled Use CSS Sprites to Beautify your WordPress Post Dates. Have a look at the tutorial and super style your [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wpbeginner.com"></a>WPbeginner is a great resource for WordPress developers and has just published my article on CSS Sprites. <a href="http://www.wpbeginner.com/our-editors-and-contributors/">Syed Balkhi</a>, the founder of WPBeginner, has graciously allowed me to write an article as a guest author titled <a href="http://www.wpbeginner.com/wp-themes/use-css-sprites-to-beautify-your-wordpress-post-dates/">Use CSS Sprites to Beautify your WordPress Post Dates</a>.</p>
<p>Have a look at the tutorial and super style your WordPress dates on your posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://toddsantoro.com/wpbeginner-publishes-article-written-by-todd-santoro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sIFR is how we made our headlines look so smashing</title>
		<link>http://toddsantoro.com/sifr-is-how-we-made-our-headlines-look-so-smashing/</link>
		<comments>http://toddsantoro.com/sifr-is-how-we-made-our-headlines-look-so-smashing/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 16:20:56 +0000</pubDate>
		<dc:creator>todd</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Tutorials]]></category>
		<category><![CDATA[sIFR]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://toddsantoro.com/wordpress/?p=630</guid>
		<description><![CDATA[We accomplished this with a small piece of opensource JavaScript and Adobe Flash software called sIFR...]]></description>
			<content:encoded><![CDATA[<h3>Like the fonts our headlines are in?</h3>
<p style="text-align: center;"><img class="size-full wp-image-808 alignnone" title="headlines_using_sifr" src="http://toddsantoro.com/wp-content/uploads/2009/12/headlines_using_sifr.jpg" alt="headlines_using_sifr" width="506" height="146" /></p>
<p>We accomplished this with a small piece of <a href="http://www.mikeindustries.com/sifr">opensource JavaScript and Adobe Flash software called sIFR</a> or <a href="http://en.wikipedia.org/wiki/Scalable_Inman_Flash_Replacement">Scalable Inman Flash Replacement</a>. Come on, I&#8217;ll show you how to do this in 15 minutes or less.</p>
<h3><em><span style="font-style: normal;">This is a quick start tutorial and will accomplish two things:</span></em></h3>
<ul>
<li>Replacement of your site&#8217;s &lt;h1&gt; tags, if you have any</li>
<li>Replacement of a CSS class named &#8220;replace-me&#8221; which we will create on a page</li>
</ul>
<h3>Things you will need for this tutorial:</h3>
<ul>
<li>A simple text editor (I use Dreamweaver CS3 &#8211; you can use anything)</li>
<li>Adobe Flash (I use Flash CS3 Professional)</li>
<li>A font you like (I like to look on <a href="http://dafont.com">daFont.com</a> &#8211; they are free:)</li>
</ul>
<p><span id="more-630"></span></p>
<h3>Lets get started</h3>
<p><strong>Step #1: </strong><a href="http://www.mikeindustries.com/sifr">Download and unzip the latest version of the sIFR project here</a>. This tutorial uses <a href="http://www.mikeindustries.com/blog/files/sifr/2.0/sIFR-2.0.7.zip">sIFR-2.0.7</a><br />
<strong> Step #2:</strong> Fire up Adobe Flash and open <strong>sifr.fla </strong>(it is in the .zip file you just downloaded in step #1) If your version of Flash will not open up the sifr.fla file (Usually cs4 users) then you can <a href="http://toddsantoro.com/wp-content/uploads/2009/12/sifr_cs3.zip">download a compatible version here</a><br />
<strong> Step #3:</strong> Double click on the stage.<br />
<img class="size-large wp-image-819 alignnone" title="sifr_step_3" src="http://toddsantoro.com/wp-content/uploads/2009/12/sifr_step_3-480x327.jpg" alt="sifr_step_3" width="480" height="327" /></p>
<p><strong>Step #4:</strong> Select the Dynamic Text box on the stage.<br />
<img class="alignnone size-large wp-image-820" title="sifr_step_3b" src="http://toddsantoro.com/wp-content/uploads/2009/12/sifr_step_3b-480x327.jpg" alt="sifr_step_3b" width="480" height="327" /></p>
<p><strong>Step #5:</strong> Change the font to one you like. Don&#8217;t worry about the font size as sIFR takes care of that for you.  The font color will be defined later on in the implementation process.<br />
<img class="alignnone size-large wp-image-818" title="sifr_step_3c" src="http://toddsantoro.com/wp-content/uploads/2009/12/sifr_step_3c-480x327.jpg" alt="sifr_step_3c" width="480" height="327" /></p>
<p><strong>Step #6:</strong> We are now done with Flash, so save the file as the name of the font you used and publish it (eg: swatch_it.fla).  This helps when you have multiple fonts on a page.</p>
<p><strong>Step #7:</strong> Open up your text editor and follow along.  It is pretty easy to just cut and paste:)</p>
<p><strong>Step #8:</strong> Open <strong>customize_me.as </strong>and change line 14 to your reflect your domain name.  You just need your domain name here.  It does not matter where you will be using sIFR on your site. Make sure you have one with www. and one without. Then save and close it.</p>
<p>example:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">allowedDomains <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #990000;">Array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;*&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;www.toddsantoro.com&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;toddsantoro.com&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>Step #9:</strong> Open up your site&#8217;s <strong>stylesheet</strong> (Hint: its a .css file)</p>
<p><strong>Step #10:</strong> Add these lines to your sites stylesheet:</p>
<p>example:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.replace-me</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">18px</span><span style="color: #00AA00;">;</span>  <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span> !important<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
h1 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span> !important<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>OR</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.replace-me</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">18px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">75px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">250px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">25px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
h1 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span> !important<span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">22px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>The class <strong>replace-me</strong> will trigger sIFR to replace the text with a Flash movie that has your special font.  For those people that do not have flash installed, they will see normal text.  By adding attributes to the class you can achieve different results, be creative:) As for the &lt;h1&gt; tag&#8230; everywhere a &lt;h1&gt; tag is on your site, sIFR will replace it with a Flash movie.</p>
<p><strong>Step #11:</strong> Now we bring everything together. Open up your header.php page if you have one.  If not; open up the page you want to have sIFR replace your text on. I usually work with WordPress and it has a header.php file that is included on every page of my site.</p>
<p>Add these lines to the &lt;head&gt;&lt;/head&gt; of your page:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;sIFR-2.0.7/sifr.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;sIFR-2.0.7/sifr-addons.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>Step #12:</strong> Add this line somewhere in the &lt;body&gt;&lt;/body&gt; of your page:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;replace-me&quot;</span><span style="color: #339933;">&gt;</span>This is the text I wanted to replace<span style="color: #339933;">.</span>  Yippie<span style="color: #339933;">!&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>Step #13:</strong> Open up <strong>footer.php</strong> if you have one or continue working with the file you were just working with in <strong>Step #12. </strong>Add these lines just before the ending <strong>&lt;/body&gt;</strong> tag:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/JavaScript&quot;</span><span style="color: #339933;">&gt;</span>if<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> sIFR <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;function&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
        sIFR.<span style="color: #660066;">replaceElement</span><span style="color: #009900;">&#40;</span>named<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>sSelector<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;h1&quot;</span><span style="color: #339933;">,</span> sFlashSrc<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;sIFR-2.0.7/swatch_it.swf&quot;</span><span style="color: #339933;">,</span> sColor<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#4E4C00&quot;</span><span style="color: #339933;">,</span> sLinkColor<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#4E4C00&quot;</span><span style="color: #339933;">,</span> sHoverColor<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#4E4C00&quot;</span><span style="color: #339933;">,</span> sWmode<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;transparent&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #009900;">&#125;</span><span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/JavaScript&quot;</span><span style="color: #339933;">&gt;</span>if<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> sIFR <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;function&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
        sIFR.<span style="color: #660066;">replaceElement</span><span style="color: #009900;">&#40;</span>named<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>sSelector<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#replace-me&quot;</span><span style="color: #339933;">,</span> sFlashSrc<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;sIFR-2.0.7/swatch_it.swf&quot;</span><span style="color: #339933;">,</span> sColor<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#4E4C00&quot;</span><span style="color: #339933;">,</span> sLinkColor<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#4E4C00&quot;</span><span style="color: #339933;">,</span> sHoverColor<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#4E4C00&quot;</span><span style="color: #339933;">,</span> sWmode<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;transparent&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #009900;">&#125;</span><span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Be sure to set your font and link colors in the code above.  Also make sure your paths to stuff are correct. You can also combine these like this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/JavaScript&quot;</span><span style="color: #339933;">&gt;</span>if<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> sIFR <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;function&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
        sIFR.<span style="color: #660066;">replaceElement</span><span style="color: #009900;">&#40;</span>named<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>sSelector<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;h1,#replace-me&quot;</span><span style="color: #339933;">,</span> sFlashSrc<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;sIFR-2.0.7/swatch_it.swf&quot;</span><span style="color: #339933;">,</span> sColor<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#4E4C00&quot;</span><span style="color: #339933;">,</span> sLinkColor<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#4E4C00&quot;</span><span style="color: #339933;">,</span> sHoverColor<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;#4E4C00&quot;</span><span style="color: #339933;">,</span> sWmode<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;transparent&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #009900;">&#125;</span><span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Notice that I simply added a comma to separate the two CSS elements I wanted to replace. This method would also render the same font colors on both &lt;h1&gt; tags and the replace-me class.</p>
<p><strong>Step #14: </strong>You are done!  Upload all of your files to your server and check out your work.  If you have problems&#8230; I would first make sure all of the paths to the sIFR stuff are correct and that you have uploaded all of the sIFR files.</p>
<p>I will try to help troubleshoot if you post your comments below.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://toddsantoro.com/sifr-is-how-we-made-our-headlines-look-so-smashing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
