<?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>blarnee.com</title>
	<atom:link href="http://blarnee.com/wp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blarnee.com/wp</link>
	<description>Web design and development online &#124; Adnan Osmani's blog</description>
	<lastBuildDate>Fri, 03 Sep 2010 18:35:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>jQuery UI Animation Effects</title>
		<link>http://blarnee.com/wp/jquery-ui-animation-effects/</link>
		<comments>http://blarnee.com/wp/jquery-ui-animation-effects/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 19:09:45 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[animation effects]]></category>
		<category><![CDATA[Effects]]></category>
		<category><![CDATA[javascript effects]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery animation]]></category>
		<category><![CDATA[jquery UI]]></category>

		<guid isPermaLink="false">http://blarnee.com/wp/?p=650</guid>
		<description><![CDATA[The jQuery UI Effects Core brings a few more advanced animation techniques to the design table and this quick post will give you a complete example of how to use each effect (with an inline demo). They&#8217;re very straight-forward to use and could give you just that little extra eye-candy your project needs to make [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/12-new-examples-of-advanced-animation-with-jquery/' rel='bookmark' title='Permanent Link: 12 new examples of Advanced Animation techniques with jQuery'>12 new examples of Advanced Animation techniques with jQuery</a> <small>When you think about animation on the internet, chances are...</small></li><li><a href='http://blarnee.com/wp/the-best-advanced-animation-techniques-you-can-perform-using-jquery/' rel='bookmark' title='Permanent Link: The Best Advanced Animation techniques you can perform using jQuery'>The Best Advanced Animation techniques you can perform using jQuery</a> <small>When you think about animation on the internet, chances are...</small></li><li><a href='http://blarnee.com/wp/how-to-create-impressive-animations-in-jquery-with-animate/' rel='bookmark' title='Permanent Link: How to create impressive animations in jQuery with .animate()'>How to create impressive animations in jQuery with .animate()</a> <small> I&#8217;ve been asked many times over the past month...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.blarnee.com/wp/animation.jpg" alt="" /></p>
<p>The jQuery UI Effects Core brings a few more advanced animation techniques to the design table and this quick post will give you a complete example of how to use each effect (with an inline demo). They&#8217;re very straight-forward to use and could give you just that little extra eye-candy your project needs to make it memorable.I hope the post is useful!.    <script type="text/javascript" src="https://www.google.com/jsapi"></script>  <script type="text/javascript">google.load("jquery", "1.3");</script>   <script type="text/javascript">google.load("jqueryui", "1.7");</script>  <script type="text/javascript"> 
$(function() {
    $("#but-blind").toggle(
        function() {
            $("#blind").hide("blind", { direction: "vertical" }, 1000);
        },
        function() {
            $("#blind").show("blind", { direction: "horizontal" }, 500);
        }
    );
    $("#but-clip").toggle(
        function() {
            $("#clip").hide("clip", { direction: "vertical" }, 1000);
        },
        function() {
            $("#clip").show("clip", { direction: "horizontal" }, 500);
        }
    );
    $("#but-drop").toggle(
        function() {
            $("#drop").hide("drop", { direction: "right" }, 1000);
        },
        function() {
            $("#drop").show("drop", { direction: "down" }, 500);
        }
    );
    $("#but-explode").toggle(
        function() {
            $("#explode").hide("explode", {}, 1000);
        },
        function() {
            $("#explode").show("explode", { pieces: 20 }, 500);
        }
    );
    $("#but-fold").toggle(
        function() {
            $("#fold").hide("fold", {}, 1000);
        },
        function() {
            $("#fold").show("fold", {}, 500);
        }
    );
    $("#but-puff").toggle(
        function() {
            $("#puff").hide("puff", {}, 1000);
        },
        function() {
            $("#puff").show("puff", {}, 500);
        }
    );
    $("#but-slide").toggle(
        function() {
            $("#slide").hide("slide", { direction: "right" }, 1000);
        },
        function() {
            $("#slide").show("slide", { direction: "down" }, 500);
        }
    );
    $("#but-scale").toggle(
        function() {
            $("#scale").effect("scale", { percent: 50 }, 1000);
        },
        function() {
            $("#scale").effect("scale", { percent: 200 }, 500);
        }
    );
    $("#but-scale2").toggle(
        function() {
            $("#scale2").hide("scale", {}, 1000);
        },
        function() {
            $("#scale2").show("scale", { percent: 100 }, 500);
        }
    );
    $("#but-scale3").toggle(
        function() {
            $("#scale3").effect("scale", { percent: 200, direction: "horizontal" }, 1000);
        },
        function() {
            $("#scale3").effect("scale", { percent: 50, direction: "horizontal"  }, 500);
        }
    );
    $("#but-pulsate").toggle(
        function() {
            $("#pulsate").effect("pulsate", { times: 1 }, 1000);
        },
        function() {
            $("#pulsate").effect("pulsate", { times: 4 }, 100);
        }
    );
    $("#but-bounce").toggle(
        function() {
            $("#bounce").effect("bounce", { times: 2 }, 1000);
        },
        function() {
            $("#bounce").effect("bounce", { times: 4 }, 100);
        }
    );
    $("#but-highlight").toggle(
        function() {
            $("#highlight").effect("highlight", {}, 1000);
        },
        function() {
            $("#highlight").effect("highlight", {}, 100);
        }
    );
    $("#but-shake").toggle(
        function() {
            $("#shake").effect("shake", { times: 2 }, 200);
        },
        function() {
            $("#shake").effect("shake", { times: 4 }, 100);
        }
    );
    $("#but-transfer").toggle(
        function() {
            $("#transfer").effect("transfer", { to: "#transfer-to" }, 1000);
        },
        function() {
            $("#transfer-to").effect("transfer", { to: "#transfer" }, 500);
        }
    );
});
</script></p>
<p>
<style type="text/css"> 
.box {
    background-color:#666;
    margin:0.5em;
    width:100px;
    height:100px;
}
#transfer-to {
    background-color: #CFD4E6;
    margin: 0.5em;
    width: 20px;
    height: 20px;
}
.ui-effects-transfer {
    background-color: #CFD4E6;
    border: 1px solid #000000;
}
</style>
</p>
<h2>The Blinds Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-blind" class="but" title="click me">blind-test</button>
</dt>
<dd>
<div id="blind" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-blind'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#blind'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'blind'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'vertical'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#blind'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'blind'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'horizontal'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Clipping Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-clip" class="but" title="click me">clip-test</button>
</dt>
<dd>
<div id="clip" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-clip'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#clip'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'clip'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'vertical'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#clip'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'clip'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'horizontal'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Drop Animation Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-drop" class="but" title="click me">drop-test</button>
</dt>
<dd>
<div id="drop" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-drop'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#drop'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'drop'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'right'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#drop'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'drop'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'down'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Explode Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-explode" class="but" title="click me">explode-test</button>
</dt>
<dd>
<div id="explode" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-explode'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#explode'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'explode'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#explode'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'explode'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> pieces<span style="color: #339933;">:</span> <span style="color: #CC0000;">30</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Folding Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-fold" class="but" title="click me">fold-test</button>
</dt>
<dd>
<div id="fold" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-fold'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#fold'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'fold'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#fold'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'fold'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Puffing Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-puff" class="but" title="click me">puff-test</button>
</dt>
<dd>
<div id="puff" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-puff'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#puff'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'puff'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#puff'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'puff'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Sliding Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-slide" class="but" title="click me">slide-test</button>
</dt>
<dd>
<div id="slide" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-slide'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#slide'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'slide'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'right'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#slide'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'slide'</span><span style="color: #339933;">,</span>  direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'down'</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Scaling Effect (Type 1)</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-scale" class="but" title="click me">scale-test</button>
</dt>
<dd>
<div id="scale" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-scale'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#scale'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scale'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> percent<span style="color: #339933;">:</span> <span style="color: #CC0000;">50</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#scale'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scale'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> percent<span style="color: #339933;">:</span> <span style="color: #CC0000;">200</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Scaling Effect (Type 2)</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-scale2" class="but" title="click me">scale2-test</button>
</dt>
<dd>
<div id="scale2" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-scale2'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#scale2'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scale'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#scale2'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scale'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> percent<span style="color: #339933;">:</span> <span style="color: #CC0000;">100</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Scaling Effect (Type 3)</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-scale3" class="but" title="click me">scale3-test</button>
</dt>
<dd>
<div id="scale3" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-scale3'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#scale3'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scale'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> percent<span style="color: #339933;">:</span> <span style="color: #CC0000;">200</span><span style="color: #339933;">,</span> direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'horizontal'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#scale3'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scale'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> percent<span style="color: #339933;">:</span> <span style="color: #CC0000;">50</span><span style="color: #339933;">,</span> direction<span style="color: #339933;">:</span> <span style="color: #3366CC;">'horizontal'</span>  <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Pulsating Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-pulsate" class="but" title="click me">pulsate-test</button>
</dt>
<dd>
<div id="pulsate" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-pulsate'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#pulsate'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'pulsate'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> times<span style="color: #339933;">:</span> <span style="color: #CC0000;">1</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#pulsate'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'pulsate'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> times<span style="color: #339933;">:</span> <span style="color: #CC0000;">4</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Bouncing Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-bounce" class="but" title="click me">bounce-test</button>
</dt>
<dd>
<div id="bounce" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-bounce'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#bounce'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'bounce'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> times<span style="color: #339933;">:</span> <span style="color: #CC0000;">2</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#bounce'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'bounce'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> times<span style="color: #339933;">:</span> <span style="color: #CC0000;">4</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Highlight Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-highlight" class="but" title="click me">highlight-test</button>
</dt>
<dd>
<div id="highlight" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-highlight'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#highlight'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'highlight'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#highlight'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'highlight'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Shake Effect</h2>
<div class="testarea">
<dl>
<dt type="disk">             <button id="but-shake" class="but" title="click me">shake-test</button>
</dt>
<dd>
<div id="shake" class="box">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-shake'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#shake'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'shake'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> times<span style="color: #339933;">:</span> <span style="color: #CC0000;">2</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#shake'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'shake'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> times<span style="color: #339933;">:</span> <span style="color: #CC0000;">4</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>The Transfer Effect</h2>
<div>
<dl>
<dt type="disk">             <button id="but-transfer" class="but" title="click me">transfer-test</button>
</dt>
<dd>
<div id="transfer" class="box">&nbsp;</div>
<div id="transfer-to">&nbsp;</div>
<p>
</dd>
</dl>
</div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#but-transfer'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#transfer'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'transfer'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> to<span style="color: #339933;">:</span> <span style="color: #3366CC;">'#transfer-to'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#transfer-to'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">effect</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'transfer'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span> to<span style="color: #339933;">:</span> <span style="color: #3366CC;">'#transfer'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>
<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_GB"></script><script type="text/javascript">FB.init("05245ba91ee2d18e5dfe3ec750abd6bb");</script><fb:fan width="600" logobar="1" connections="10" stream="1" profile_id="129712729600"></fb:fan></p>
<div style="font-size: 8px; padding-left: 10px;"><a href="http://www.facebook.com/pages/Addy-Osmani/129712729600">Addy Osmani</a> on Facebook</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2Fjquery-ui-animation-effects%2F&amp;t=jQuery%20UI%20Animation%20Effects%20" id="facebook_share_button_650" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_650') || document.getElementById('facebook_share_icon_650') || document.getElementById('facebook_share_both_650') || document.getElementById('facebook_share_button_650');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_650') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/12-new-examples-of-advanced-animation-with-jquery/' rel='bookmark' title='Permanent Link: 12 new examples of Advanced Animation techniques with jQuery'>12 new examples of Advanced Animation techniques with jQuery</a> <small>When you think about animation on the internet, chances are...</small></li><li><a href='http://blarnee.com/wp/the-best-advanced-animation-techniques-you-can-perform-using-jquery/' rel='bookmark' title='Permanent Link: The Best Advanced Animation techniques you can perform using jQuery'>The Best Advanced Animation techniques you can perform using jQuery</a> <small>When you think about animation on the internet, chances are...</small></li><li><a href='http://blarnee.com/wp/how-to-create-impressive-animations-in-jquery-with-animate/' rel='bookmark' title='Permanent Link: How to create impressive animations in jQuery with .animate()'>How to create impressive animations in jQuery with .animate()</a> <small> I&#8217;ve been asked many times over the past month...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/jquery-ui-animation-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 New jQuery Plugins To Inspire</title>
		<link>http://blarnee.com/wp/10-new-jquery-plugins-to-inspire/</link>
		<comments>http://blarnee.com/wp/10-new-jquery-plugins-to-inspire/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 03:07:37 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[advanced]]></category>
		<category><![CDATA[captify]]></category>
		<category><![CDATA[captions]]></category>
		<category><![CDATA[coda bubble]]></category>
		<category><![CDATA[div corners]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[filterable portfolio]]></category>
		<category><![CDATA[horizontal]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[toggle]]></category>
		<category><![CDATA[transparent]]></category>
		<category><![CDATA[wall post]]></category>

		<guid isPermaLink="false">http://blarnee.com/wp/?p=640</guid>
		<description><![CDATA[Lately, I&#8217;ve been experimenting with a lot of new jQuery plugins that have been allowed us here at Blarnee to rapidly develop interactive, slick user interfaces without having to code everything from scratch. This is by far one of my favourite things about the recent surge in JavaScript Framework extension and I think it&#8217;s great [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/a-jquery-and-twitter-plugin/' rel='bookmark' title='Permanent Link: A jQuery and Twitter plugin.'>A jQuery and Twitter plugin.</a> <small> Nowadays everybody has a blog, social networking page or...</small></li><li><a href='http://blarnee.com/wp/jquery-ui-animation-effects/' rel='bookmark' title='Permanent Link: jQuery UI Animation Effects'>jQuery UI Animation Effects</a> <small> The jQuery UI Effects Core brings a few more...</small></li><li><a href='http://blarnee.com/wp/the-a-z-list-of-recommended-jquery-plugins/' rel='bookmark' title='Permanent Link: The A-Z List Of Recommended jQuery Plugins'>The A-Z List Of Recommended jQuery Plugins</a> <small>Hey guys. Today I thought I’d share a recommended list...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><img width="450" height="300" src="http://blarnee.com/wp/wp-content/uploads/insp.jpg" alt="" /></p>
<p>Lately, I&#8217;ve been experimenting with a lot of new jQuery plugins that have been allowed us here at Blarnee to rapidly develop interactive, slick user interfaces without having to code everything from scratch. This is by far one of my favourite things about the recent surge in JavaScript Framework extension and I think it&#8217;s great to see so many people actively putting time into creating useful pieces of code. (that said.. remember that sometimes it&#8217;s better to code your plugin from scratch, depending on your application!). Below are our selection of recommended plugins for this week.<br />
&nbsp;</p>
<h2><a title="Permalink to Coda Bubble" href="http://www.jqueryplugins.com/plugin/291/" bitly="BITLY_PROCESSED">Coda Bubble</a></h2>
<p class="description">Based on the tutorial at http://jqueryfordesigners.com/coda-popup-bubbles/ this plugin can be used to create multiple pop-ups Coda Bubble style.</p>
<p>Allow to set options to replace PNG images to .GIF files, or to simply remove bubbles in Internet Explorer, to deal with PNG opacity rendering issue.</p>
<div class="list-image"><a title="Coda Bubble" href="http://www.jqueryplugins.com/plugin/291/" class="thumb" bitly="BITLY_PROCESSED"><img width="250" height="150" alt="Coda Bubble" src="http://s1.jqueryplugins.com/pluginimages/291.jpg" /></a></div>
<div class="list-image">
<h2>&nbsp;</h2>
<h2><a title="Permalink to DivCorners" href="http://www.jqueryplugins.com/plugin/255/" bitly="BITLY_PROCESSED">DivCorners</a></h2>
<p class="description">This plugin aims to created an easy way to add border layouts to screen content.</p>
<div class="list-image"><a title="DivCorners" href="http://www.jqueryplugins.com/plugin/255/" class="thumb" bitly="BITLY_PROCESSED"><img width="250" height="150" alt="DivCorners" src="http://s1.jqueryplugins.com/pluginimages/255.jpg" /></a></div>
<div class="list-image">&nbsp;</div>
<h2><a bitly="BITLY_PROCESSED" href="http://www.jqueryplugins.com/plugin/292/" title="Permalink to Facebook Style Wall Post">Facebook Style Wall Post</a></h2>
<p class="description">Are you looking for Facebook style wall post application. It contains update, comment and delete with jQuery animation effect.</p>
<div class="list-image"><a title="Facebook Style Wall Post" href="http://www.jqueryplugins.com/plugin/292/" class="thumb" bitly="BITLY_PROCESSED"><img width="250" height="150" alt="Facebook Style Wall Post" src="http://s2.jqueryplugins.com/pluginimages/292.jpg" /></a></div>
<div class="list-image">
<div class="list-image">&nbsp;</div>
<p></p>
<div class="list-image">&nbsp;</div>
<div class="list-image">
<h2><a title="Permalink to Create an Interactive, Filterable Portfolio" href="http://www.jqueryplugins.com/plugin/247/" bitly="BITLY_PROCESSED">Create an Interactive, Filterable Portfolio</a></h2>
<p class="description">How to create an interactive portfolio in jQuery that looks like it was made in Flash.</p>
<div class="list-image"><a title="Create an Interactive, Filterable Portfolio" href="http://www.jqueryplugins.com/plugin/247/" class="thumb" bitly="BITLY_PROCESSED"><img width="250" height="150" alt="Create an Interactive, Filterable Portfolio" src="http://s1.jqueryplugins.com/pluginimages/247.jpg" /></a></div>
</div>
<p class="description">&nbsp;</p>
<h2><a title="Permalink to How to Make a Slideshow with a Transparent PNG Frame" href="http://www.jqueryplugins.com/plugin/226/" bitly="BITLY_PROCESSED">How to Make a Slideshow with a Transparent PNG Frame</a></h2>
<p class="description">Create a basic slideshow that uses a combination of PNG transparency and layered positioning to create the effect of each slides being held in by the bottom corners.</p>
<div class="list-image"><a title="How to Make a Slideshow with a Transparent PNG Frame" href="http://www.jqueryplugins.com/plugin/226/" class="thumb" bitly="BITLY_PROCESSED"><img width="250" height="150" alt="How to Make a Slideshow with a Transparent PNG Frame" src="http://s2.jqueryplugins.com/pluginimages/226.jpg" /></a></div>
<div class="list-image">&nbsp;</div>
<div class="list-image">
<h2><a title="Permalink to Simple Toggle with CSS &amp; jQuery" href="http://www.jqueryplugins.com/plugin/213/" bitly="BITLY_PROCESSED">Simple Toggle with CSS &amp; jQuery</a></h2>
<p class="description">Learn the basics of jQuery and the toggle effect.</p>
<div class="list-image"><a title="Simple Toggle with CSS &amp; jQuery" href="http://www.jqueryplugins.com/plugin/213/" class="thumb" bitly="BITLY_PROCESSED"><img width="250" height="150" alt="Simple Toggle with CSS &amp; jQuery" src="http://s1.jqueryplugins.com/pluginimages/213.jpg" /></a></div>
</div>
<p class="description">&nbsp;</p>
<h2><a title="Permalink to Captify" href="http://www.jqueryplugins.com/plugin/206/" bitly="BITLY_PROCESSED">Captify</a></h2>
<p class="description">Captify is a plugin for jQuery written by Brian Reavis to display simple, pretty image captions that appear on rollover. It has been tested on Firefox, Chrome, Safari, and the wretched Internet Explorer. Captify was inspired by ImageCaptions, another jQuery plugin for displaying captions like these.</p>
<div class="list-image"><a title="Captify" href="http://www.jqueryplugins.com/plugin/206/" class="thumb" bitly="BITLY_PROCESSED"><img width="250" height="150" alt="Captify" src="http://s2.jqueryplugins.com/pluginimages/206.jpg" /></a></div>
<div class="list-image">&nbsp;</div>
<div class="list-image">
<h2><a title="Permalink to Flickr Horizontal Menu" href="http://www.jqueryplugins.com/plugin/183/" bitly="BITLY_PROCESSED">Flickr Horizontal Menu</a></h2>
<p class="description">Implement an horizontal menu Flickr-like using CSS and Javascript to show/hide sub-menu.</p>
<div class="list-image"><a title="Flickr Horizontal Menu" href="http://www.jqueryplugins.com/plugin/183/" class="thumb" bitly="BITLY_PROCESSED"><img width="250" height="150" alt="Flickr Horizontal Menu" src="http://s1.jqueryplugins.com/pluginimages/183.jpg" /></a></div>
<div class="list-image">&nbsp;</div>
<div class="list-image">
<h2><a title="Permalink to FancyPlayer &ndash; jQuery Fancybox and Flowplayer Integration" href="http://www.jqueryplugins.com/plugin/267/" bitly="BITLY_PROCESSED">FancyPlayer &ndash; jQuery Fancybox and Flowplayer Integration</a></h2>
<p class="description">This tutorial shows you how to integrate jQuery Fancybox and Flowplayer.</p>
<div class="list-image"><a title="FancyPlayer &ndash; jQuery Fancybox and Flowplayer Integration" href="http://www.jqueryplugins.com/plugin/267/" class="thumb" bitly="BITLY_PROCESSED"><img width="250" height="150" alt="FancyPlayer &ndash; jQuery Fancybox and Flowplayer Integration" src="http://s1.jqueryplugins.com/pluginimages/267.jpg" /></a></div>
</div>
</div>
</div>
</div>
<p>&nbsp;</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2F10-new-jquery-plugins-to-inspire%2F&amp;t=10%20New%20jQuery%20Plugins%20To%20Inspire" id="facebook_share_button_640" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_640') || document.getElementById('facebook_share_icon_640') || document.getElementById('facebook_share_both_640') || document.getElementById('facebook_share_button_640');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_640') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/a-jquery-and-twitter-plugin/' rel='bookmark' title='Permanent Link: A jQuery and Twitter plugin.'>A jQuery and Twitter plugin.</a> <small> Nowadays everybody has a blog, social networking page or...</small></li><li><a href='http://blarnee.com/wp/jquery-ui-animation-effects/' rel='bookmark' title='Permanent Link: jQuery UI Animation Effects'>jQuery UI Animation Effects</a> <small> The jQuery UI Effects Core brings a few more...</small></li><li><a href='http://blarnee.com/wp/the-a-z-list-of-recommended-jquery-plugins/' rel='bookmark' title='Permanent Link: The A-Z List Of Recommended jQuery Plugins'>The A-Z List Of Recommended jQuery Plugins</a> <small>Hey guys. Today I thought I’d share a recommended list...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/10-new-jquery-plugins-to-inspire/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to add a password strength meter using jQuery in under 5 minutes</title>
		<link>http://blarnee.com/wp/how-to-add-a-password-strength-meter-using-jquery-in-under-5-minutes/</link>
		<comments>http://blarnee.com/wp/how-to-add-a-password-strength-meter-using-jquery-in-under-5-minutes/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 04:55:40 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[increase]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[meter]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[password strength]]></category>
		<category><![CDATA[strength]]></category>

		<guid isPermaLink="false">http://blarnee.com/wp/?p=619</guid>
		<description><![CDATA[Hi guys. Today I&#8217;m going to show you how to add some intelligence to your password forms. A strong password can mean the difference between your&#160; user&#8217;s account being safe and them being easily compromised. Thankfully, with the help of modern JavaScript frameworks like jQuery it&#8217;s possible to check the strength of your user&#8217;s passwords [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/how-to-add-form-validation-using-jquery-in-2-easy-steps/' rel='bookmark' title='Permanent Link: How To Add Form Validation using jQuery in 2 Easy Steps'>How To Add Form Validation using jQuery in 2 Easy Steps</a> <small> &#160; &#160; Hi everybody. Sometimes you may find yourself...</small></li><li><a href='http://blarnee.com/wp/how-to-highlight-terms-on-your-page-using-jquery/' rel='bookmark' title='Permanent Link: How to highlight terms on your page using jQuery'>How to highlight terms on your page using jQuery</a> <small>Today I came across a really useful plugin for jQuery...</small></li><li><a href='http://blarnee.com/wp/how-to-easily-add-a-google-map-using-jquery-and-an-address-in-less-than-5-minutes/' rel='bookmark' title='Permanent Link: How to easily add a Google Map using jQuery and an address in less than 5 minutes'>How to easily add a Google Map using jQuery and an address in less than 5 minutes</a> <small>&#160; Hi guys. Today I thought we’d take a look...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><img width="450" height="250" alt="" style="border: medium none ;" src="http://blarnee.com/wp/wp-content/uploads/passwordstrength.jpg" /></p>
<p>Hi guys. Today I&#8217;m going to show you how to add some intelligence to your password forms. A strong password can mean the difference between your&nbsp; user&#8217;s account being safe and them being easily compromised. Thankfully, with the help of modern JavaScript frameworks like jQuery it&#8217;s possible to check the strength of your user&#8217;s passwords before they&#8217;re able to register with your site. In addition to this helping them, you&#8217;re also demonstrating that you and your site take security very seriously. But how <em>do</em> you add something like a password strength meter to a password field? In this post, I&#8217;ll explore how you can do it easily in just 5 minutes.</p>
<p><span id="more-619"></span></p>
<p>If you&#8217;re going to check a user&#8217;s password, chances are you&#8217;ll want to use some form of intelligent regular expressions to check that they&#8217;ve done sensible things like..make their password long, included some additional characters in there, possibly a few numbers as well as a combination of upper and lowercase lettering.</p>
<p>Thankfully, there&#8217;s a great new jQuery plugin that will do all of this for you. All you need to do is initialize it by passing in the ID of the password field in your form. You are also able to specify additional style options so that show it above your field, to the side or beneath it.</p>
<p><strong>To add the Password Strength Meter to your fields</strong></p>
<p>1. Download the Password Strength Meter javascript plugin file from <a href="http://jquerycustomselectbox.googlecode.com/svn/trunk/WebRoot/password_strength/password_strength_plugin.js">here</a>.</p>
<p>2. Include either a CDN or local version of the jQuery plugin and the plugin downloaded from step 1 in your page</p>
<p>3. Initialize your password field using the plugin as follows (where &quot;password_test&quot; is the class attached to my password field)</p>
<p>&nbsp;&nbsp;&nbsp; &nbsp;<span style="color: rgb(153, 51, 0);"><span style="font-family: Courier New;">&nbsp;&nbsp; &lt;script&gt; <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $(document).ready( function() {</p>
<p>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $(&quot;.password_test&quot;).passStrength({<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; });<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; });<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/script&gt; </span></span></p>
<p>4. You can also use a nice preconfigured <a href="http://mypocket-technologies.com/jquery/password_strength/style.css">css file </a>with your page which will add some graphics to the strength message.</p>
<p><img width="411" height="101" alt="" src="http://blarnee.com/wp/wp-content/uploads/t25.jpg" /></p>
<p><strong>Optional</strong></p>
<p>5. The plugin is quite robust and if you would like to re-position the strength message above the field you can specify a css class for each possible message so it can have any colored background, formatting or imagery in there that suits your page styles.</p>
<p><img width="311" height="127" alt="" src="http://blarnee.com/wp/wp-content/uploads/gooduser.jpg" /></p>
<p>&nbsp;<span style="color: rgb(153, 51, 0);"><span style="font-family: Courier New;">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;script&gt; <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $(document).ready( function() {<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $(&quot;.password_adv&quot;).passStrength({<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; shortPass: &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;top_shortPass&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; badPass:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;top_badPass&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; goodPass:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;top_goodPass&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strongPass:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;top_strongPass&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; baseStyle:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;top_testresult&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; userid:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;#user_id_adv&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; messageloc:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; });<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; });<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/script&gt; </span></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Arial;">and that&#8217;s it! I hope this article was useful.</span></span></p>
<p>&nbsp;</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2Fhow-to-add-a-password-strength-meter-using-jquery-in-under-5-minutes%2F&amp;t=How%20to%20add%20a%20password%20strength%20meter%20using%20jQuery%20in%20under%205%20minutes" id="facebook_share_button_619" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_619') || document.getElementById('facebook_share_icon_619') || document.getElementById('facebook_share_both_619') || document.getElementById('facebook_share_button_619');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_619') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/how-to-add-form-validation-using-jquery-in-2-easy-steps/' rel='bookmark' title='Permanent Link: How To Add Form Validation using jQuery in 2 Easy Steps'>How To Add Form Validation using jQuery in 2 Easy Steps</a> <small> &#160; &#160; Hi everybody. Sometimes you may find yourself...</small></li><li><a href='http://blarnee.com/wp/how-to-highlight-terms-on-your-page-using-jquery/' rel='bookmark' title='Permanent Link: How to highlight terms on your page using jQuery'>How to highlight terms on your page using jQuery</a> <small>Today I came across a really useful plugin for jQuery...</small></li><li><a href='http://blarnee.com/wp/how-to-easily-add-a-google-map-using-jquery-and-an-address-in-less-than-5-minutes/' rel='bookmark' title='Permanent Link: How to easily add a Google Map using jQuery and an address in less than 5 minutes'>How to easily add a Google Map using jQuery and an address in less than 5 minutes</a> <small>&#160; Hi guys. Today I thought we’d take a look...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/how-to-add-a-password-strength-meter-using-jquery-in-under-5-minutes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Fronteers 2009 Conference &#8211; Read and View Presentations right here</title>
		<link>http://blarnee.com/wp/fronteers-2009-conference-view-and-download-presentations-from-day-1/</link>
		<comments>http://blarnee.com/wp/fronteers-2009-conference-view-and-download-presentations-from-day-1/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 18:28:37 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[conference slides]]></category>
		<category><![CDATA[front end]]></category>
		<category><![CDATA[fronteers]]></category>
		<category><![CDATA[fronteers 2009]]></category>
		<category><![CDATA[fronteers conference]]></category>
		<category><![CDATA[helmer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[resig]]></category>
		<category><![CDATA[souders]]></category>
		<category><![CDATA[stephen]]></category>
		<category><![CDATA[stephen hay]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://addyosmani.com/blog/fronteers-2009-conference-view-and-download-presentations-from-day-1/</guid>
		<description><![CDATA[&#160; &#160; The first day of Fronteers 2009 is just about over now but as with the jQuery Conference from a few months ago, I thought it would be a great idea to put all of the day&#8217;s slides up for anyone that missed the conference. The TwitterVerse has been buzzing about how amazing Stephen [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/downloadable-presentations-from-the-2009-jquery-conference-in-boston/' rel='bookmark' title='Permanent Link: Downloadable Presentations from the 2009 jQuery Conference in Boston'>Downloadable Presentations from the 2009 jQuery Conference in Boston</a> <small>&nbsp; This month saw over 300 people attend the latest...</small></li><li><a href='http://blarnee.com/wp/10-of-the-best-javascript-snippets-on-snipplr/' rel='bookmark' title='Permanent Link: 10 Of The Best JavaScript Snippets on Snipplr'>10 Of The Best JavaScript Snippets on Snipplr</a> <small> Snipplr is one of my favourite sites for finding...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><img width="500" height="302" border="0" alt="fronteers" style="border: 0px none ;" title="fronteers" src="http://blarnee.com/wp/wp-content/uploads/fronteers.jpg" /></p>
<p>&nbsp;</p>
<p>The first day of Fronteers 2009 is just about over now but as with the jQuery Conference from a few months ago, I thought it would be a great idea to put all of the day&rsquo;s slides up for anyone that missed the conference. The TwitterVerse has been buzzing about how amazing Stephen Souders talk was and I have to agree these are definitely worth reading..&nbsp;</p>
<p>&nbsp;</p>
<p><span id="more-613"></span></p>
<p>I&rsquo;ll add more talks/slides as they come in, but understandably some of the speakers may be tired (or hung over by now!), so it may take a few hours to accumulate the one or two we&rsquo;re missing.&nbsp; Enjoy this post!</p>
<p><strong>EDIT1: &nbsp;Here are some Bonuses</strong></p>
<p>&nbsp;</p>
<p>From day 1: &nbsp;(Audio recording) &nbsp;<a href="http://www.archive.org/details/Fronteers2009OfHamstersFeatureCreaturesAndMissedOpportunities">Fronteers 2009: Of Hamsters, Feature Creatures and Missed Opportunities</a></p>
<p>Douglas Crawford&#8217;s talk <a href="http://www.yuiblog.com/blog/2009/11/04/video-crockford-state/">&quot;The State and Future of ECMAScript&quot;&nbsp;</a>&nbsp;(video from YUI Theatre &#8211; same talk from fronteers)</p>
<p>Day 2:&nbsp;The Type We Want &#8211; Jonathan Snook</p>
<p><strong>http://www.slideshare.net/jonathansnook/the-type-we-want-2438381</strong></p>
<p>&nbsp;</p>
<div style="width:425px;text-align:left" id="__ss_2438381"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" title="The Type We Want" href="http://www.slideshare.net/jonathansnook/the-type-we-want-2438381">The Type We Want</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=the-type-we-want-091106081815-phpapp02&amp;stripped_title=the-type-we-want-2438381" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=the-type-we-want-091106081815-phpapp02&amp;stripped_title=the-type-we-want-2438381" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object></p>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/jonathansnook">jonathansnook</a>.</div>
</div>
<div>&nbsp;</div>
<p>Day 1</p>
<p>&nbsp;</p>
<p><font size="3"><strong>The Future State of Layouts</strong> by </font><font size="3">Stephen Hay</font>    <br />
<a href="http://www.the-haystack.com/presentations/fronteers09/">http://www.the-haystack.com/presentations/fronteers09/</a></p>
<p><img border="0" style="visibility: hidden; width: 0px; height: 0px;" alt="" src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNTc*NDI1OTM2NzEmcHQ9MTI1NzQ*MjYxMTUwNCZwPTEwMTkxJmQ9c3NfZW1iZWQmZz*yJm89NTkxMzc*Yjg*MjBmNDQwMmIzOGRjODVhNzY3NDllODUmb2Y9MA==.gif" /></p>
<div id="__ss_2430378" style="width: 425px; text-align: left;"><a title="The Future State of Layout" style="margin: 12px 0pt 3px; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; display: block; text-decoration: underline;" href="http://www.slideshare.net/stephenhay/the-future-state-of-layout">The Future State of Layout</a><object width="425" height="355" style="margin: 0px;"><param value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=fsol-slides-091105101751-phpapp02&amp;stripped_title=the-future-state-of-layout" name="movie" /><param value="true" name="allowFullScreen" /><param value="always" name="allowScriptAccess" /><embed width="425" height="355" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=fsol-slides-091105101751-phpapp02&amp;stripped_title=the-future-state-of-layout"></embed></object></p>
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;">View more <a style="text-decoration: underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration: underline;" href="http://www.slideshare.net/stephenhay">Stephen Hay</a>.</div>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><font size="3"><strong>Fronteers 2009 Of Hamsters, Feature Creatures and Missed Opportunities</strong> by Christian Helmer</font></p>
<p><a title="http://www.wait-till-i.com/2009/11/05/of-hamsters-feature-creatures-and-missed-opportunities-my-talk-at-fronteers-2009/" href="http://www.wait-till-i.com/2009/11/05/of-hamsters-feature-creatures-and-missed-opportunities-my-talk-at-fronteers-2009/">http://www.wait-till-i.com/2009/11/05/of-hamsters-feature-creatures-and-missed-opportunities-my-talk-at-fronteers-2009/</a></p>
<p><img border="0" style="visibility: hidden; width: 0px; height: 0px;" alt="" src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNTc*NDI2NTY2NzUmcHQ9MTI1NzQ*MjY1OTM4NyZwPTEwMTkxJmQ9c3NfZW1iZWQmZz*yJm89NTkxMzc*Yjg*MjBmNDQwMmIzOGRjODVhNzY3NDllODUmb2Y9MA==.gif" /></p>
<div id="__ss_2427134" style="width: 425px; text-align: left;"><a title="Fronteers 2009 Of Hamsters, Feature Creatures and Missed Opportunities" style="margin: 12px 0pt 3px; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; display: block; text-decoration: underline;" href="http://www.slideshare.net/cheilmann/fronteers-2009-of-hamsters-feature-creatures-and-missed-opportunities">Fronteers 2009 Of Hamsters, Feature Creatures and Missed Opportunities</a><object width="425" height="355" style="margin: 0px;"><param value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=fronteers2009-missed-opportunities-091105023031-phpapp01&amp;stripped_title=fronteers-2009-of-hamsters-feature-creatures-and-missed-opportunities" name="movie" /><param value="true" name="allowFullScreen" /><param value="always" name="allowScriptAccess" /><embed width="425" height="355" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=fronteers2009-missed-opportunities-091105023031-phpapp01&amp;stripped_title=fronteers-2009-of-hamsters-feature-creatures-and-missed-opportunities"></embed></object></p>
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;">View more <a style="text-decoration: underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration: underline;" href="http://www.slideshare.net/cheilmann">Christian Heilmann</a>.</div>
</div>
<p>&nbsp;</p>
<p><font size="3"><strong>Understanding JavaScript Testing</strong> by John Resig</font></p>
<p><a title="http://www.slideshare.net/jeresig/understanding-javascript-testing" href="http://www.slideshare.net/jeresig/understanding-javascript-testing">http://www.slideshare.net/jeresig/understanding-javascript-testing</a></p>
<p>&nbsp;</p>
<div id="__ss_2006200" style="width: 425px; text-align: left;"><a title="Understanding JavaScript Testing" style="margin: 12px 0pt 3px; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; display: block; text-decoration: underline;" href="http://www.slideshare.net/jeresig/understanding-javascript-testing">Understanding JavaScript Testing</a><object width="425" height="355" style="margin: 0px;"><param value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=js-testing-090916091841-phpapp01&amp;stripped_title=understanding-javascript-testing" name="movie" /><param value="true" name="allowFullScreen" /><param value="always" name="allowScriptAccess" /><embed width="425" height="355" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=js-testing-090916091841-phpapp01&amp;stripped_title=understanding-javascript-testing"></embed></object></p>
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;">View more <a style="text-decoration: underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration: underline;" href="http://www.slideshare.net/jeresig">jeresig</a>.</div>
</div>
<p><font size="3"><strong>Even Faster Websites</strong> by Steve Souders</font></p>
<p><a title="http://www.slideshare.net/guestbf04d7/fronteers-20091105-1" href="http://www.slideshare.net/guestbf04d7/fronteers-20091105-1">http://www.slideshare.net/guestbf04d7/fronteers-20091105-1</a></p>
<p>&nbsp;</p>
<div id="__ss_2431392" style="width: 425px; text-align: left;"><a title="Fronteers 20091105 (1)" style="margin: 12px 0pt 3px; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; display: block; text-decoration: underline;" href="http://www.slideshare.net/guestbf04d7/fronteers-20091105-1">Fronteers 20091105 (1)</a><object width="425" height="355" style="margin: 0px;"><param value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=fronteers-200911051-091105115515-phpapp01&amp;stripped_title=fronteers-20091105-1" name="movie" /><param value="true" name="allowFullScreen" /><param value="always" name="allowScriptAccess" /><embed width="425" height="355" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=fronteers-200911051-091105115515-phpapp01&amp;stripped_title=fronteers-20091105-1"></embed></object></p>
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;">View more <a style="text-decoration: underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration: underline;" href="http://www.slideshare.net/guestbf04d7">guestbf04d7</a>.</div>
</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2Ffronteers-2009-conference-view-and-download-presentations-from-day-1%2F&amp;t=The%20Fronteers%202009%20Conference%20-%20Read%20and%20View%20Presentations%20right%20here" id="facebook_share_button_613" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_613') || document.getElementById('facebook_share_icon_613') || document.getElementById('facebook_share_both_613') || document.getElementById('facebook_share_button_613');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_613') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/downloadable-presentations-from-the-2009-jquery-conference-in-boston/' rel='bookmark' title='Permanent Link: Downloadable Presentations from the 2009 jQuery Conference in Boston'>Downloadable Presentations from the 2009 jQuery Conference in Boston</a> <small>&nbsp; This month saw over 300 people attend the latest...</small></li><li><a href='http://blarnee.com/wp/10-of-the-best-javascript-snippets-on-snipplr/' rel='bookmark' title='Permanent Link: 10 Of The Best JavaScript Snippets on Snipplr'>10 Of The Best JavaScript Snippets on Snipplr</a> <small> Snipplr is one of my favourite sites for finding...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/fronteers-2009-conference-view-and-download-presentations-from-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Animation Tutorialized</title>
		<link>http://blarnee.com/wp/jquery-animation-tutorialized/</link>
		<comments>http://blarnee.com/wp/jquery-animation-tutorialized/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 15:47:49 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[.animate]]></category>
		<category><![CDATA[animate with jquery]]></category>
		<category><![CDATA[animated panel]]></category>
		<category><![CDATA[animating]]></category>
		<category><![CDATA[animating jquery]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[divs]]></category>
		<category><![CDATA[fadeIn]]></category>
		<category><![CDATA[fadeOut]]></category>
		<category><![CDATA[fadeto]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[hover over]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery animation examples]]></category>
		<category><![CDATA[jquery animation tutorial]]></category>
		<category><![CDATA[marginLeft]]></category>
		<category><![CDATA[move content with jquery]]></category>
		<category><![CDATA[opacity effects]]></category>
		<category><![CDATA[practical examples]]></category>
		<category><![CDATA[slidedown]]></category>
		<category><![CDATA[slideup]]></category>
		<category><![CDATA[sliding panel]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://addyosmani.com/blog/?p=189</guid>
		<description><![CDATA[&#160; This week I&#8217;m going to show you to make the best use of jQuery&#8217;s amazing animation features using just a few lines of code for each our examples. Did you know that you can use jQuery&#8217;s animation functions to create your very own progress-bar in less than 3 lines? or that you could use [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/12-new-examples-of-advanced-animation-with-jquery/' rel='bookmark' title='Permanent Link: 12 new examples of Advanced Animation techniques with jQuery'>12 new examples of Advanced Animation techniques with jQuery</a> <small>When you think about animation on the internet, chances are...</small></li><li><a href='http://blarnee.com/wp/how-to-create-impressive-animations-in-jquery-with-animate/' rel='bookmark' title='Permanent Link: How to create impressive animations in jQuery with .animate()'>How to create impressive animations in jQuery with .animate()</a> <small> I&#8217;ve been asked many times over the past month...</small></li><li><a href='http://blarnee.com/wp/enlarge-images-with-jquery/' rel='bookmark' title='Permanent Link: How to enlarge images with jQuery'>How to enlarge images with jQuery</a> <small> Guest writer,  Jeffrey Jordan Way. I&#8217;ve created many tutorials...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://addyosmani.com/blog/jquery-animation-tutorialized/#myPosts" border="0"><img width="500" height="302" src="http://addyosmani.com/blog/wp-content/uploads/animationt.jpg" alt="" /></a></p>
<p>&nbsp;</p>
<p>This week I&#8217;m going to show you to make the best use of jQuery&#8217;s amazing animation features using just a few lines of code for each our examples. Did you know that you can use jQuery&#8217;s animation functions to create your very own progress-bar in less than 3 lines? or that you could use it to make your very own accordian in under 9 lines? Well, today I&#8217;m going to go through some examples of how to do these and a whole lot more.</p>
<p><span id="more-611"></span></p>
<p>&nbsp;</p>
<p>First let&#8217;s start with some basics. <strong>What is</strong> the jQuery animate() feature?. The animate() feature allows you to create custom animations using a few lines of code &#8211; it&#8217;s key aspect is the object containing all of the style properties to be animated and to what end. Essentially this means that it allows you to specify what you want to animate and where you eventually want that item to appear. For example, if I have a div called &quot;red&quot; on what side of the screen, I can specify the end of the screen as an end-point and have it animate towards that point. I&#8217;m able to also say what property of the item I would like animated -eg. in the above case if I wanted to move the item towards the end of the screen..I would alter the marginLeft property from where it is right now to something larger. This is done as follows:</p>
<p><iframe src="http://www.addyosmani.com/blog/anim.html" scrollbars="no" style="border: medium none ; width: 545px; height: 7500px; overflow-x: hidden; overflow-y: hidden;"></iframe></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2Fjquery-animation-tutorialized%2F&amp;t=jQuery%20Animation%20Tutorialized" id="facebook_share_button_611" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_611') || document.getElementById('facebook_share_icon_611') || document.getElementById('facebook_share_both_611') || document.getElementById('facebook_share_button_611');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_611') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/12-new-examples-of-advanced-animation-with-jquery/' rel='bookmark' title='Permanent Link: 12 new examples of Advanced Animation techniques with jQuery'>12 new examples of Advanced Animation techniques with jQuery</a> <small>When you think about animation on the internet, chances are...</small></li><li><a href='http://blarnee.com/wp/how-to-create-impressive-animations-in-jquery-with-animate/' rel='bookmark' title='Permanent Link: How to create impressive animations in jQuery with .animate()'>How to create impressive animations in jQuery with .animate()</a> <small> I&#8217;ve been asked many times over the past month...</small></li><li><a href='http://blarnee.com/wp/enlarge-images-with-jquery/' rel='bookmark' title='Permanent Link: How to enlarge images with jQuery'>How to enlarge images with jQuery</a> <small> Guest writer,  Jeffrey Jordan Way. I&#8217;ve created many tutorials...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/jquery-animation-tutorialized/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Offline Cross-Browser Client-Side Storage for the Web using JavaScript and a little Flash</title>
		<link>http://blarnee.com/wp/offline-cross-browser-client-side-storage-for-the-web-using-javascript-and-a-little-flash/</link>
		<comments>http://blarnee.com/wp/offline-cross-browser-client-side-storage-for-the-web-using-javascript-and-a-little-flash/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 03:46:37 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[client-side]]></category>
		<category><![CDATA[client-side storage]]></category>
		<category><![CDATA[clientside]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[cross-browser]]></category>
		<category><![CDATA[file store]]></category>
		<category><![CDATA[firefox localstorage]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[flash storage]]></category>
		<category><![CDATA[google gears]]></category>
		<category><![CDATA[googlegears]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[html5 localstore]]></category>
		<category><![CDATA[html5 sql]]></category>
		<category><![CDATA[html5 storage]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[local storage space]]></category>
		<category><![CDATA[localstorage]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[offline client-side storage]]></category>
		<category><![CDATA[offline storage]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[settings storage]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[storage offline]]></category>
		<category><![CDATA[store files locally]]></category>
		<category><![CDATA[web storage]]></category>
		<category><![CDATA[website files local]]></category>
		<category><![CDATA[website storage]]></category>

		<guid isPermaLink="false">http://addyosmani.com/blog/offline-cross-browser-client-side-storage-for-the-web-using-javascript-and-a-little-flash/</guid>
		<description><![CDATA[&#160; Hi guys. Today I&#8217;m going to show you how to do persistent Client-side storage that&#8217;ll work in any Web Browser without needing to use Cookies, Browser-Specific hacks or HTML5 &#8211; in other words, we&#8217;re going to store as much custom information as a site needs on a user&#8217;s system without needing to worry about [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/7-really-useful-tips-for-better-jquery-code/' rel='bookmark' title='Permanent Link: 7 Really Useful Tips For Better jQuery Code'>7 Really Useful Tips For Better jQuery Code</a> <small>&nbsp; I&rsquo;ve been using jQuery in my web apps for...</small></li><li><a href='http://blarnee.com/wp/get-back-more-storage-space-in-windows-vista-part-2/' rel='bookmark' title='Permanent Link: Get back more storage space in Windows Vista &#8211; Part 2'>Get back more storage space in Windows Vista &#8211; Part 2</a> <small>Windows Vista has a unique feature known as a shadow...</small></li><li><a href='http://blarnee.com/wp/web-workers-amazing-parallel-javascript-tasking-for-your-application/' rel='bookmark' title='Permanent Link: Web Workers &#8211; Amazing Parallel JavaScript Tasking For Your Application'>Web Workers &#8211; Amazing Parallel JavaScript Tasking For Your Application</a> <small>&#160; I’ve been looking at some of the cool new...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/client.jpg"><img border="0" title="client" style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" alt="client" src="http://blarnee.com/wp/wp-content/uploads/client_thumb.jpg" /></a>&nbsp;</p>
<p>Hi guys. Today I&rsquo;m going to show you how to do <strong>persistent Client-side storage</strong> that&rsquo;ll work in any Web Browser <strong>without</strong> needing to use Cookies, Browser-Specific hacks or HTML5 &ndash; in other words, we&rsquo;re going to store as much custom information as a site needs on a user&rsquo;s system without needing to worry about compatibility issues.</p>
<p><span id="more-610"></span></p>
<p>&nbsp;</p>
<p>The reason we&rsquo;re interested in doing this is because it has a huge potential to free up database resources if we don&rsquo;t need to be saving information there &#8211; instead it can be readily loaded from our users computer through client-side storage. Even if you <strong>need</strong> to save data, you can always store it on your user&rsquo;s system and log it to the server it at a later date in the week.</p>
<p>&nbsp;</p>
<p>The inspiration behind this article was research I was putting into discovering the best way to achieve offline client-side storage using FireFox&rsquo;s <a href="http://hacks.mozilla.org/2009/06/localstorage/">LocalStorage</a>, HTML5&rsquo;s <a href="http://webkit.org/blog/126/webkit-does-html5-client-side-database-storage/">local databases</a> and Chrome&rsquo;s <a href="http://gears.google.com/">Google Gears</a>. Projects such as <a href="http://pablotron.org/?cid=1557">PersistJS</a> have tried to provide a pack that allows you to switch between any of these for your storage options (depending on what browser you have) but even then.. he problem has always been that there wasn&rsquo;t <strong>one solution</strong> that works well across all platforms and browsers&hellip;lets dive in and see if we can address that.</p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/1255932843_yahoo.png"><img width="128" height="128" border="0" align="left" title="1255932843_yahoo" style="border-width: 0px; margin: 0px 20px 0px 0px; display: inline;" alt="1255932843_yahoo" src="http://blarnee.com/wp/wp-content/uploads/1255932843_yahoo_thumb.png" /></a></p>
<p>Our solution today is going to make use of a little-used YUI component created called <a href="http://developer.yahoo.com/yui/examples/swfstore/swfstore-advanced-example.html">SWFStore</a>. SWFStore allows you to store and access data in the Flash data store through a brilliant object-oriented JavaScript wrapper that makes it very straight-forward to add, update or remove data through your JavaScript code. It&rsquo;s clean and works very very well. This isn&rsquo;t the first time this method of storage has been tried, but the reason I chose to use SWFStore as the basis of this solution is because it offers a clean-way to extend how much data a site can store. For anyone that&rsquo;s aware of how Flash manages data, there&rsquo;s a basic limit of <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html#117152">100KB</a> per-domain imposed when you first start using it. SWFStore can however help you to easily <strong>prompt </strong>users to extend their Flash storage space and after that you&rsquo;re able to store as much data as you would like locally [<a href="http://developer.yahoo.com/yui/examples/swfstore/swfstore-settings-example_source.html">see advanced demo here</a>]</p>
<p>&nbsp;</p>
<p>I <strong>extended </strong>SWFStore using just a few functions so that I could easily save and retrieve data anywhere in the DOM tree. What I was able to do (and what you&rsquo;ll learn to do by the end of this article) is store any number of variables, text, html, data or objects for a site and load them up every time <strong>without needing to touch SQL</strong>. Using SWFStore was so straight-forward that I was even able to store all the reference data for a Google Calendar-like app locally, but let&rsquo;s get through some of the basics :)</p>
<p>&nbsp;</p>
<p><strong><font size="4">Demo and Tutorial</font></strong></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image15.png"><img width="391" height="244" border="0" title="image" style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" alt="image" src="http://blarnee.com/wp/wp-content/uploads/image_thumb14.png" /></a></p>
<p>&nbsp;</p>
<p>Before we look at any code, I think it&rsquo;s always useful to show a <strong>demo</strong> of what we&rsquo;re going to be building. <a href="http://www.addyosmani.com/resources/swfstore/examples/swfstore/test.html"><strong>Here</strong></a> I&rsquo;ve created a simple YUI app that allows you to save some <strong>sample data</strong> about a user to their local Flash data cache using JavaScript. This data includes <em>a nickname, custom background-image</em>, <em>reminder note</em>, <em>avatar, last page viewed on the site, hypothetical theme </em>and more.</p>
<p>&nbsp;</p>
<p>To help visualize the variables we&rsquo;re using a YUI DataTable in our page too and this is what the data looks like when populated inside:</p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image16.png"><img width="528" height="190" border="0" title="image" style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" alt="image" src="http://blarnee.com/wp/wp-content/uploads/image_thumb15.png" /></a></p>
<p>&nbsp;</p>
<p>In the <strong>default view</strong> you&rsquo;re presented with a welcome Guest screen that uses the page&rsquo;s default settings. After you&rsquo;ve <strong>saved the sample data</strong> however, reload the page and you will see that every time you go back to it..your custom settings are now being used to render the modal window&rsquo;s data the way you &lsquo;chose&rsquo;. This could be taken further to render the page with different css, widgets or other elements depending on what the user wants, but for now this is enough to illustrate the concept.</p>
<p>&nbsp;</p>
<p>To use the SWFStore, include the following source files in your web page:</p>
<p>&nbsp;</p>
<p><font face="Courier" color="#804000"><strong>Dependencies</strong>&nbsp; <br />
&lt;script type=&quot;text/javascript&quot; src=&quot;</font><a href="http://yui.yahooapis.com/2.8.0r4/build/yahoo/yahoo.js&quot;"><font face="Courier" color="#804000">http://yui.yahooapis.com/2.8.0r4/build/yahoo/yahoo.js&quot;</font></a><font face="Courier" color="#804000">&gt;</font></p>
<p><font face="Courier" color="#804000">&lt;/script&gt;&nbsp; <br />
&lt;script type=&quot;text/javascript&quot; src=&quot;</font><a href="http://yui.yahooapis.com/2.8.0r4/build/dom/dom.js&quot;"><font face="Courier" color="#804000">http://yui.yahooapis.com/2.8.0r4/build/dom/dom.js&quot;</font></a><font face="Courier" color="#804000">&gt;</font></p>
<p><font face="Courier" color="#804000">&lt;/script&gt; </font></p>
<p><font face="Courier" color="#804000"></p>
<p>
<strong>Source files</strong><br />
&lt;script type=&quot;text/javascript&quot; src=&quot;</p>
<p><a href="http://yui.yahooapis.com/2.8.0r4/build/swfstore/swfstore.js&quot;"><font face="Courier" color="#804000">http://yui.yahooapis.com/2.8.0r4/build/swfstore/swfstore.js&quot;</font></a><font face="Courier" color="#804000">&gt;</font></font></p>
<p><font face="Courier" color="#804000">&lt;/script&gt;</font></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>By default, the file swfstore.swf is expected in the same directory as the HTML page in which a SWFStore Utility instance will appear. You must place a copy of the SWF on your server.</p>
<p>&nbsp;</p>
<p>To get started with the SWFStore, begin by placing it on the page. Create a &lt;div&gt; (or other element) placeholder into which you&rsquo;re able to render your SWFStore instance. In a usual use cases, you can set the width and height of the container to 0, since the SWFStore is a purely functional component and doesn&rsquo;t have it&rsquo;s own UI (except when your users want to request more storage space from Flash):</p>
<p>&nbsp;</p>
<p>&nbsp;<font face="Courier" color="#804000">&nbsp;&nbsp; &lt;div id=&quot;toBeReplaced&quot; style=&quot;width:0px;height:0px&quot;&gt;&lt;br /&gt;      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sorry guys! We&rsquo;re unable to load Flash content. The YUI SWFStore Utility requires Flash Player 9.0.115 or higher. &lt;br /&gt;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &lt;/div&gt;</font></p>
<p>&nbsp;</p>
<p>Then, instantiate the SWFStore by passing the id of this container &lt;div&gt; to it:</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; <font face="Courier" color="#804000">var swfstore = new YAHOO.util.SWFStore( &quot;toBeReplaced&quot; );</font></p>
<p>&nbsp;</p>
<p>The demo I created consists of two text fields, a few Buttons and a DataTable as well as a modal window. The Buttons let you save data, set some sample information to store, set properties on SWFStore, or clear all items from the data store.</p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image17.png"><img width="419" height="233" border="0" title="image" style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" alt="image" src="http://blarnee.com/wp/wp-content/uploads/image_thumb16.png" /></a></p>
<p>&nbsp;</p>
<p>Once the page has been loaded up, the initialize() function is called to instantiate a SWFStore instance and set up some listeners. To be safe, we also disable all of the Buttons until the SWFStore is ready &ndash; good UI practices always come in handy.</p>
<p>&nbsp;</p>
<p>&nbsp;<font face="Courier" color="#804000">&nbsp;&nbsp; function initialize()      <br />
&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp; var useCompression = compressionCheckbox.get(&quot;checked&quot;);       <br />
&nbsp;&nbsp;&nbsp; saveButton.set(&quot;disabled&quot;, true); </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; setButton.set(&quot;disabled&quot;, true);      <br />
&nbsp;&nbsp;&nbsp; purgeButton.set(&quot;disabled&quot;, true);       <br />
&nbsp;&nbsp;&nbsp; removeButton.set(&quot;disabled&quot;, true);       <br />
&nbsp;&nbsp;&nbsp; removeAtButton.set(&quot;disabled&quot;, true);       <br />
&nbsp;&nbsp;&nbsp; sharedataCheckbox.set(&quot;disabled&quot;, true);&nbsp; <br />
&nbsp;&nbsp;&nbsp; compressionCheckbox.set(&quot;disabled&quot;, true); </font></p>
<p>
<font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; //the swfstore instance </font></p>
<p>
<font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; swfstore = new YAHOO.util.SWFStore(&quot;swfstoreContainer&quot;, false, useCompression); </font></p>
<p>
<font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; //some basic listeners for user feedback      <br />
&nbsp;&nbsp;&nbsp; swfstore.addListener(&quot;save&quot;, onSave);       <br />
&nbsp;&nbsp;&nbsp; swfstore.addListener(&quot;error&quot;, onError);       <br />
&nbsp;&nbsp;&nbsp; swfstore.addListener(&quot;quotaExceededError&quot;, onError);       <br />
&nbsp;&nbsp;&nbsp; swfstore.addListener(&quot;securityError&quot;, onError);       <br />
&nbsp;&nbsp;&nbsp; swfstore.addListener(&quot;contentReady&quot;, onContentReady);</font></p>
<p>&nbsp;</p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; //extended listeners</font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp; swfstore.addListener(&quot;set&quot;, onSet);</font>&nbsp;</p>
<p>&nbsp;</p>
<p>When SWFStore is ready, it will dispatch a contentReady event. We can then enable the Buttons and initialize a DataTable with any previously stored values. Because items are stored as objects, we need to loop through them to turn them into name-value pairs suitable for use with the DataTable.</p>
<p>
&nbsp;<font face="Courier" color="#804000">&nbsp;&nbsp; function onContentReady(event)      <br />
&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; saveButton.set(&quot;disabled&quot;, false);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; purgeButton.set(&quot;disabled&quot;, false);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; removeButton.set(&quot;disabled&quot;, false);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; removeAtButton.set(&quot;disabled&quot;, false);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sharedataCheckbox.set(&quot;disabled&quot;, false);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; compressionCheckbox.set(&quot;disabled&quot;, false); </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setButton.set(&quot;disabled&quot;, false);      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; load();       <br />
&nbsp;&nbsp;&nbsp; } </font></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><font face="Courier" color="#804000">//next we define default values for the variables we load when the page is opened</font></p>
<p>&nbsp;</p>
<p><font size="2" face="Courier" color="#804000">&nbsp; var layout = &quot;Default&quot;;</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp; var fontname = &quot;Verdana&quot;;</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp; var friendlyname = &quot;Guest&quot;;</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp; var windowSize = &quot;400px&quot;</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp; var reminder1 = &quot;No reminders set&quot;;</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp; var avatarURL =&nbsp;&nbsp; &quot;http://www.addyosmani.com/resources/swfstore/examples/</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp; swfstore/default.png&quot;;</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp; var lastViewed = &quot;&quot;;</font></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; function load()      <br />
&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //could use swfstore.getItems(), but that would not separate the data into fields </font></p>
<p>&nbsp;</p>
<p><font face="Courier" color="#804000">var settingName = null;</font></p>
<p><font face="Courier" color="#804000">var settingValue = null;</font></p>
<p><font face="Courier" color="#804000">var len = swfstore.getLength();</font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var arr = []; </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (var i = 0; i &lt; len; i++)      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arr.push({ name:swfstore.getNameAt(i), value: swfstore.getValueAt(i) }) </font></p>
<p>&nbsp;</p>
<p><font size="2" face="Courier" color="#804000">settingName = swfstore.getNameAt(i);</font></p>
<p><font size="2" face="Courier" color="#804000">settingValue = swfstore.getValueAt(i);</font></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><font size="2" face="Courier" color="#804000">//here we use a switch statement to check the value loaded from the data-table. We are then able to assign it to a more easy to remember variable name and read it anywhere in the DOM</font></p>
<p>&nbsp;</p>
<p><font size="2" face="Courier" color="#804000">switch(settingName)</font></p>
<p><font size="2" face="Courier" color="#804000">{</font></p>
<p><font size="2" face="Courier" color="#804000">case &#8216;layout&#8217;:</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; layout = settingValue;</font></p>
<p><font size="2" face="Courier" color="#804000">break;</font></p>
<p><font size="2" face="Courier" color="#804000">case &#8216;font&#8217;:</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fontname = settingValue;</font></p>
<p><font size="2" face="Courier" color="#804000">break;</font></p>
<p><font size="2" face="Courier" color="#804000">case &#8216;friendlyName&#8217;:</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; friendlyname = settingValue;</font></p>
<p><font size="2" face="Courier" color="#804000">break;</font></p>
<p><font size="2" face="Courier" color="#804000">case &#8216;windowSize&#8217;:</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; windowSize = settingValue;</font></p>
<p><font size="2" face="Courier" color="#804000">break;</font></p>
<p><font size="2" face="Courier" color="#804000">case &#8216;backgroundImage&#8217;:</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; backgroundImage = settingValue;</font></p>
<p><font size="2" face="Courier" color="#804000">break;</font></p>
<p><font size="2" face="Courier" color="#804000">case &#8216;reminder1&#8242;:</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reminder1 = settingValue;</font></p>
<p><font size="2" face="Courier" color="#804000">break;</font></p>
<p><font size="2" face="Courier" color="#804000">case &#8216;avatarURL&#8217;:</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; avatarURL = settingValue;</font></p>
<p><font size="2" face="Courier" color="#804000">break;</font></p>
<p><font size="2" face="Courier" color="#804000">case &#8216;lastViewed&#8217;:</font></p>
<p><font size="2" face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lastViewed = settingValue;</font></p>
<p><font size="2" face="Courier" color="#804000">break;</font></p>
<p><font size="2" face="Courier" color="#804000">}</font></p>
<p><font face="Courier" color="#804000"></p>
<p>
<font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } </font></p>
<p>&nbsp;</p>
<p></font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var datasource = new YAHOO.util.LocalDataSource(arr); </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datasource.responseSchema = {fields : [&quot;name&quot;, &quot;value&quot;]}; </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var configs =      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scrollable: true       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var columns =      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {key:&quot;name&quot;, label:&quot;Storage Name (Key)&quot;},       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {key:&quot;value&quot;, label:&quot;Text Stored&quot;}       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]; </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatable = new YAHOO.widget.DataTable(&quot;datatableContainer&quot;, columns, datasource, configs); </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; } </font></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image18.png"><img width="465" height="148" border="0" title="image" style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" alt="image" src="http://blarnee.com/wp/wp-content/uploads/image_thumb17.png" /></a></p>
<p>The &ldquo;Set Test Data&rdquo; button allows you to set some test data (or any information) from a function or the rest of your UI to save into the data store. In the demo, I&rsquo;ve chosen to store some data for a fake user profile application that is loaded up and used by a modal window to demonstrate just how easy this is to use through JavaScript. To save an item call <strong>swfstore.setItem(variableName, variableValue). </strong></p>
<p>&nbsp;</p>
<p><font size="2" face="Courier" color="#804000">function set()</font></p>
<p><font size="2" face="Courier" color="#804000">{</font></p>
<p><font size="2" face="Courier" color="#804000">swfstore.setItem(&#8216;layout&#8217;, &#8216;helio&#8217;);</font></p>
<p><font size="2" face="Courier" color="#804000">swfstore.setItem(&#8216;font&#8217;, &#8216;tahoma&#8217;);</font></p>
<p><font size="2" face="Courier" color="#804000">swfstore.setItem(&#8216;friendlyName&#8217;, &#8216;John Smith&#8217;);</font></p>
<p><font size="2" face="Courier" color="#804000">swfstore.setItem(&#8216;windowSize&#8217;, &#8217;500px&#8217;);</font></p>
<p><font size="2" face="Courier" color="#804000">swfstore.setItem(&#8216;backgroundImage&#8217;, &#8216;http://farm3.static.flickr.com/2363/2085145159_85bd6d7be1_o.jpg&#8217;);</font></p>
<p><font size="2" face="Courier" color="#804000">swfstore.setItem(&#8216;reminder1&#8242;, &#8216;Feed the Cat today!&#8217;);</font></p>
<p><font size="2" face="Courier" color="#804000">swfstore.setItem(&#8216;avatarURL&#8217;, &#8216;http://www.addyosmani.com/resources/swfstore/examples/</font></p>
<p><font size="2" face="Courier" color="#804000">sswfstore/avatar.png&#8217;);</font></p>
<p><font size="2" face="Courier" color="#804000">swfstore.setItem(&#8216;lastViewed&#8217;, lastViewed);</font></p>
<p><font size="2" face="Courier" color="#804000">alert(&quot;Refresh this page to apply the new saved settings&quot;);</font></p>
<p><font size="2" face="Courier" color="#804000">}</font></p>
<p>&nbsp;</p>
<p>Similarly, the &quot;Save&quot; Button is set up to take the values from the text fields in our app and store them, using this function.</p>
<p>&nbsp;</p>
<p>&nbsp;<font color="#804000">&nbsp;&nbsp; function save()      <br />
&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; swfstore.setItem(&nbsp; YAHOO.util.Dom.get(&#8216;nameField&#8217;).value, YAHOO.util.Dom.get(&#8216;valueField&#8217;).value);       <br />
&nbsp;&nbsp;&nbsp; }       <br />
</font></p>
<p>&nbsp;</p>
<p>Some of the other Buttons are set up to remove items from storage and are useful for cases where you would like to make sure all the local data for a site has been deleted.</p>
<p>&nbsp;</p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; function remove()      <br />
&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var obj = YAHOO.util.Dom.get(&#8216;nameField&#8217;).value;       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; swfstore.removeItem(obj); </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; } </font></p>
<p>&nbsp;</p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; function removeItemAt()      <br />
&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var index = parseInt(YAHOO.util.Dom.get(&#8216;indexField&#8217;).value);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; swfstore.removeItemAt(index); </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; } </font></p>
<p>&nbsp;</p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp; function purge()      <br />
&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; swfstore.clear();       <br />
&nbsp;&nbsp;&nbsp; } </font></p>
<p>&nbsp;</p>
<p>We&#8217;ve already set up listeners for the &quot;save&quot; and &ldquo;set&rdquo; events, which are displayed for when each of their respective buttons are clicked. The onSet event loops through rows of the DataTable and either adds rows, deletes them or updates values.</p>
<p>&nbsp;</p>
<p><font size="2" face="Courier" color="#804000">function onSet(event)</font></p>
<p><font size="2" face="Courier" color="#804000">{</font></p>
<p><font size="2" face="Courier" color="#804000">var newobj = {name: event.key, value: event.newValue};</font></p>
<p><font size="2" face="Courier" color="#804000">var len = datatable.getRecordSet().getLength();</font></p>
<p><font size="2" face="Courier" color="#804000">//loop through current records and see if this has been added before</font></p>
<p><font size="2" face="Courier" color="#804000">for (var i = 0; i &lt; len; i++ )</font></p>
<p><font size="2" face="Courier" color="#804000">{</font></p>
<p><font size="2" face="Courier" color="#804000">var rec = datatable.getRecord(i);</font></p>
<p><font size="2" face="Courier" color="#804000">var data = rec.getData();</font></p>
<p><font size="2" face="Courier" color="#804000">//if it&#8217;s been added already, update it</font></p>
<p>&nbsp;</p>
<p><font size="2" face="Courier" color="#804000">if(data.name == event.key)</font></p>
<p><font size="2" face="Courier" color="#804000">{</font></p>
<p><font size="2" face="Courier" color="#804000">datatable.updateRow(i, newobj);</font></p>
<p><font size="2" face="Courier" color="#804000">return;</font></p>
<p><font size="2" face="Courier" color="#804000">}</font></p>
<p><font size="2" face="Courier" color="#804000">}</font></p>
<p><font size="2" face="Courier" color="#804000">//if it&#8217;s not been added, add it</font></p>
<p><font size="2" face="Courier" color="#804000">datatable.addRow(newobj);</font></p>
<p><font size="2" face="Courier" color="#804000">}</font></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The onSave function is very similar to onSet except it&rsquo;s more constricted to the UI controls in this demo whilst onSet and the &ldquo;set&rdquo; method are more open to being called from anywhere in your code and storing your data.</p>
<p>&nbsp;</p>
<p>&nbsp; <font face="Courier" color="#804000">&nbsp; function onSave(event)      <br />
&nbsp;&nbsp;&nbsp; { </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //added      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(event.info == &quot;add&quot; || event.info == &quot;update&quot;)       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var newobj = {name: event.key, value: event.newValue}; </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var len = datatable.getRecordSet().getLength(); </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //loop through current records and see if this has been added before      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (var i = 0; i &lt; len; i++ )       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var rec = datatable.getRecord(i);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var data = rec.getData(); </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //if it&#8217;s been added already, update it      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(data.name == event.key)       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatable.updateRow(i, newobj);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //if it&#8217;s not been added, add it      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatable.addRow(newobj);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //removed      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else if(event.info == &quot;delete&quot;)       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //var index = parseInt(YAHOO.util.Dom.get(&#8216;indexField&#8217;).value);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatable.deleteRow(event.index);       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } </font></p>
<p><font face="Courier" color="#804000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //cleared      <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatable.deleteRows(0, datatable.getRecordSet().getLength());       <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }       <br />
&nbsp;&nbsp;&nbsp; }</font></p>
<p>&nbsp;</p>
<p>And that&rsquo;s it!</p>
<p>&nbsp;</p>
<p>Most of you will know me as being a huge jQuery fan (and I&rsquo;m certain most of this work can be ported to the framework) but as a concept I thought it was very interesting that cross-browser client-side storage could be achieved <em>without </em>needing to use add-ons like Gears or have a browser following the latest trends in computing.</p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image19.png"><img width="354" height="247" border="0" title="image" style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" alt="image" src="http://blarnee.com/wp/wp-content/uploads/image_thumb18.png" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The methods I&rsquo;ve described above <em>already</em> work in FireFox, Chrome and even IE6!, so it&rsquo;s feasible for you to start using them <strong>today</strong>.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>To <strong>download</strong> YUI with the above <strong>demo</strong> integrated into it, click <a href="http://www.addyosmani.com/resources/downloads/swfstore.rar">here</a>.</p>
<p>&nbsp;</p>
<p>Thanks and I hope this post was useful.</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2Foffline-cross-browser-client-side-storage-for-the-web-using-javascript-and-a-little-flash%2F&amp;t=Offline%20Cross-Browser%20Client-Side%20Storage%20for%20the%20Web%20using%20JavaScript%20and%20a%20little%20Flash" id="facebook_share_button_610" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_610') || document.getElementById('facebook_share_icon_610') || document.getElementById('facebook_share_both_610') || document.getElementById('facebook_share_button_610');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_610') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/7-really-useful-tips-for-better-jquery-code/' rel='bookmark' title='Permanent Link: 7 Really Useful Tips For Better jQuery Code'>7 Really Useful Tips For Better jQuery Code</a> <small>&nbsp; I&rsquo;ve been using jQuery in my web apps for...</small></li><li><a href='http://blarnee.com/wp/get-back-more-storage-space-in-windows-vista-part-2/' rel='bookmark' title='Permanent Link: Get back more storage space in Windows Vista &#8211; Part 2'>Get back more storage space in Windows Vista &#8211; Part 2</a> <small>Windows Vista has a unique feature known as a shadow...</small></li><li><a href='http://blarnee.com/wp/web-workers-amazing-parallel-javascript-tasking-for-your-application/' rel='bookmark' title='Permanent Link: Web Workers &#8211; Amazing Parallel JavaScript Tasking For Your Application'>Web Workers &#8211; Amazing Parallel JavaScript Tasking For Your Application</a> <small>&#160; I’ve been looking at some of the cool new...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/offline-cross-browser-client-side-storage-for-the-web-using-javascript-and-a-little-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>13 Incredibly Fresh New HTML5 Canvas Demos</title>
		<link>http://blarnee.com/wp/13-incredibly-fresh-new-canvas-demos/</link>
		<comments>http://blarnee.com/wp/13-incredibly-fresh-new-canvas-demos/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 18:06:09 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[3d browser]]></category>
		<category><![CDATA[3d canvas]]></category>
		<category><![CDATA[3d in browser]]></category>
		<category><![CDATA[3d javascript canvas]]></category>
		<category><![CDATA[audio examples]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[canvas 3d]]></category>
		<category><![CDATA[canvas animation]]></category>
		<category><![CDATA[canvas box]]></category>
		<category><![CDATA[canvas coverflow]]></category>
		<category><![CDATA[canvas demo]]></category>
		<category><![CDATA[canvas demos]]></category>
		<category><![CDATA[canvas examples]]></category>
		<category><![CDATA[canvas html]]></category>
		<category><![CDATA[canvas plot]]></category>
		<category><![CDATA[canvas vs flash]]></category>
		<category><![CDATA[canvas widget]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[html5 canvas]]></category>
		<category><![CDATA[html5 examples]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://addyosmani.com/blog/13-incredibly-fresh-new-canvas-demos/</guid>
		<description><![CDATA[&#160; You all tweeted in to vote and today I&#8217;m sharing a whole new set of HTML5 Canvas demos that really show you just how far you can push the envelope on the &#60;canvas&#62; element. One of my favourite things to look at at the moment is 3D so you&#8217;ll get to play around with [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/how-to-create-impressive-animations-in-jquery-with-animate/' rel='bookmark' title='Permanent Link: How to create impressive animations in jQuery with .animate()'>How to create impressive animations in jQuery with .animate()</a> <small> I&#8217;ve been asked many times over the past month...</small></li><li><a href='http://blarnee.com/wp/why-html5-is-a-game-changer-and-what-it-means-for-you/' rel='bookmark' title='Permanent Link: Why HTML5 is a Game Changer and what it means for you.'>Why HTML5 is a Game Changer and what it means for you.</a> <small>Web Developers are commonly asked to create applications which stream...</small></li><li><a href='http://blarnee.com/wp/an-improved-javascript-coverflow-demo-using-canvas-and-html5/' rel='bookmark' title='Permanent Link: An improved Javascript CoverFlow demo using Canvas and HTML5 (Firefox only)'>An improved Javascript CoverFlow demo using Canvas and HTML5 (Firefox only)</a> <small>&nbsp; Over the past 2 weeks I&#8217;ve done a lot...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image.png"><img title="image" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="301" alt="image" width="452" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb.png" /></a>&nbsp;</p>
<p>You all <a href="http://www.twitter.com/addyosmani">tweeted</a> in to vote and today I&rsquo;m sharing a whole new set of <a href="http://addyosmani.com/blog/why-html5-is-a-game-changer-and-what-it-means-for-you/">HTML5</a> Canvas demos that really show you just how far you can push the envelope on the <a href="http://en.wikipedia.org/wiki/Canvas_(HTML_element)">&lt;canvas&gt;</a> element. One of my favourite things to look at at the moment is 3D so you&rsquo;ll get to play around with excellent interactive examples like the <em>3D Google Images Gift Box</em> and or my 3D site <em>Perspectives </em>demo but you&rsquo;ll also see just how useful the canvas can be for modelling real-world objects.</p>
<p>&nbsp;</p>
<p>We&rsquo;ve got a great new post ahead of us.</p>
<p><span id="more-152"></span></p>
<p>&nbsp;</p>
<p>It&rsquo;s amazing just how many applications the Canvas has opened up and I really didn&rsquo;t expect to see powerful <em>Face Detectors</em> or Matlab-level <em>graphing </em>so soon in 2009 (but guess what guys..this post includes working examples for both!). The Canvas element has allowed developers to take on some of the visually inspiring things we&rsquo;ve previously only been able to do with Flash and finally do it in a way that doesn&rsquo;t require a third-party plugin &#8211; it&rsquo;s no surprise that us geeks are really interested in seeing what it&rsquo;s capable of.</p>
<p>&nbsp;</p>
<p>Many of these demos have either not been released before (or haven&rsquo;t been heavily publicised) so I really do hope this fresh set of examples give everyone a little inspiration for their own Canvas experiments. To give you a little perspective, the Canvas is so powerful that it only took me about a week to create an almost perfect clone of the Apple iTunes <a href="http://addyosmani.com/blog/open-source-javascript-coverflow/">CoverFlow</a> effect with the canvas element.&nbsp; With 3D, Vector graphics and more coming to a Browser near you soon, it&rsquo;s never been a better time to learn more about what you can achieve with it.</p>
<p>&nbsp;</p>
<p>So, without further adieu I give you today&rsquo;s list of incredibly fresh Canvas demos:</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://www.addyosmani.com/resources/googlebox">Interactive Google Images &ldquo;Gift&rdquo; Box</a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image1.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="197" alt="image" width="478" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb1.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://cs.helsinki.fi/u/ilmarihe/canvas_animation_demo/mozcampeu09.html">Canvas Cartoon Animation that&rsquo;s as good as Flash</a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image2.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="199" alt="image" width="473" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb2.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://9elements.com/io/projects/html5/canvas/">Canvas + Audio Burst Animation</a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image3.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="203" alt="image" width="483" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb3.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://webdev.stephband.info/parallax_demos.html">Canvas Parallax</a>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image4.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="227" alt="image" width="485" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb4.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://addyosmani.com/resources/perspective/">Interactive 3D Canvas Perspective of any site you enter </a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image5.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="203" alt="image" width="488" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb5.png" /></a>&nbsp;</p>
<p><a href="http://www.addyosmani.com/resources/canvasphoto">Interactive Polaroids</a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image6.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="201" alt="image" width="518" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb6.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://blog.kpicturebooth.com/static/fdet/index.html">JavaScript Fast Face Detector</a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image7.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="219" alt="image" width="523" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb7.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://www.giuseppesicari.it/progetti/javascript-3d-model-viewer/">3D Model Viewer using the Canvas Element</a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image8.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="211" alt="image" width="506" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb8.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://www.lo2k.net/v7/lab/flickr/login">The Flickr Canvas SlideShow</a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image9.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="215" alt="image" width="507" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb9.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://www.schillmania.com/projects/soundmanager2/demo/360-player/canvas-visualization.html">Canvas + SoundManager Audio Player with Waveform effects</a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image10.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="209" alt="image" width="507" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb10.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://deanm.github.com/pre3d/monster.html">The Evolving Monster Animation</a>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image11.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="210" alt="image" width="510" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb11.png" /></a>&nbsp;</p>
<p>&nbsp;&nbsp; <a href="http://sebleedelisle.com/demos/html5landscape.html">A 3D Landscape generated using the Canvas Element</a></p>
<p>&nbsp;<a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image12.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="210" alt="image" width="505" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb12.png" /></a></p>
<p>&nbsp;</p>
<p><a href="http://skuld.bmsc.washington.edu/~merritt/gnuplot/canvas_demos/surface1.html">Matlab-style plotting using the Canvas and GNUPlot</a></p>
<p>&nbsp;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/image13.png"><img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="210" alt="image" width="504" border="0" src="http://blarnee.com/wp/wp-content/uploads/image_thumb13.png" /></a>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2F13-incredibly-fresh-new-canvas-demos%2F&amp;t=13%20Incredibly%20Fresh%20New%20HTML5%20Canvas%20Demos" id="facebook_share_button_152" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_152') || document.getElementById('facebook_share_icon_152') || document.getElementById('facebook_share_both_152') || document.getElementById('facebook_share_button_152');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_152') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/how-to-create-impressive-animations-in-jquery-with-animate/' rel='bookmark' title='Permanent Link: How to create impressive animations in jQuery with .animate()'>How to create impressive animations in jQuery with .animate()</a> <small> I&#8217;ve been asked many times over the past month...</small></li><li><a href='http://blarnee.com/wp/why-html5-is-a-game-changer-and-what-it-means-for-you/' rel='bookmark' title='Permanent Link: Why HTML5 is a Game Changer and what it means for you.'>Why HTML5 is a Game Changer and what it means for you.</a> <small>Web Developers are commonly asked to create applications which stream...</small></li><li><a href='http://blarnee.com/wp/an-improved-javascript-coverflow-demo-using-canvas-and-html5/' rel='bookmark' title='Permanent Link: An improved Javascript CoverFlow demo using Canvas and HTML5 (Firefox only)'>An improved Javascript CoverFlow demo using Canvas and HTML5 (Firefox only)</a> <small>&nbsp; Over the past 2 weeks I&#8217;ve done a lot...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/13-incredibly-fresh-new-canvas-demos/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to Add Facebook Connect To Your Website in just 3 Steps</title>
		<link>http://blarnee.com/wp/how-to-add-facebook-connect-to-your-website-in-just-3-steps/</link>
		<comments>http://blarnee.com/wp/how-to-add-facebook-connect-to-your-website-in-just-3-steps/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 21:12:51 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[facebook api]]></category>
		<category><![CDATA[facebook app]]></category>
		<category><![CDATA[facebook applications]]></category>
		<category><![CDATA[facebook apps]]></category>
		<category><![CDATA[facebook coding]]></category>
		<category><![CDATA[facebook connect]]></category>
		<category><![CDATA[facebook connect button]]></category>
		<category><![CDATA[facebook connect live sites]]></category>
		<category><![CDATA[facebook connect tutorial]]></category>
		<category><![CDATA[facebook webapps]]></category>
		<category><![CDATA[fbconnect]]></category>
		<category><![CDATA[integrate facebook connect]]></category>
		<category><![CDATA[javascript facebook connect]]></category>

		<guid isPermaLink="false">http://addyosmani.com/blog/how-to-add-facebook-connect-to-your-website-in-just-3-steps/</guid>
		<description><![CDATA[&#160; &#160; Many Social Networking sites allow users to authenticate through their APIs – this means that rather than needing to have a complete registration system on your site, you can simply allow users to authenticate with a third-party service and then grab their profile picture and name for use in your commenting systems or [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/how-to-add-form-validation-using-jquery-in-2-easy-steps/' rel='bookmark' title='Permanent Link: How To Add Form Validation using jQuery in 2 Easy Steps'>How To Add Form Validation using jQuery in 2 Easy Steps</a> <small> &#160; &#160; Hi everybody. Sometimes you may find yourself...</small></li><li><a href='http://blarnee.com/wp/how-to-develop-a-web-application-in-5-easy-steps-a-guide-for-web-developers-and-businesses/' rel='bookmark' title='Permanent Link: How to develop a Web Application in 5 easy steps &#8211; A guide for web developers and businesses'>How to develop a Web Application in 5 easy steps &#8211; A guide for web developers and businesses</a> <small> Having developed web applications for a few years now,...</small></li><li><a href='http://blarnee.com/wp/anatomy-of-a-facebook-application/' rel='bookmark' title='Permanent Link: Creating a Facebook Application &#8211; a simple guide for PHP, JavaScript, Flex and Grails developers.'>Creating a Facebook Application &#8211; a simple guide for PHP, JavaScript, Flex and Grails developers.</a> <small>&nbsp;If you&#8217;re a web developer and you haven&#8217;t explored the...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/fbcon.jpg"><img title="fbcon" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="153" alt="fbcon" src="http://blarnee.com/wp/wp-content/uploads/fbcon_thumb.jpg" width="404" border="0" /></a></p>
<p>&#160;</p>
<p>Many Social Networking sites allow users to authenticate through their APIs – this means that rather than needing to have a complete registration system on your site, you can simply allow users to authenticate with a third-party service and then grab their profile picture and name for use in your commenting systems or other scripts.&#160; In today’s tutorial, I’m going to show you how to add the most popular of these services (Facebook Connect) to your website in 3 steps.</p>
<p>  <span id="more-569"></span>
<p>&#160;</p>
<p><strong><font size="4">Step 1 – Setup a brand new Facebook Application</font></strong></p>
<p>&#160;</p>
<p><strong><font size="4"></font></strong></p>
<p><strong></strong></p>
<p>To get started you’re going to need a Facebook Platform API key for your site. Follow these steps to create an application with the Facebook Developer application.</p>
<p>&#160;</p>
<ol>
<li>Go to <a href="http://www.facebook.com/developers/createapp.php">http://www.facebook.com/developers/createapp.php</a> to create a brand new application. You must be logged into Facebook to create apps. </li>
<li>Enter a name for your application in the <b>Application Name</b> field. </li>
<li>Accept the <a href="http://developers.facebook.com/terms.php">Developer Terms of Service</a>, then click <b>Save Changes</b>. </li>
<li>On the <b>Basic</b> tab (the first tab you’re taken to), keep all of the defaults in place. In the <strong>Connect</strong> tab enter a <b>Callback URL</b>. This URL should point to the top-level directory of the site which will be implementing Facebook Connect (this is usually your domain, e.g. <a href="http://www.site.com">http://www.site.com</a>, but could also be a subdirectory). </li>
<li>Make a note of your <b>API Key</b> and <b>Secret Key</b>, you&#8217;ll need them to access Facebook Connect. </li>
<li>Optional: Whilst in the <b>Connect</b> tab you can include a logo that appears on the Facebook Connect dialog. Next to Facebook Connect Logo, click Change your Facebook Connect logo and browse to an image file. The logo can be up to 99 pixels wide by 22 pixels tall, and must be in JPG, GIF, or PNG format. </li>
<li>If your site is going to implement Facebook Connect across a number of subdomains you need to enter a <b>Base Domain</b> (which would be example.com in this case). You an specify a base domain which allows you to make calls using the <a href="http://../index.php/PHP">PHP</a> and <a href="http://../index.php/JavaScript_Client_Library">JavaScript</a> client libraries as well as get and store session information for any subdomain of the base domain. For more information about subdomains, see <a href="http://../index.php/Supporting_Subdomains_In_Facebook_Connect">Supporting Subdomains In Facebook Connect</a>. </li>
<li>Click on <b>Save Changes</b>. </li>
</ol>
<p>&#160;</p>
<p><strong><font size="4">Step 2 – Create a Cross-Domain Communication Channel File</font></strong></p>
<p><strong><font size="4"></font></strong></p>
<p><strong><font size="4"></font></strong></p>
<p><strong><font size="4"></font></strong></p>
<p>You’ll need to create a <a href="http://wiki.developers.facebook.com/index.php/Cross_Domain_Communication_Channel">cross-domain communication channel file</a> called “xd_receiver.htm” and save it in a directory relative to the callback URL.     <br />For example, if you&#8217;re using <a href="http://www.site.com/">http://www.site.com/</a> as your callback URL, but you want to store your Facebook Connect files in their own subdirectory, say <a href="http://www.site.com/connect">http://www.site.com/connect</a>. You should create the “xd_receiver.htm” file in the directory from where you&#8217;ll be serving your Connect Web pages (<a href="http://www.site.com/connect">http://www.site.com/connect</a> in our example).</p>
<p>Below is an example of a cross-domain channel file:</p>
<p>&#160;</p>
<p><font face="Courier" color="#804000" size="2">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;      <br />&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;       <br />&lt;body&gt;       <br />&lt;script src=&quot;http://static.ak.connect.facebook.com/js/api_lib/v0.4/</font></p>
<p><font face="Courier" color="#804000" size="2">XdCommReceiver.js&quot; mce_src=&quot;http://static.ak.connect.facebook.com/js/api_lib/v0.4/</font></p>
<p><font face="Courier" color="#804000" size="2">XdCommReceiver.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;      <br />&lt;/body&gt;       <br />&lt;/html&gt;</font></p>
<p>&#160;</p>
<p>Important note: If you don’t have a cross-domain channel file present, Facebook won’t be able to communicate with your server correctly so make sure you don’t skip this step. You’ve also got the option of calling the file anything you’d like as long as you remember to change the filename mentioned in the FB.init method :)</p>
<p>&#160;</p>
<p><strong><font size="4">Step 3 – The FB Connect JavaScript API Library</font></strong></p>
<p><strong><font size="4"></font></strong></p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/fbx.jpg"><img title="fbx" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="224" alt="fbx" src="http://blarnee.com/wp/wp-content/uploads/fbx_thumb.jpg" width="240" border="0" /></a> </p>
<p><strong><font size="4"></font></strong></p>
<p>&#160;</p>
<p>One of the easiest ways to begin using Facebook Connect on your site is through Facebook’s terrific JavaScript API. Include references to it. One of the essentials to connecting to the library and these are setting the correct document type as follows:</p>
<p>&#160;</p>
<p><font face="Courier" color="#804000" size="2">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;      <br />&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xmlns:fb=&quot;http://www.facebook.com/2008/fbml&quot;&gt;</font></p>
<p><font face="Courier" color="#804000" size="2"></font></p>
<p><font face="Courier" color="#804000" size="2">and loading the Javascript library at the END of your webpage, near the &lt;/body&gt; tag.</font></p>
<p><font face="Courier" color="#804000" size="2">&lt;script type=&quot;text/javascript&quot; src=&quot;http://static.ak.connect.facebook.com/js/api_lib/v0.4/</font></p>
<p><font face="Courier" color="#804000" size="2">FeatureLoader.js.php&quot; mce_src=&quot;http://static.ak.connect.facebook.com/js/api_lib/v0.4/</font></p>
<p><font face="Courier" color="#804000" size="2">FeatureLoader.js.php&quot;&gt; &lt;/script&gt;</font></p>
<p>&#160;</p>
<p>Always check the Facebook Developer page for the latest version of the Javascript Library.</p>
<p>&#160;</p>
<p><strong><font size="4">Step 4 – A demo application using the JavaScript API Library</font></strong></p>
<p>&#160;</p>
<p><strong><font size="4"></font></strong></p>
<p><strong><font size="4"></font></strong></p>
<p>Here is a simple but effective example of how you can login a user to your Facebook Connect application and show their name and profile picture from Facebook. </p>
<p>&#160;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/fbe.jpg"><img title="fbe" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="105" alt="fbe"<br />
src="http://blarnee.com/wp/wp-content/uploads/fbe_thumb.jpg" width="292" border="0" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p><font face="Courier" color="#804000" size="2">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;      <br />&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xmlns:fb=&quot;http://www.facebook.com/2008/fbml&quot;&gt;       <br />&lt;body&gt;       <br />&lt;div id=&quot;user&quot;&gt;       <br />Name: &lt;input name=&quot;name&quot; size=&quot;27&quot;&gt;&lt;br /&gt;       <br />&lt;fb:login-button length=&#8217;long&#8217; onlogin=&quot;update_user_box();&quot;&gt;&lt;/fb:login-button&gt;       <br />&lt;/div&gt;       <br />&lt;script type=&quot;text/javascript&quot;&gt;       <br />function update_user_box() {       <br />var user_box = document.getElementById(&quot;user&quot;);       <br />user_box.innerHTML =       <br />&quot;&lt;span&gt;&quot;       <br />+ &quot;&lt;fb:profile-pic uid=&#8217;loggedinuser&#8217; facebook-logo=&#8217;true&#8217;&gt;&lt;/fb:profile-pic&gt;&quot;       <br />+ &quot;Welcome, &lt;fb:name uid=&#8217;loggedinuser&#8217; useyou=&#8217;false&#8217;&gt;&lt;/fb:name&gt;&quot;       <br />+ &quot;&lt;/span&gt;&quot;;       <br />FB.XFBML.Host.parseDomTree();       <br />}       <br />&lt;/script&gt;       <br />&lt;script type=&quot;text/javascript&quot; src=&quot;http://static.ak.connect.facebook.com/js/api_lib/v0.4/</font></p>
<p><font face="Courier" color="#804000" size="2">FeatureLoader.js.php&quot; mce_src=&quot;http://static.ak.connect.facebook.com/js/api_lib/v0.4/</font></p>
<p><font face="Courier" color="#804000" size="2">FeatureLoader.js.php&quot;&gt; &lt;/script&gt;      <br />&lt;script type=&quot;text/javascript&quot;&gt;       <br />var api_key = &quot;API KEY GOES HERE&quot;;       <br />var channel_path = &quot;xd_receiver.htm&quot;;       <br />FB.init(api_key, channel_path, {&quot;ifUserConnected&quot;: update_user_box});       <br />&lt;/script&gt;       <br />&lt;/body&gt;       <br />&lt;/html&gt;</font></p>
<p>&#160;</p>
<p>&#160;</p>
<p>The FB tags you see here are XFBML (Extensible Facebook mark-up language) that you can learn more about <a href="http://wiki.developers.facebook.com/index.php/XFBML">here.</a> You can easily extend this example to the comments or profile section of your website. To test this on your server, you’ll need to replace your API key in the code example. </p>
<p>&#160;</p>
<p>You can download the <a href="http://www.addyosmani.com/resources/fbconnect/connect.rar"><strong>Sources</strong></a> for this tutorial or view a <a href="http://www.addyosmani.com/resources/fbconnect/test.html"><strong>demo</strong>.</a></p>
<p>&#160;</p>
<p>and thats it!. I hope this tutorial has been helpful. </p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p><strong><font size="4"></font></strong></p>
<p><strong><font size="4"></font></strong></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2Fhow-to-add-facebook-connect-to-your-website-in-just-3-steps%2F&amp;t=How%20to%20Add%20Facebook%20Connect%20To%20Your%20Website%20in%20just%203%20Steps" id="facebook_share_button_569" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_569') || document.getElementById('facebook_share_icon_569') || document.getElementById('facebook_share_both_569') || document.getElementById('facebook_share_button_569');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_569') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/how-to-add-form-validation-using-jquery-in-2-easy-steps/' rel='bookmark' title='Permanent Link: How To Add Form Validation using jQuery in 2 Easy Steps'>How To Add Form Validation using jQuery in 2 Easy Steps</a> <small> &#160; &#160; Hi everybody. Sometimes you may find yourself...</small></li><li><a href='http://blarnee.com/wp/how-to-develop-a-web-application-in-5-easy-steps-a-guide-for-web-developers-and-businesses/' rel='bookmark' title='Permanent Link: How to develop a Web Application in 5 easy steps &#8211; A guide for web developers and businesses'>How to develop a Web Application in 5 easy steps &#8211; A guide for web developers and businesses</a> <small> Having developed web applications for a few years now,...</small></li><li><a href='http://blarnee.com/wp/anatomy-of-a-facebook-application/' rel='bookmark' title='Permanent Link: Creating a Facebook Application &#8211; a simple guide for PHP, JavaScript, Flex and Grails developers.'>Creating a Facebook Application &#8211; a simple guide for PHP, JavaScript, Flex and Grails developers.</a> <small>&nbsp;If you&#8217;re a web developer and you haven&#8217;t explored the...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/how-to-add-facebook-connect-to-your-website-in-just-3-steps/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Add Form Validation using jQuery in 2 Easy Steps</title>
		<link>http://blarnee.com/wp/how-to-add-form-validation-using-jquery-in-2-easy-steps/</link>
		<comments>http://blarnee.com/wp/how-to-add-form-validation-using-jquery-in-2-easy-steps/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 04:28:02 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[edit validation]]></category>
		<category><![CDATA[field validation]]></category>
		<category><![CDATA[form validation]]></category>
		<category><![CDATA[input validation]]></category>
		<category><![CDATA[javascript validation]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery input validation]]></category>
		<category><![CDATA[jquery validation]]></category>
		<category><![CDATA[validate form fields]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://addyosmani.com/blog/how-to-add-form-validation-using-jquery-in-2-easy-steps/</guid>
		<description><![CDATA[&#160; &#160; Hi everybody. Sometimes you may find yourself working on projects that require some intelligent form field validation..but what’s the easiest way to achieve this? I’ve used everything from the popular Validate plugin to Spry components, but I found all of them a little too much to achieve something so simple. In this post [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/how-to-add-facebook-connect-to-your-website-in-just-3-steps/' rel='bookmark' title='Permanent Link: How to Add Facebook Connect To Your Website in just 3 Steps'>How to Add Facebook Connect To Your Website in just 3 Steps</a> <small>&#160; &#160; Many Social Networking sites allow users to authenticate...</small></li><li><a href='http://blarnee.com/wp/jquery-ui-animation-effects/' rel='bookmark' title='Permanent Link: jQuery UI Animation Effects'>jQuery UI Animation Effects</a> <small> The jQuery UI Effects Core brings a few more...</small></li><li><a href='http://blarnee.com/wp/how-to-add-a-password-strength-meter-using-jquery-in-under-5-minutes/' rel='bookmark' title='Permanent Link: How to add a password strength meter using jQuery in under 5 minutes'>How to add a password strength meter using jQuery in under 5 minutes</a> <small> Hi guys. Today I&#8217;m going to show you how...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/valss.jpg"><img title="valss" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="210" alt="valss" src="http://blarnee.com/wp/wp-content/uploads/valss_thumb.jpg" width="402" border="0" /></a> </p>
<p>&#160;</p>
<p>&#160;</p>
<p>Hi everybody. Sometimes you may find yourself working on projects that require some intelligent form field validation..but what’s the easiest way to achieve this? I’ve used everything from the popular Validate plugin to Spry components, but I found all of them a little too much to achieve something so simple. In this post I’m going to show you how to add sleek form validation to your input fields in just <strong>two </strong>easy steps.</p>
<p>  <span id="more-563"></span>
<p>&#160;</p>
<p>First you’ll need to download my <a href="http://www.addyosmani.com/resources/jqueryvalidate/validation.rar">tutorial pack</a> for this post. It’s composed of a small jQuery Plugin we’ll be using for this tutorial which you can include with jQuery as follows:</p>
<p>&#160;</p>
<p><font face="Courier" color="#804000" size="2">&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.js&quot;&gt;&lt;/script&gt;      <br />&lt;script type=&quot;text/javascript&quot; src=&quot;validation.js&quot;&gt;&lt;/script&gt;</font> </p>
<p>&#160;</p>
<p>Lets take a look at the HTML.</p>
<p>&#160;</p>
<p><strong>HTML &gt;&gt; demo.html</strong></p>
<p>&#160;</p>
<p>To keep things simple our jQuery Plugin uses a template structure for each input field you would like to validate. For this post, I&#8217;m going to use the &quot;username&quot; field as an example of how to use it.</p>
<p>&#160;</p>
<p>1. Here is our input field template you can use for anything like usernames, passwords, addresses and so forth. Notice that we have an image area to display a notification icon and a message area to display any validation messages.</p>
<p>&#160;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160; <font face="Courier" color="#804000" size="2">&#160; &lt;li class=&quot;validated&quot; id=&quot;FIELDNAME_li&quot;&gt;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;label for=&quot;r_FIELDNAME&quot;&gt;Fieldname:&lt;/label&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;div id=&quot;FIELDNAME_img&quot;&gt;&lt;/div&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;input class=&quot;validated&quot; name=&quot;FIELDNAME&quot; id=&quot;FIELDNAME&quot; type=&quot;text&quot; maxlength=&quot;20&quot; value=&quot;&quot;&#160; /&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;div id=&quot;FIELDNAME_msg&quot;&gt;&lt;/div&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/li&gt;</font></p>
<p>Lets now replace FIELDNAME with username to setup an input field that validates.</p>
<p>&#160;</p>
<p>&#160; <font face="Courier" color="#804000" size="2">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;li class=&quot;validated&quot; id=&quot;username_li&quot;&gt;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;label for=&quot;r_username&quot;&gt;Username:&lt;/label&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;div id=&quot;username_img&quot;&gt;&lt;/div&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;input class=&quot;validated&quot; name=&quot;username&quot; id=&quot;username&quot; type=&quot;text&quot; maxlength=&quot;20&quot; value=&quot;&quot;&#160; /&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;div id=&quot;username_msg&quot;&gt;&lt;/div&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/li&gt;</font> </p>
<p>&#160;</p>
<p>2.&#160; The next stage of setting up a new text field for validation is adding our &quot;username&quot; field to our JavaScript. This takes the form of a check to see if the name of one of the input fields on the page is &quot;username&quot; and if so, what type of validation we would like to apply on it. </p>
<p><strong>JavaScript &gt;&gt; V</strong>alidator.js</p>
<p><font face="Courier" color="#804000" size="2">$.fn.validate = {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; init: function(o) {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Here&#8217;s where I&#8217;m checking for my input field name       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(o.name == &#8216;username&#8217;) { this.username(o) };&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(o.name == &#8216;password&#8217;) { this.password(o) };       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(o.name == &#8216;email&#8217;) { this.email(o) };       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(o.name == &#8216;dob&#8217;) { this.dob(o) };       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></p>
<p><font face="Courier" color="#804000" size="2">//and here&#8217;s where I&#8217;m definining a validation method for it      <br />//note the regex used to make sure that our username fits the       <br />//expected pattern</font></p>
<p><font face="Courier" color="#804000" size="2">     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; username: function(o) {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var user = /[(\*\(\)\[\]\+\.\,\/\?\:\;\&#8217;\&quot;\`\~\\#\$\%\^\&amp;\&lt;\&gt;)+]/;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (!o.value.match(user)) {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; doValidate(o);       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } else {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; doError(o,&#8217;no special characters allowed&#8217;);       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; };       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }&#160; <br /></font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p>
<p>(each of the password, email, date-of-birth items also have their own custom validation scheme which you can see in the tutorial pack)</p>
<p>&#160;</p>
<p><a href="http://blarnee.com/wp/wp-content/uploads/dob.jpg" class="thickbox"><img title="dob" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="137" alt="dob" src="http://blarnee.com/wp/wp-content/uploads/dob_thumb.jpg" width="233" border="0" /></a> </p>
<p>And that&#8217;s it!. You can define as many input fields as you would like and validate their content using any type of regular expression that your project requires the data to conform to. </p>
<p>&#160;</p>
<p>If you would like to try the methods described in this post out for your own project, feel free to download my tutorial pack <a href="http://www.addyosmani.com/resources/jqueryvalidate/">here</a> or view a demo <a href="http://www.addyosmani.com/resources/jqueryvalidate/validation.rar">here.</a></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2Fhow-to-add-form-validation-using-jquery-in-2-easy-steps%2F&amp;t=How%20To%20Add%20Form%20Validation%20using%20jQuery%20in%202%20Easy%20Steps" id="facebook_share_button_563" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_563') || document.getElementById('facebook_share_icon_563') || document.getElementById('facebook_share_both_563') || document.getElementById('facebook_share_button_563');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_563') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/how-to-add-facebook-connect-to-your-website-in-just-3-steps/' rel='bookmark' title='Permanent Link: How to Add Facebook Connect To Your Website in just 3 Steps'>How to Add Facebook Connect To Your Website in just 3 Steps</a> <small>&#160; &#160; Many Social Networking sites allow users to authenticate...</small></li><li><a href='http://blarnee.com/wp/jquery-ui-animation-effects/' rel='bookmark' title='Permanent Link: jQuery UI Animation Effects'>jQuery UI Animation Effects</a> <small> The jQuery UI Effects Core brings a few more...</small></li><li><a href='http://blarnee.com/wp/how-to-add-a-password-strength-meter-using-jquery-in-under-5-minutes/' rel='bookmark' title='Permanent Link: How to add a password strength meter using jQuery in under 5 minutes'>How to add a password strength meter using jQuery in under 5 minutes</a> <small> Hi guys. Today I&#8217;m going to show you how...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/how-to-add-form-validation-using-jquery-in-2-easy-steps/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>An Amazing jQuery 3D Wall for Webkit &#8211; YouTube Edition</title>
		<link>http://blarnee.com/wp/an-amazing-jquery-3d-wall-for-webkit-youtube-edition/</link>
		<comments>http://blarnee.com/wp/an-amazing-jquery-3d-wall-for-webkit-youtube-edition/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 06:52:10 +0000</pubDate>
		<dc:creator>legacye</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[3d wall]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[image wall]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery carousel]]></category>
		<category><![CDATA[jquery gallery]]></category>
		<category><![CDATA[jquery image viewer]]></category>
		<category><![CDATA[jquery photo wall]]></category>
		<category><![CDATA[jquery viewer]]></category>
		<category><![CDATA[thumbnails]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://addyosmani.com/blog/an-amazing-jquery-3d-wall-for-webkit-youtube-edition/</guid>
		<description><![CDATA[&#160; Hey guys. I’ve got some great new code for you to download today. For a long time, Flash has dominated the online interactive UI landscape with technologies like PaperVision allowing developers to flex their creative muscles far and wide. Recently, JavaScript has come back into the Spotlight thanks to the Canvas element making impressive [...]


Related posts:<ol><li><a href='http://blarnee.com/wp/7-really-useful-tips-for-better-jquery-code/' rel='bookmark' title='Permanent Link: 7 Really Useful Tips For Better jQuery Code'>7 Really Useful Tips For Better jQuery Code</a> <small>&nbsp; I&rsquo;ve been using jQuery in my web apps for...</small></li><li><a href='http://blarnee.com/wp/quick-and-dirty-ajax-with-jquery/' rel='bookmark' title='Permanent Link: Quick and dirty Ajax with jQuery'>Quick and dirty Ajax with jQuery</a> <small>So you&#8217;ve read up on our earlier Ajax tutorial or...</small></li><li><a href='http://blarnee.com/wp/how-to-highlight-terms-on-your-page-using-jquery/' rel='bookmark' title='Permanent Link: How to highlight terms on your page using jQuery'>How to highlight terms on your page using jQuery</a> <small>Today I came across a really useful plugin for jQuery...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/webkitwall.jpg"><img title="webkitwall" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="246" alt="webkitwall" src="http://blarnee.com/wp/wp-content/uploads/webkitwall_thumb.jpg" width="410" border="0" /></a> </p>
<p>Hey guys. I’ve got some great new code for you to download today. For a long time, Flash has dominated the online interactive UI landscape with technologies like PaperVision allowing developers to flex their creative muscles far and wide. Recently, JavaScript has come back into the Spotlight thanks to the Canvas element making impressive image effects finally possible. In this post, I’d like to share with you an amazing new <a href="http://www.addyosmani.com/resources/jquery3dwall"><strong>jQuery 3D Wall Component</strong></a> for Webkit that’s compatible with Chrome and Safari. </p>
<p> <span id="more-558"></span>
<p>&#160;</p>
<p>The great thing about the wall (inspired by work by Charles Ying) is that it supports infinite-browsing (this means that as long as you hit the right-arrow, you’ll get brand new images populating the view through Ajax). The Component comes with out-of-the-box support for Flickr and YouTube Videos, which are relatively easy to configure and effects like reflection are automatically applied to the base of your images for you. </p>
<p>&#160;</p>
<p>Interested in a neat image Search?. The component also comes complete with a really cool “Search and highlight” feature so you can see what images or videos in your view match the terms you’re typing in.</p>
<p>&#160;</p>
<p><a class="thickbox" href="http://blarnee.com/wp/wp-content/uploads/web2.jpg"><img title="web2" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="152" alt="web2" src="http://blarnee.com/wp/wp-content/uploads/web2_thumb.jpg" width="392" border="0" /></a> </p>
<p>Would you like to hook it up to consume your own data or images? No problem at all. Here’s how YouTube videos are pulled into the plugin:</p>
<p>&#160;</p>
<p><font face="Courier" color="#804000" size="2">function youtube(callback)      <br />{       <br />&#160;&#160;&#160; var url = &quot;</font><a href="http://gdata.youtube.com/feeds/api/videos/-/Comedy?v=2&amp;alt=json-in-script&amp;start-index=&quot;"><font face="Courier" color="#804000" size="2">http://gdata.youtube.com/feeds/api/videos/-/Comedy?v=2&amp;alt=json-in-script&amp;start-index=&quot;</font></a><font face="Courier" color="#804000" size="2"> + startIndex + &quot;&amp;callback=?&quot;; </font></p>
<p><font face="Courier" color="#804000" size="2">&#160;&#160;&#160; jQuery.getJSON(url, function (data)      <br />&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var images = jQuery.map(data.feed.entry, function (item)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; title: item.title.$t,       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thumb: item.media$group.media$thumbnail[0].url,       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ytvideoid: item.media$group.yt$videoid.$t,       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; videoloader: youtubevideo,       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; link: item.link[0].href       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; };       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; startIndex += images.length;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; callback(images);       <br />&#160;&#160;&#160; });       <br />}</font></p>
<p>&#160;</p>
<p>It essentially uses a JSON based callback to grab a set of parameters (such as the image location and the link to the original photo or video) through your data feed. You are then able to define how you would like your information to be handled (if you’ve got some extra features in mind), but thats about it – simply initialize the service you would like to use (in my case Flickr or YouTube) and then you’re done. Pagination of images is kept as basic as possible and you’ll be able to get up and running with the component in no time.</p>
<p>&#160;</p>
<p>If you would like to check out a demo of the wall in action or would like to download it to play around with it yourself, please see the links below.</p>
<p>&#160;</p>
<p><a href="http://www.addyosmani.com/resources/jquery3dwall">Demo</a> | <a href="http://www.addyosmani.com/resources/jquery3dwall/jquery3dwall.rar">Download</a></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblarnee.com%2Fwp%2Fan-amazing-jquery-3d-wall-for-webkit-youtube-edition%2F&amp;t=An%20Amazing%20jQuery%203D%20Wall%20for%20Webkit%20%26%238211%3B%20YouTube%20Edition" id="facebook_share_button_558" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
<script type="text/javascript">
var button = document.getElementById('facebook_share_link_558') || document.getElementById('facebook_share_icon_558') || document.getElementById('facebook_share_both_558') || document.getElementById('facebook_share_button_558');
if (button) {
	button.onclick = function(e) {
		var url = this.href.replace(/share\.php/, 'sharer.php');
		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}

	if (button.id === 'facebook_share_button_558') {
		button.onmouseover = function(){
			this.style.color='#fff';
			this.style.borderColor = '#295582';
			this.style.backgroundColor = '#3b5998';
		}
		button.onmouseout = function(){
			this.style.color = '#3b5998';
			this.style.borderColor = '#d8dfea';
			this.style.backgroundColor = '#fff';
		}
	}
}
</script>


<p>Related posts:<ol><li><a href='http://blarnee.com/wp/7-really-useful-tips-for-better-jquery-code/' rel='bookmark' title='Permanent Link: 7 Really Useful Tips For Better jQuery Code'>7 Really Useful Tips For Better jQuery Code</a> <small>&nbsp; I&rsquo;ve been using jQuery in my web apps for...</small></li><li><a href='http://blarnee.com/wp/quick-and-dirty-ajax-with-jquery/' rel='bookmark' title='Permanent Link: Quick and dirty Ajax with jQuery'>Quick and dirty Ajax with jQuery</a> <small>So you&#8217;ve read up on our earlier Ajax tutorial or...</small></li><li><a href='http://blarnee.com/wp/how-to-highlight-terms-on-your-page-using-jquery/' rel='bookmark' title='Permanent Link: How to highlight terms on your page using jQuery'>How to highlight terms on your page using jQuery</a> <small>Today I came across a really useful plugin for jQuery...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blarnee.com/wp/an-amazing-jquery-3d-wall-for-webkit-youtube-edition/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
