<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Rey Bango</title>
	
	<link>http://blog.reybango.com</link>
	<description>JavaScript, HTML, CSS &amp; Random Stuff...</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:46:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/reybango/zSyW" /><feedburner:info uri="reybango/zsyw" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Fix Common IE Problems: Update your Docmode for Web Standards</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/BwEJAv_kUzQ/</link>
		<comments>http://blog.reybango.com/2012/01/09/fix-common-ie-problems-update-your-docmode-for-web-standards/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 20:39:18 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1800</guid>
		<description><![CDATA[Document compatibility defines how a browser renders your website. The more specific you are at telling the browser what to expect, the better the experience for your users. When using web standards like HTML5, start by explicitly declaring the HTML5 document type: This markup triggers standards mode in Internet Explorer 9 and 10. And it [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Document compatibility defines how a browser renders your website.  The more specific you are at telling the browser what to expect, the better the experience for your users. When using web standards like HTML5, start by <a href="http://msdn.microsoft.com/en-us/library/cc288325(v=VS.85).aspx">explicitly declaring</a> the HTML5 document type:</p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;</pre>
<p>This markup triggers <a href="http://msdn.microsoft.com/en-us/library/cc288325(v=VS.85).aspx">standards mode</a> in Internet Explorer 9 and 10.  And it also works well in Chrome and Firefox.  Four steps will get your site ready for many browsers and devices:</p>
<h2>Step 1: Validate that your site uses standards mode</h2>
<p>Check whether or not your site is currently in standards mode:</p>
<ol>
<li>Open the website in <a href="http://ie.microsoft.com/testdrive/Info/Downloads/Default.html">IE10 platform preview</a>.
<ul>
<li><strong>Note:</strong> You can also follow the same steps to update the docmode for IE9 only without downloading the preview.</li>
</ul>
</li>
<li>Press F12 to launch the IE Developer Tools or find it on the <em>Tools</em> menu as shown below:<br />
<a href="http://blog.reybango.com/wp-content/uploads/2012/01/dev-tool-menu-1.png"><img src="http://blog.reybango.com/wp-content/uploads/2012/01/dev-tool-menu-1.png" alt="" title="dev-tool-menu-1" width="243" height="268" class="alignleft size-full wp-image-1806" /></a></p>
<ul>
<li><strong>Note:</strong> If you’re not familiar with using the IE F12 Developer Tools to debug your webpages, please read the <a href="http://msdn.microsoft.com/en-us/library/gg589507%28v=VS.85%29.aspx">following tutorial</a>.</li>
</ul>
</li>
<li>Check if your site indicates <em>Browser Mode: IE10</em> and <em>Document Mode: IE10 standards</em> as shown in the toolbar below:<br />
<a href="http://blog.reybango.com/wp-content/uploads/2012/01/ie-dev-tools-1.png"><img src="http://blog.reybango.com/wp-content/uploads/2012/01/ie-dev-tools-1-300x39.png" alt="" title="ie-dev-tools-1" width="300" height="39" class="alignleft size-medium wp-image-1808" /></a><br />
<em>Click to Enlarge</em></li>
<li>If your site is in <em>Browser Mode: IE10</em> and <em>Document Mode: IE10 Standards</em>, <strong>you’re done!</strong>  Note if the Browser Mode and Document Mode of your site are different than above.  A common example is <em>Browser Mode = IE8</em> and <em>Document Mode = Quirks</em> which indicates that your website was designed for older versions of IE and may not be ready for web standards.<br />
<a href="http://blog.reybango.com/wp-content/uploads/2012/01/ie-dev-tools-2.png"><img src="http://blog.reybango.com/wp-content/uploads/2012/01/ie-dev-tools-2-300x42.png" alt="" title="ie-dev-tools-2" width="300" height="42" class="alignleft size-medium wp-image-1809" /></a><br />
<em>Click to Enlarge</em></li>
</ol>
<h2>Step 2: Implement docmode for web standards</h2>
<p>Force IE10 standards mode to test your website:</p>
<ol>
<li>Insert
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;</pre>
<p> into your website’s HTML page</p>
<ul>
<li>Learn more about how to update your doctypes <a href="http://msdn.microsoft.com/en-us/library/cc288325(v=VS.85).aspx">here</a></li>
</ul>
</li>
<li>Reload your page in the browser and check the <em>Browser Mode</em> and <em>Document Mode</em> again using the F12 Developer Tools.  If <em>Browser Mode: IE10</em> and <em>Document Mode: IE10 standards</em> are not shown, continue below.</li>
</ol>
<h2>Step 3: Determine why your site is not in Standards Mode</h2>
<p>Most problems are related to supporting older versions of IE.  Start by ensuring your standards-based code is rendered in IE9 and 10.  Then keep your non-standards-based code for older versions of IE.</p>
<ol>
<li>My page is not in Browser Mode: IE10</p>
<ul>
<li><strong>Possible Cause:</strong> Your website may flagged in <a href="http://msdn.microsoft.com/en-us/library/dd567845(v=VS.85).aspx">Compatibility View</a> and forced into an older browser mode to ensure the site functions
<ul>
<li><strong>Resolution:</strong> Check if your site is on the list <a href="http://ie9cvlist.ie.microsoft.com/ie9CompatViewList.xml">here</a>.  Learn more about the Compatibility View list and request removal <a href="http://msdn.microsoft.com/en-us/library/dd567845(v=VS.85).aspx#removal">here</a>.</li>
</ul>
</li>
</ul>
</li>
<li>My page is not in Document Mode = IE10
<ul>
<li><strong>Possible Cause:</strong> Your website’s doctype is invalid or missing</p>
<ul>
<li><strong>Resolution:</strong> Check for a <a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">valid, well-formed doctype</a> like:</p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
&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;</pre>
<p>Learn more about how to update your doctypes <a href="http://msdn.microsoft.com/en-us/library/cc288325(v=VS.85).aspx">here</a>.</li>
</ul>
</li>
<ul>
<li><strong>Possible Cause:</strong> Docmode being forced via <a href="http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx">X-UA-Compatible meta tag</a></p>
<ul>
<li><strong>Resolution:</strong> Check for code similar to this in the <head> of the page.</p>
<pre class="brush: xml; title: ; notranslate">&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=EmulateIE7&quot; &gt;
&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=8&quot; &gt;</pre>
<p>Remove it and reload your page.  Continue testing.  Learn more about Specifying Document Compatibility Modes <a href="http://msdn.microsoft.com/en-us/library/cc288325(v=VS.85).aspx#SetMode">here</a>.</li>
</ul>
</li>
</li>
</ol>
<h2>Step 4: Resolve common IE problems when updating docmode</h2>
<p>Most problems are related to supporting older versions of IE.  Start by ensuring your standards-based code is rendered in IE9 and 10.  Then keep your non-standards-based code for older versions of IE.</p>
<ul>
<li><strong>Possible Cause:</strong> <a href="http://msdn.microsoft.com/en-us/library/ms537512%28v=vs.85%29.aspx">Conditional comments</a> support browser version-specific features </p>
<ul>
<li><strong>Resolution:</strong> Check for <a href="http://msdn.microsoft.com/en-us/library/ms537512%28v=vs.85%29.aspx">conditional comments</a> that run non-standard code.  These are often used on specific features supported by older versions of IE to allow the page to degrade gracefully.  Check for code similar to this:</p>
<pre class="brush: xml; title: ; notranslate">&lt;!--[if IE 8]&gt;

&lt;p&gt;Welcome to Internet Explorer 8.&lt;/p&gt;

&lt;![endif]--&gt;
</pre>
<p>Remove it and reload your page.  Continue testing. Learn more about Conditional Comments <a href="http://msdn.microsoft.com/en-us/library/ms537512%28v=vs.85%29.aspx">here</a>.</li>
</ul>
</li>
<li><strong>Possible Cause:</strong> <a href="http://blogs.msdn.com/b/ieinternals/archive/2011/06/30/perils-of-user-agent-sniffing-browser-mode-document-mode-compatibility-view.aspx">User agent sniffing</a> supports browser version-specific features
<ul>
<li><strong>Resolution:</strong> Check for <a href="http://blogs.msdn.com/b/ieinternals/archive/2011/06/30/perils-of-user-agent-sniffing-browser-mode-document-mode-compatibility-view.aspx">user agent sniffing</a>. These are often used to specifically target a browser based on the user agent string presented via the browser mode.  Check for code similar to this:</p>
<pre class="brush: jscript; title: ; notranslate">if (version = /MSIE (\d+\.\d+)/.exec(navigator.userAgent)) {

	isIE = true;

browserVersion = parseFloat(version[1]);
}</pre>
<p>Start by implementing <a href="http://blogs.msdn.com/b/ie/archive/2010/04/14/same-markup-writing-cross-browser-code.aspx">feature detection</a> where possible with web standards.  Learn more about User-Agent Strings <a href="http://msdn.microsoft.com/en-us/library/ms537503(v=VS.85).aspx">here</a>. The IE10 User-Agent String is located <a href="http://blogs.msdn.com/b/ie/archive/2011/04/15/the-ie10-user-agent-string.aspx">here</a>.</li>
</ul>
</li>
</ul>
<h2>Other reasons my page does not render correctly:</h2>
<ul>
<li><strong>Possible Cause:</strong> Your website may be using browser specific features that are no longer supported.  Use web standards whenever possible.</p>
<ul>
<li><strong>Resolution:</strong> Run the <a href="http://ie.microsoft.com/testdrive/HTML5/CompatInspector/Default.html">Compatibility Inspector tool</a>.</li>
</ul>
</li>
<li><strong>Possible Cause:</strong> Your website may be using 3rd party plug-ins or like Flash, Quicktime, and Silverlight that are no longer supported by the IE10 metro. Use web standards whenever possible.
<ul>
<li><strong>Resolution:</strong> Learn how to create plug-in free experiences.  A complete step-by-step guide will be available shortly.</li>
</ul>
</li>
<li><strong>Possible Cause:</strong> Your website may be loading browser version-specific CSS files:
<ul>
<li><strong>Resolution:</strong> Ensure layout is avoiding CSS hacks where possible.  Learn more about investigating CSS issues <a href="http://msdn.microsoft.com/en-us/library/gg699340(v=VS.85).aspx">here</a>.</li>
</ul>
</li>
</ul>
<p>A list of common problems is available in the <a href="http://msdn.microsoft.com/en-us/library/ff986083(v=VS.85).aspx">IE Compatibility Cookbook</a>. </p>
<p>If you’re unable to update your docmode with these resolution steps, tweet us <a href="http://twitter.com/#!/IE">@IE</a> or check the <a href="http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads">Forums on MSDN</a>.</p>
<p>For further detail, try these articles:</p>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/cc288325(v=VS.85).aspx">Defining Document Capability</a> @ MSDN</li>
<li><a href="http://msdn.microsoft.com/en-us/library/gg699340(v=VS.85).aspx">Investigating Document Mode Issues</a> @ MSDN</li>
<li><a href="http://blogs.msdn.com/b/ie/archive/2011/12/14/interoperable-html5-quirks-mode-in-ie10.aspx">Interoperable Quirks Mode in IE10</a> @ IE Blog</li>
<li><a href="http://ie.microsoft.com/testdrive/HTML5/CompatInspector/">Compatibility Inspector tool</a> @ IETestDrive.com</li>
<li><a href="http://www.w3.org/QA/Tips/Doctype">Don’t Forget to Add a Doctype</a> @ W3C.org</li>
</ul>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2012/01/09/fix-common-ie-problems-update-your-docmode-for-web-standards/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2012/01/09/fix-common-ie-problems-update-your-docmode-for-web-standards/</feedburner:origLink></item>
		<item>
		<title>Site Pinning: Rotating Overlay Icons for Multiple Service Notifications</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/5cI_-HJ5QLQ/</link>
		<comments>http://blog.reybango.com/2011/10/18/site-pinning-rotating-overlay-icons-for-multiple-service-notifications/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 13:00:11 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1759</guid>
		<description><![CDATA[In my last post, I went over how to use IE9′s Site Pinning API to implement overlay icons to enhance user notifications. The demo focused on how to display a numeric icon to indicate when a specific event (e.g.: messages in an inbox) had occurred. Pinned site with overlay icon It&#8217;s a really great way [...]
Related posts:<ol>
<li><a href='http://blog.reybango.com/2011/10/10/using-site-pinning-and-overlay-icons-for-enhanced-user-notifications-and-engagement/' rel='bookmark' title='Using Site Pinning and Overlay Icons for Enhanced User Notifications and Engagement'>Using Site Pinning and Overlay Icons for Enhanced User Notifications and Engagement</a> <small>I was recently doing some testing of IE9&#8242;s Site Pinning...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://blog.reybango.com/2011/10/10/using-site-pinning-and-overlay-icons-for-enhanced-user-notifications-and-engagement/">last post</a>, I went over how to use <a href="http://msdn.microsoft.com/en-us/library/gg491731(v=VS.85).aspx">IE9′s Site Pinning API</a> to implement overlay icons to enhance user notifications. The demo focused on how to display a numeric icon to indicate when a specific event (e.g.: messages in an inbox) had occurred. </p>
<p><a href="http://blog.reybango.com/wp-content/uploads/2011/10/overlay-icon.png"><img src="http://blog.reybango.com/wp-content/uploads/2011/10/overlay-icon.png" alt="" title="overlay-icon" width="508" height="150" class="alignleft size-full wp-image-1710" /></a><br />
<em>Pinned site with overlay icon</em></p>
<p>It&#8217;s a really great way of letting your users know that there&#8217;s pending information for them to check into. But what happens if your site offers multiple types of notifications? With websites offering so much functionality nowadays, it&#8217;s pretty common for them to also serve up multiple types of notifications, from friend requests and event reminders to new messages and game invites.</p>
<h2>Rotating Multiple Overlays Icons</h2>
<p>The great thing about the Site Pinning API is that it&#8217;s very flexible and through some JavaScript magic, you can easily display multiple overlay icons for the various services you have. In this demo, I want to rotate through 3 different overlay icons that alert the user to pending messages, requests and actions.</p>
<p>As before, I had to flex some of my artistic talent by creating the overlay icons using <a href="http://buildmypinnedsite.com/#step_1">the x-icon editor</a>. I created 5 of each and here&#8217;s how the first three look:</p>
<p><a href="http://blog.reybango.com/wp-content/uploads/2011/10/messages-1.png"><img src="http://blog.reybango.com/wp-content/uploads/2011/10/messages-1.png" alt="" title="messages-1" width="32" height="32" class="alignleft size-full wp-image-1762" /></a><a href="http://blog.reybango.com/wp-content/uploads/2011/10/requests-1.png"><img src="http://blog.reybango.com/wp-content/uploads/2011/10/requests-1.png" alt="" title="requests-1" width="32" height="32" class="alignleft size-full wp-image-1763" /></a><a href="http://blog.reybango.com/wp-content/uploads/2011/10/actions-1.png"><img src="http://blog.reybango.com/wp-content/uploads/2011/10/actions-1.png" alt="" title="actions-1" width="32" height="32" class="alignleft size-full wp-image-1764" /></a></p>
<p>The code changed slightly from the last demo in order to accommodate multiple bits of data per fetch. While previously, I was only fetching one piece of data, in this demo, I&#8217;m returning 3, one for each notification type:</p>
<pre class="brush: jscript; title: ; notranslate"> myPin.init([{ &quot;data&quot; : [{ &quot;label&quot; : &quot;Messages&quot;, &quot;ntype&quot; : &quot;M&quot;, &quot;num&quot;: 2 }, { &quot;label&quot; : &quot;Requests&quot;, &quot;ntype&quot; : &quot;R&quot;, &quot;num&quot;: 1 }, { &quot;label&quot; : &quot;Actions&quot;, &quot;ntype&quot; : &quot;A&quot;, &quot;num&quot;: 3 }] },
		        { &quot;data&quot; : [{ &quot;label&quot; : &quot;Messages&quot;, &quot;ntype&quot; : &quot;M&quot;, &quot;num&quot;: 1 }, { &quot;label&quot; : &quot;Requests&quot;, &quot;ntype&quot; : &quot;R&quot;, &quot;num&quot;: 5 }, { &quot;label&quot; : &quot;Actions&quot;, &quot;ntype&quot; : &quot;A&quot;, &quot;num&quot;: 2 }] },
		        { &quot;data&quot; : [{ &quot;label&quot; : &quot;Messages&quot;, &quot;ntype&quot; : &quot;M&quot;, &quot;num&quot;: 5 }, { &quot;label&quot; : &quot;Requests&quot;, &quot;ntype&quot; : &quot;R&quot;, &quot;num&quot;: 1 }, { &quot;label&quot; : &quot;Actions&quot;, &quot;ntype&quot; : &quot;A&quot;, &quot;num&quot;: 4 }] }
			   ]);</pre>
<p>As a reminder, the method <em>getData()</em> <strong>simulates</strong> grabbing remote data. So if we look at the data above, we can simulate pulling back three distinct bits of data. This is why we call the method every 10 seconds using setInterval. This allows us to see how notifications might look over a period of time. </p>
<pre class="brush: jscript; title: ; notranslate">setInterval(function () { myPin.getData() }, 10000);</pre>
<p>The next thing that changed is the use of a timer to allow a slight delay while rendering the overlay icons. Using <em>setTimeout()</em> provides enough of delay so that an individual overlay icon is visible to the user before rotating on to the next icon. If we didn&#8217;t have this delay, the rotation would be way too fast to provide any useful notification. If we look at the following image, we can see what the notification will look like:</p>
<p><a href="http://blog.reybango.com/wp-content/uploads/2011/10/overlay.png"><img src="http://blog.reybango.com/wp-content/uploads/2011/10/overlay.png" alt="" title="overlay" width="332" height="150" class="alignleft size-full wp-image-1773" /></a><br />
<em>Overlay icon showing numeric notification</em></p>
<p>This is accomplished via the following code:</p>
<pre class="brush: jscript; title: ; notranslate">// Grab the current set of data...
currData = this.dataBin[this.currIndex++].data;		

/* We're going to display a new overlay every x number of seconds to display a new overlay icon so
   let's loop through the data elements for the current set of data... */
for (var i=0; i &lt; currData.length; i++ ){

	(function(idx) { setTimeout( function(){ myPin.dispOverlay( currData[idx] ); }, 1000 * idx); }( i ));					

}</pre>
<p>Here&#8217;s what&#8217;s happening. In the first line, I grab the current set of data that holds all of the notification information (messages, requests &#038; actions). That data looks like this:</p>
<pre class="brush: jscript; title: ; notranslate">[{ &quot;label&quot; : &quot;Messages&quot;, &quot;ntype&quot; : &quot;M&quot;, &quot;num&quot;: 2 },
{ &quot;label&quot; : &quot;Requests&quot;, &quot;ntype&quot; : &quot;R&quot;, &quot;num&quot;: 1 },
{ &quot;label&quot; : &quot;Actions&quot;, &quot;ntype&quot; : &quot;A&quot;, &quot;num&quot;: 3 }]</pre>
<p>I loop through each group of data and assign a timer using <em>setTimeout()</em> that will call <em>dispOverlay()</em> at ~1 second intervals. That&#8217;s the magic code that allows for the gradual icon rendering delay I mentioned before. The expected functionality is that the &#8220;messages&#8221; icon will render followed by the &#8220;requests&#8221; icon 1 second later, and then finally the &#8220;actions&#8221; icon.</p>
<p>Now, you might be wondering why I have an anonymous function wrapping the <em>setTimeout()</em>. It&#8217;s because I have a closure within setTimeout which can <a href="http://james.padolsey.com/javascript/closures-in-javascript/">cause a common scoping issue</a> in which the variable &#8216;i&#8217;, which I use to grab the current index of data, will only be updated to the last index value. James Padolsey has a <a href="http://james.padolsey.com/javascript/closures-in-javascript/">great explanation on it</a> and thanks to <a href="https://twitter.com/jdalton">John David Dalton</a> for helping me troubleshoot this.</p>
<p>The final change is in <em>dispOverlay()</em> in which I need to determine which overlay icon needs to display. Since I now have three different types of notifications, I need a conditional statement to determine the type and build the correct icon name:</p>
<pre class="brush: jscript; title: ; notranslate">if (theData.ntype == &quot;M&quot;) {
	oImg = &quot;images/messages-&quot; + theData.num + &quot;.ico&quot;;
} else if (theData.ntype == &quot;R&quot;) {
	oImg = &quot;images/requests-&quot; + theData.num + &quot;.ico&quot;;
} else if (theData.ntype == &quot;A&quot;) {
	oImg = &quot;images/actions-&quot; + theData.num + &quot;.ico&quot;;
}</pre>
<p>This checks the type and serves up the right icon based on the type and the number of notifications pending for that type.</p>
<h2>The Demo and Final Code</h2>
<p>You can check out the demo by going here in IE9:</p>
<p><a href="http://reybango.com/demos/sprotate/index.html">http://reybango.com/demos/sprotate/index.html</a></p>
<p>When the page renders, drag the tab down to your taskbar and pin it. You should see a new window appear with your newly pinned site. Next, you’ll see the overlay icons appear in the taskbar and they should begin to cycle every 10 seconds.</p>
<p>Here’s the full source code. You can also <a href="reybango.com/demos/sprotate/src/sprotate.zip">download everything here</a>. </p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Pinned Site - Rotating Overlay Icons&lt;/title&gt;
&lt;link rel=&quot;shortcut icon&quot; type=&quot;image/ico&quot; href=&quot;favicon.ico&quot; /&gt;
&lt;meta name=&quot;application-name&quot; content=&quot;Pinned Site Test&quot; /&gt;
&lt;meta name=&quot;msapplication-starturl&quot; content=&quot;http://reybango.com/demos/sprotate/index.html&quot; /&gt;
&lt;meta name=&quot;msapplication-navbutton-color&quot; content=&quot;#3480C0&quot; /&gt;
&lt;meta name=&quot;msapplication-window&quot; content=&quot;width=1024;height=768&quot; /&gt;
&lt;meta name=&quot;msapplication-tooltip&quot; content=&quot;Testing the Pinned Site API&quot; /&gt;
&lt;style&gt;
body {
    background: none repeat scroll 0 0 #4492CE;
    font: 440%/1.4em 'Segoe Light',Segoe,'Segoe UI','Meiryo Regular','Meiryo',sans-serif;
    color: #EDEFF4;
}

&lt;/style&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;div&gt;
&lt;h1&gt;Pinned Sites&lt;/h1&gt;
&lt;p&gt;Rotating Overlay Icons&lt;/p&gt;
&lt;/div&gt;

&lt;script&gt;

	var myData = [];

    var myPin = {

        currIndex: 0,
        dataBin: [],

        getData: function () {

			var idx = 0, currData = [], cntr = 0, theData;

            // Determines whether the current page was launched as a pinned site...
            if (window.external.msIsSiteMode()) {

				// Grab the current set of data...
				currData = this.dataBin[this.currIndex++].data;		

				/* We're going to display a new overlay every x number of seconds to display a new overlay icon so
				   let's loop through the data elements for the current set of data... */
				for (var i=0; i &lt; currData.length; i++ ){

					(function(idx) { setTimeout( function(){ myPin.dispOverlay( currData[idx] ); }, 1e3 * idx); }( i ));					

				}

				if (this.currIndex &gt; 2) { this.currIndex = 0 }

            }

        },

        dispOverlay: function (theData) {

            var oImg = &quot;&quot;;

            // Is there any data?
            if (theData) {

                // Clear any preexisting overlay icon
                window.external.msSiteModeClearIconOverlay();

				// Render the overlay icon based on the data returned...
				if (theData.ntype == &quot;M&quot;) {
					oImg = &quot;images/messages-&quot; + theData.num + &quot;.ico&quot;;
				} else if (theData.ntype == &quot;R&quot;) {
					oImg = &quot;images/requests-&quot; + theData.num + &quot;.ico&quot;;
				} else if (theData.ntype == &quot;A&quot;) {
					oImg = &quot;images/actions-&quot; + theData.num + &quot;.ico&quot;;
				}				

                // Go ahead and create the overlay image and it's label...
                this.setOverlay(oImg, theData.label);

            }

        },

        setOverlay: function (icon, desc) {

            // Sets the overlay icons...
            window.external.msSiteModeSetIconOverlay(icon, desc);
            window.external.msSiteModeActivate();

        },

        init: function (myData) {

            this.dataBin = myData;
			this.getData();

        }

    };

    // This clears out any previously set overlay icons...
    window.external.msSiteModeClearIconOverlay();

    // Run it once to kick everything off...
    myPin.init([{ &quot;data&quot; : [{ &quot;label&quot; : &quot;Messages&quot;, &quot;ntype&quot; : &quot;M&quot;, &quot;num&quot;: 2 }, { &quot;label&quot; : &quot;Requests&quot;, &quot;ntype&quot; : &quot;R&quot;, &quot;num&quot;: 1 }, { &quot;label&quot; : &quot;Actions&quot;, &quot;ntype&quot; : &quot;A&quot;, &quot;num&quot;: 3 }] },
		        { &quot;data&quot; : [{ &quot;label&quot; : &quot;Messages&quot;, &quot;ntype&quot; : &quot;M&quot;, &quot;num&quot;: 1 }, { &quot;label&quot; : &quot;Requests&quot;, &quot;ntype&quot; : &quot;R&quot;, &quot;num&quot;: 5 }, { &quot;label&quot; : &quot;Actions&quot;, &quot;ntype&quot; : &quot;A&quot;, &quot;num&quot;: 2 }] },
		        { &quot;data&quot; : [{ &quot;label&quot; : &quot;Messages&quot;, &quot;ntype&quot; : &quot;M&quot;, &quot;num&quot;: 5 }, { &quot;label&quot; : &quot;Requests&quot;, &quot;ntype&quot; : &quot;R&quot;, &quot;num&quot;: 1 }, { &quot;label&quot; : &quot;Actions&quot;, &quot;ntype&quot; : &quot;A&quot;, &quot;num&quot;: 4 }] }
			   ]);

    // This is only here because I want to simulate pulling data on a regular interval...
    setInterval(function () { myPin.getData() }, 10000);

&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>Related posts:<ol>
<li><a href='http://blog.reybango.com/2011/10/10/using-site-pinning-and-overlay-icons-for-enhanced-user-notifications-and-engagement/' rel='bookmark' title='Using Site Pinning and Overlay Icons for Enhanced User Notifications and Engagement'>Using Site Pinning and Overlay Icons for Enhanced User Notifications and Engagement</a> <small>I was recently doing some testing of IE9&#8242;s Site Pinning...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2011/10/18/site-pinning-rotating-overlay-icons-for-multiple-service-notifications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2011/10/18/site-pinning-rotating-overlay-icons-for-multiple-service-notifications/</feedburner:origLink></item>
		<item>
		<title>Using Site Pinning and Overlay Icons for Enhanced User Notifications and Engagement</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/vn7q1wGPq9o/</link>
		<comments>http://blog.reybango.com/2011/10/10/using-site-pinning-and-overlay-icons-for-enhanced-user-notifications-and-engagement/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 13:00:06 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1707</guid>
		<description><![CDATA[I was recently doing some testing of IE9&#8242;s Site Pinning API and found out about a cool bit of functionality that can enhance user notifications. If you&#8217;re not familiar with site pinning, it&#8217;s a great way to allow users to have easy and quick access to their favorite sites via the Windows taskbar. There&#8217;s a [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I was recently doing some testing of <a href="http://msdn.microsoft.com/en-us/library/gg491731(v=VS.85).aspx">IE9&#8242;s Site Pinning API</a> and found out about a cool bit of functionality that can enhance user notifications. If you&#8217;re not familiar with site pinning, it&#8217;s a great way to allow users to have easy and quick access to their favorite sites via the Windows taskbar. There&#8217;s a really nice <a href="http://www.beautyoftheweb.com/#/productguide/clean/seamless-with-windows-7/pinned-sites">overview on Beauty of the Web</a> that explains how it works.</p>
<h2>Keeping Users Up-to-Date</h2>
<p>One of the features the API provides is the notion of notifications that can allow developers to provide alerts to end users. The functionality allows you to dynamically insert custom overlay icons that can alert users when an important bit of information is available. These overlay icons are rendered over the favicon that is pinned to the taskbar. If you look at the image below, you can see it in action:</p>
<p><img src="http://blog.reybango.com/wp-content/uploads/2011/10/pinned.png" alt="" title="pinned" width="533" height="151" class="alignleft size-full wp-image-1712" /><br />
<em>Pinned site with no overlay icon</em></p>
<p><img src="http://blog.reybango.com/wp-content/uploads/2011/10/overlay-icon.png" alt="" title="overlay-icon" width="533" height="150" class="alignleft size-full wp-image-1710" /><br />
<em>Pinned site with overlay icon</em></p>
<p>So if you think about the possibilities, any site that offers users an inbox, special deals or sends out time-sensitive alerts could use this notification capability to keep their users up-to-date and more engaged on the site. Sites like the Huffington Post have already discovered that users that pinned HuffPost <a href="http://windowsteamblog.com/ie/b/ie/archive/2011/02/17/economics-of-the-web-ie9-users-that-pin-huffington-post-spend-49-more-time-on-site.aspx">spent 49% more time on the site</a>. </p>
<p>The best part is that adding this capability is insanely easy.</p>
<h2>Setting it Up</h2>
<p>For this post, we&#8217;re not going to go into the basics of how to pin a site. If you want to learn more, here&#8217;s a GREAT resource for getting you up to speed quickly: <a href="http://buildmypinnedsite.com/">BuildMyPinnedSite.com</a>. In fact, I used that site to help get me up-to-speed on the basics and it&#8217;s well-worth visiting.</p>
<p>To add notifications, you&#8217;ll need a couple of things:</p>
<ul>
<li>A cool favicon for your site. If you don&#8217;t have one, you can use the handy <a href="http://ie.microsoft.com/testdrive/Browser/IconEditor/Default.html">web-based X-Icon Editor</a> to create one.</li>
<li>A set of overlay icons to use. The recommended size is 16&#215;16.</li>
</ul>
<p>The API is JavaScript-based and we&#8217;ll use the following methods:</p>
<p><em><a href="http://msdn.microsoft.com/en-us/library/ff976301(v=VS.85).aspx">window.external.msSiteModeClearIconOverlay()</a><br />
<a href="http://msdn.microsoft.com/en-us/library/ff976304(v=VS.85).aspx">window.external.msSiteModeSetIconOverlay()</a><br />
<a href="http://msdn.microsoft.com/en-us/library/ff976297(v=VS.85).aspx">window.external.msSiteModeActivate()</a><br />
<a href="http://msdn.microsoft.com/en-us/library/ff976296(v=VS.85).aspx">window.external.msIsSiteMode()</a></em></p>
<p>The <em>window.external.msSiteModeClearIconOverlay</em> method is used to clear out any previously set overlay icons. <em>window.external.msSiteModeSetIconOverlay</em> allows you to specify the name of the notification icon as well as a accessible description. Lastly, we&#8217;ll use <em>window.external.msSiteModeActivate</em> to flash the pinned icon to notify the user of the update. Lastly, <em>window.external.msIsSiteMode</em> will let us know if the page was launched as a pinned site, thus allowing us to better determine when to run the code.</p>
<p>For the overlay icons, I&#8217;m using five images that display numbers 1 through 5 respectively to designate the number of messages are in a user&#8217;s inbox.</p>
<h2>The Code</h2>
<p>The first thing I need to add is the reference to my favicon. Note that if you don&#8217;t add one, then the Internet Explorer&#8217;s icon will be used by default.</p>
<pre class="brush: xml; title: ; notranslate">&lt;link rel=&quot;shortcut icon&quot; type=&quot;image/ico&quot; href=&quot;favicon.ico&quot; /&gt;</pre>
<p>Next, I want to create some sample data to work with. What I want to do for my demo is to have the overlay icon dynamically change every 5 seconds to simulate a more real-world scenario. The data is a simple array containing JSON data in each element.  </p>
<pre class="brush: jscript; title: ; notranslate">myPin.init([{ &quot;num&quot;: 1, &quot;label&quot;: &quot;Label 1&quot; },
                { &quot;num&quot;: 2, &quot;label&quot;: &quot;Label 2&quot; },
                { &quot;num&quot;: 3, &quot;label&quot;: &quot;Label 3&quot; },
                { &quot;num&quot;: 4, &quot;label&quot;: &quot;Label 4&quot; },
                { &quot;num&quot;: 5, &quot;label&quot;: &quot;Label 5&quot; }
                ]);
</pre>
<p>By setting a timer, I&#8217;ll be able to pull a new set of data every 5 seconds. </p>
<pre class="brush: jscript; title: ; notranslate">setInterval(function () { myPin.getData(); }, 5000);</pre>
<p>The main thing to keep in mind is that I&#8217;m &#8220;simulating&#8221; getting data from some remote host. In reality, all that the <em>myPin.getData()</em> method does is use a running counter to grab a new set of data and render a new overlay icon:</p>
<pre class="brush: jscript; title: ; notranslate">getData: function () {
            // A function that just simulates returning a result set...
            var idx = 0;

            // Determines whether the current page was launched as a pinned site.
            if (window.external.msIsSiteMode()) {

                idx = this.currIndex++;
                this.currIndex = (this.currIndex &lt; 5) ? this.currIndex : 0;

                this.dispOverlay(this.dataBin[idx]);

            }

}</pre>
<p>As you can see, it uses the running counter var <em>currIndex</em> to determine which array element to grab and then passes the data to <em>dispOverlay()</em>. This is where we use <em>window.external.msSiteModeClearIconOverlay()</em> to clear out any previously displayed overlay icons and also generate a string for the actual icon name. You can see that the oImg var is created on the fly based on the data we&#8217;re using. </p>
<pre class="brush: jscript; title: ; notranslate">dispOverlay: function (theData) {

            var oImg = &quot;&quot;;

            // Is there any data?
            if (theData) {

                // Clear any preexisting overlay icon
                window.external.msSiteModeClearIconOverlay();

                // Create the image string...
                oImg = &quot;images/num_&quot; + theData.num + &quot;.ico&quot;;

                // Go ahead and create the overlay image and it's label...
                this.setOverlay(oImg, theData.label);

            }

}</pre>
<p>That icon name, along with the accessible label text for the icon, is passed to <em>setOverlay()</em> which sets the overlay icon via <em>window.external.msSiteModeSetIconOverlay</em> and flashes the taskbar icon using <em>window.external.msSiteModeActivate</em>.</p>
<pre class="brush: jscript; title: ; notranslate">setOverlay: function (icon, desc) {

            // Sets the overlay icons...
            window.external.msSiteModeSetIconOverlay(icon, desc);
            window.external.msSiteModeActivate();

}</pre>
<h2>Test it Out</h2>
<p>To test this out, it&#8217;s a simple matter of running your newly pinned page in Internet Explorer 9, grabbing the tab and dragging it down to your taskbar:</p>
<p><img src="http://blog.reybango.com/wp-content/uploads/2011/10/dragged-and-pinned.png" alt="" title="dragged-and-pinned" width="576" height="151" class="alignleft size-full wp-image-1731" /><br />
<em>Tab being dragged to the taskbar</em></p>
<p><img src="http://blog.reybango.com/wp-content/uploads/2011/10/pinned.png" alt="" title="pinned" width="533" height="151" class="alignleft size-full wp-image-1712" /><br />
<em>Pinned site with no overlay icon</em></p>
<p>Five seconds after the page has been pinned, the code will fire off the first notification and continue to cycle through the other icons every subsequent five seconds. </p>
<p><img src="http://blog.reybango.com/wp-content/uploads/2011/10/overlay-icon.png" alt="" title="overlay-icon" width="533" height="150" class="alignleft size-full wp-image-1710" /><br />
<em>Pinned site with overlay icon</em></p>
<p>An important thing to remember is that the <a href="http://msdn.microsoft.com/en-us/library/gg589512(v=VS.85).aspx">IE F12 Developer tools</a> are available to you to use in debugging your pinned site. So if you run into quirks, simply press the F12 key and the tools will appear.</p>
<p><a href="http://blog.reybango.com/wp-content/uploads/2011/10/ietools.png"><img src="http://blog.reybango.com/wp-content/uploads/2011/10/ietools-300x225.png" alt="" title="ietools" width="300" height="225" class="alignleft size-medium wp-image-1736" /></a></p>
<h2>The Demo and Final Code</h2>
<p>You can check out the demo I whipped up by going here in IE9:</p>
<p><a href="http://reybango.com/demos/sitepinning/index.html">http://reybango.com/demos/sitepinning/index.html</a></p>
<p>When the page renders, drag the tab down to your taskbar and pin it. You should see a new windows appear with your newly pinned site. Five seconds later, you&#8217;ll see the first overlay icon appear in the taskbar.</p>
<p>Here&#8217;s the full source code. You can also <a href="http://reybango.com/demos/sitepinning/src/pinned-sites-overlay-icons.zip">download everything here</a>. The really great part is that it isn&#8217;t a lot of code to implement this. In fact, to use the API only required 4 method calls. The bulk of the code was to simulate pulling in data. And the <a href="<a href="http://windowsteamblog.com/ie/b/ie/archive/2011/02/17/economics-of-the-web-ie9-users-that-pin-huffington-post-spend-49-more-time-on-site.aspx">&#8220;>impact on user engagement</a> is certainly worth adding in the capability.</p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Pinned Site Test&lt;/title&gt;
&lt;link rel=&quot;shortcut icon&quot; type=&quot;image/ico&quot; href=&quot;favicon.ico&quot; /&gt;
&lt;meta name=&quot;application-name&quot; content=&quot;Pinned Site Test&quot; /&gt;
&lt;meta name=&quot;msapplication-starturl&quot; content=&quot;http://reybango.com/demos/sitepinning/index.html&quot; /&gt;
&lt;meta name=&quot;msapplication-navbutton-color&quot; content=&quot;#3480C0&quot; /&gt;
&lt;meta name=&quot;msapplication-window&quot; content=&quot;width=1024;height=768&quot; /&gt;
&lt;meta name=&quot;msapplication-tooltip&quot; content=&quot;Testing the Pinned Site API&quot; /&gt;
&lt;style&gt;
body {
    background: none repeat scroll 0 0 #4492CE;
    color: #EDEFF4;
}

h1 {
    float: left;
    font: 440%/1.4em 'Segoe Light',Segoe,'Segoe UI','Meiryo Regular','Meiryo',sans-serif;
    margin-left: 10px;
    position: relative;
}
&lt;/style&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;h1&gt;Pinned Site Test&lt;/h1&gt;

&lt;div&gt;&lt;/div&gt;

&lt;script&gt;

    var myPin = {

        currIndex: 0,
        dataBin: [],

        getData: function () {
            // A function that just simulates returning a result set...
            var idx = 0;

            // Determines whether the current page was launched as a pinned site.
            if (window.external.msIsSiteMode()) {

                idx = this.currIndex++;
                this.currIndex = (this.currIndex &lt; 5) ? this.currIndex : 0;

                this.dispOverlay(this.dataBin[idx]);

            }

        },

        setOverlay: function (icon, desc) {

            // Sets the overlay icons...
            window.external.msSiteModeSetIconOverlay(icon, desc);
            window.external.msSiteModeActivate();

        },

        dispOverlay: function (theData) {

            var oImg = &quot;&quot;;

            // Is there any data?
            if (theData) {

                // Clear any preexisting overlay icon
                window.external.msSiteModeClearIconOverlay();

                // Create the image string...
                oImg = &quot;images/num_&quot; + theData.num + &quot;.ico&quot;;

                // Go ahead and create the overlay image and it's label...
                this.setOverlay(oImg, theData.label);

            }

        },

        init: function (myData) {

            this.dataBin = myData;

        }

    };

    // This clears out any previously set overlay icons...
    window.external.msSiteModeClearIconOverlay();

    // Run it once to kick everything off...
    myPin.init([{ &quot;num&quot;: 1, &quot;label&quot;: &quot;Label 1&quot; },
                { &quot;num&quot;: 2, &quot;label&quot;: &quot;Label 2&quot; },
                { &quot;num&quot;: 3, &quot;label&quot;: &quot;Label 3&quot; },
                { &quot;num&quot;: 4, &quot;label&quot;: &quot;Label 4&quot; },
                { &quot;num&quot;: 5, &quot;label&quot;: &quot;Label 5&quot; }
                ]);

    // This is only here because I want to simulate pulling data on a regular interval...
    setInterval(function () { myPin.getData(); }, 5000);

&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2011/10/10/using-site-pinning-and-overlay-icons-for-enhanced-user-notifications-and-engagement/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2011/10/10/using-site-pinning-and-overlay-icons-for-enhanced-user-notifications-and-engagement/</feedburner:origLink></item>
		<item>
		<title>Being in a Coffin..Sorta.</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/5zz7-ah_ETc/</link>
		<comments>http://blog.reybango.com/2011/08/23/being-in-a-coffin-sorta/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 14:40:08 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1695</guid>
		<description><![CDATA[Since having my gall bladder removed last year, I&#8217;ve had this nagging pain in my right side rib cage area. It&#8217;s a consistent dull pain which I was told should go away a couple of months after my surgery. Well it hasn&#8217;t and after an ultrasound and an endoscopy (tube down the throat), it was [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Since having my gall bladder removed last year, I&#8217;ve had this nagging pain in my right side rib cage area. It&#8217;s a consistent dull pain which I was told should go away a couple of months after my surgery. Well it hasn&#8217;t and after an ultrasound and an endoscopy (tube down the throat), it was time to pull out the big gun. Today I had an MRI and it was not fun. </p>
<h2>The Machine</h2>
<p><a href="http://blog.reybango.com/wp-content/uploads/2011/08/mrimachine.jpg"><img src="http://blog.reybango.com/wp-content/uploads/2011/08/mrimachine-300x248.jpg" alt="" title="mrimachine" width="300" height="248" class="alignright size-medium wp-image-1696" style="float:right; margin-left:10px;" /></a>MRI stands for <strong>magnetic resonance imaging</strong> and to be honest, I don&#8217;t know how it works. I just know that it&#8217;s one of the best ways to look inside the human body without having surgery. If you&#8217;ve never had an MRI, it can be a bit of an experience. The machine is rather large and circular in shape. If you look at the picture I included, you can see what it looks like. Now you see that tiny little donut hole in the center? That&#8217;s where you go in! Yep, they stick you in that hole to be able to scan the body parts they need. At 6&#8217;4&#8243; and 235lbs, I&#8217;m a pretty big guy so being squeezed into that little orifice was, how should I say, THE SUCK!</p>
<p>As they slide you into this tube feet first, you have two choices. You can either put your hands behind you (like you&#8217;re raising both hands) or you can put them at your side. I chose the latter because it was just more comfortable, especially because I had an IV in my arm. The dude then covered my eyes with a small towel and slapped some headphones on my ears so I could listen to music. As I&#8217;m being pushed in, I could see slightly from under the towel and that&#8217;s when it hit me that I was INSIDE THIS INSANELY TIGHT, SMALL TUBE WITH NO ABILITY TO MOVE!! </p>
<h2>A Coffin</h2>
<p><a href="http://blog.reybango.com/wp-content/uploads/2011/08/coffin.jpg"><img src="http://blog.reybango.com/wp-content/uploads/2011/08/coffin-300x180.jpg" alt="" title="coffin" width="300" height="180" class="alignright size-medium wp-image-1697"  style="float:right; margin-left:10px;" /></a>Now, I&#8217;m by no means claustrophobic but being in there made me feel like I was in a coffin and it was the creepiest feeling ever. For about 30 seconds, I considered asking them to pull me out but I composed myself, closed my eyes and focused on the music. From there things went fairly smoothly until about 10 minutes before the end of the procedure at which point, it started getting incredibly warm. I had an imaging device sitting on top of my chest and every time they used it, I could feel the heat on my chest. Couple that with the blankets they placed on me and I was a little more than toasty. <img src='http://blog.reybango.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<h2>The Experience</h2>
<p>Would I do this again? Hell yes! The alternative to this is to have someone cut me open and poke around. As a general rule, I try to avoid having sharp instruments opening me up so while being confined truly sucked, the alternative is far worse. Hopefully, they&#8217;ll be able to figure out what&#8217;s causing the pain and I can plan out my next steps.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2011/08/23/being-in-a-coffin-sorta/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2011/08/23/being-in-a-coffin-sorta/</feedburner:origLink></item>
		<item>
		<title>BioShock Infinite is Like “WOAH”! Check Out the Newest Gameplay Trailer.</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/9grJqcpy8Bk/</link>
		<comments>http://blog.reybango.com/2011/07/08/bioshock-infinite-is-like-woah-check-out-the-newest-gameplay-trailer/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 15:37:25 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1691</guid>
		<description><![CDATA[I just checked out the gameplay trailer for BioShock Infinite and all I can say is &#8220;WOW!&#8221;. If you&#8217;re a gamer, you&#8217;re going to want to check this out, especially if you&#8217;re a major fan of BioShock 1 &#038; 2 (like me!). Tags: GameTrailers.com, GTTV &#8211; BioShock Infinite, PC Games, PlayStation 3, Xbox 360 No [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I just checked out the gameplay trailer for BioShock Infinite and all I can say is &#8220;WOW!&#8221;. If you&#8217;re a gamer, you&#8217;re going to want to check this out, especially if you&#8217;re a major fan of BioShock 1 &#038; 2 (like me!).</p>
<div style="background-color:#000000;width:520px;">
<div style="padding:4px;"><embed src="http://media.mtvnservices.com/mgid:moses:episode:gametrailers.com:124" width="512" height="288" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" base="." flashVars=""></embed>
<p style="text-align:left;background-color:#FFFFFF;padding:4px;margin-top:4px;margin-bottom:0px;font-family:Arial, Helvetica, sans-serif;font-size:12px;">Tags: <a href='http://www.gametrailers.com'>GameTrailers.com</a>, <a href="http://www.gametrailers.com/episode/gametrailers-tv/124">GTTV &#8211; BioShock Infinite</a>, <a href='http://pc.gametrailers.com/'>PC Games</a>, <a href='http://ps3.gametrailers.com/'>PlayStation 3</a>, <a href='http://xbox360.gametrailers.com/'>Xbox 360</a></p>
</div>
</div>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2011/07/08/bioshock-infinite-is-like-woah-check-out-the-newest-gameplay-trailer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2011/07/08/bioshock-infinite-is-like-woah-check-out-the-newest-gameplay-trailer/</feedburner:origLink></item>
		<item>
		<title>Which Online Backup Service Should I Use?</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/T46pusA9HTA/</link>
		<comments>http://blog.reybango.com/2011/04/27/which-online-backup-service-should-i-use/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 19:18:37 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1685</guid>
		<description><![CDATA[I already do backups locally but I really would like to consider a cloud-based backup service. So I wanted to reach out to the community to see who is using what and what&#8217;s been really good to work with. Normally I&#8217;d put this on Twitter but organizing all of the feedback, along with regular tweets, [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I already do backups locally but I really would like to consider a cloud-based backup service. So I wanted to reach out to the community to see who is using what and what&#8217;s been really good to work with. Normally I&#8217;d put this on Twitter but organizing all of the feedback, along with regular tweets, becomes a bit crazy and the comments are better for future reference.</p>
<p>So which online backup services should I consider?</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2011/04/27/which-online-backup-service-should-i-use/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2011/04/27/which-online-backup-service-should-i-use/</feedburner:origLink></item>
		<item>
		<title>MIX11 Interviews: Mike Taylor, Robert Nyman, Andrew Duthie, and John Bristowe</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/MMQ_tB2MmT8/</link>
		<comments>http://blog.reybango.com/2011/04/14/mix11-interviews-mike-taylor-robert-nyman-andrew-duthie-and-john-bristowe/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 22:30:38 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1680</guid>
		<description><![CDATA[#ms_mix11_w Related posts: MIX11 Interviews: The appendTo Team Had a chance to meetup with Mike Hostetler &#038; MS... MIX11: So long MIX, Can&#8217;t Wait to See You Next Year Today&#8217;s the last day of MIX11 and it was clearly... MIX11 Day 1 Recap: IE10 &#038; HTML5 Day 1 at MIX11 was awesome. The vibe was [...]
Related posts:<ol>
<li><a href='http://blog.reybango.com/2011/04/12/mix11-interviews-the-appendto-team/' rel='bookmark' title='MIX11 Interviews: The appendTo Team'>MIX11 Interviews: The appendTo Team</a> <small>Had a chance to meetup with Mike Hostetler &#038; MS...</small></li>
<li><a href='http://blog.reybango.com/2011/04/14/mix11-so-long-mix-cant-wait-to-see-you-next-year/' rel='bookmark' title='MIX11: So long MIX, Can&#8217;t Wait to See You Next Year'>MIX11: So long MIX, Can&#8217;t Wait to See You Next Year</a> <small>Today&#8217;s the last day of MIX11 and it was clearly...</small></li>
<li><a href='http://blog.reybango.com/2011/04/13/mix11-day-1-recap-ie10-html5/' rel='bookmark' title='MIX11 Day 1 Recap: IE10 &amp; HTML5'>MIX11 Day 1 Recap: IE10 &#038; HTML5</a> <small>Day 1 at MIX11 was awesome. The vibe was excitely...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/lYjZVhYf4vo" frameborder="0" allowfullscreen></iframe></p>
<p>#ms_mix11_w</p>
<p>Related posts:<ol>
<li><a href='http://blog.reybango.com/2011/04/12/mix11-interviews-the-appendto-team/' rel='bookmark' title='MIX11 Interviews: The appendTo Team'>MIX11 Interviews: The appendTo Team</a> <small>Had a chance to meetup with Mike Hostetler &#038; MS...</small></li>
<li><a href='http://blog.reybango.com/2011/04/14/mix11-so-long-mix-cant-wait-to-see-you-next-year/' rel='bookmark' title='MIX11: So long MIX, Can&#8217;t Wait to See You Next Year'>MIX11: So long MIX, Can&#8217;t Wait to See You Next Year</a> <small>Today&#8217;s the last day of MIX11 and it was clearly...</small></li>
<li><a href='http://blog.reybango.com/2011/04/13/mix11-day-1-recap-ie10-html5/' rel='bookmark' title='MIX11 Day 1 Recap: IE10 &amp; HTML5'>MIX11 Day 1 Recap: IE10 &#038; HTML5</a> <small>Day 1 at MIX11 was awesome. The vibe was excitely...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2011/04/14/mix11-interviews-mike-taylor-robert-nyman-andrew-duthie-and-john-bristowe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2011/04/14/mix11-interviews-mike-taylor-robert-nyman-andrew-duthie-and-john-bristowe/</feedburner:origLink></item>
		<item>
		<title>MIX11: So long MIX, Can’t Wait to See You Next Year</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/r0itZcsGcdU/</link>
		<comments>http://blog.reybango.com/2011/04/14/mix11-so-long-mix-cant-wait-to-see-you-next-year/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 21:03:05 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1665</guid>
		<description><![CDATA[Today&#8217;s the last day of MIX11 and it was clearly evident. The rooms weren&#8217;t nearly as full as the first two days but there were still plenty of folks and great sessions going on. I gave my session on HTML5 polyfills and shims. Feedback seemed really good so I&#8217;m happy to have had the opportunity [...]
Related posts:<ol>
<li><a href='http://blog.reybango.com/2011/04/13/mix11-day-1-recap-ie10-html5/' rel='bookmark' title='MIX11 Day 1 Recap: IE10 &amp; HTML5'>MIX11 Day 1 Recap: IE10 &#038; HTML5</a> <small>Day 1 at MIX11 was awesome. The vibe was excitely...</small></li>
<li><a href='http://blog.reybango.com/2011/04/12/mix11-interviews-the-appendto-team/' rel='bookmark' title='MIX11 Interviews: The appendTo Team'>MIX11 Interviews: The appendTo Team</a> <small>Had a chance to meetup with Mike Hostetler &#038; MS...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.reybango.com/wp-content/uploads/2011/04/mix-badge.jpg"><img src="http://blog.reybango.com/wp-content/uploads/2011/04/mix-badge.jpg" alt="" title="mix-badge" width="200" height="266" class="alignright size-full wp-image-1670" style="float:right;margin-left:5px;" /></a>Today&#8217;s the last day of MIX11 and it was clearly evident. The rooms weren&#8217;t nearly as full as the first two days but there were still plenty of folks and great sessions going on. I gave my session on HTML5 polyfills and shims. Feedback seemed really good so I&#8217;m happy to have had the opportunity to present and want to thank Giorgo Sardo for entrusting me with such an important topic. Some of the feedback:</p>
<blockquote><p>Attending a cool session by @ReyBango on HTML5 Polyfills and Shims #MIX11 by <a href="http://twitter.com/#!/anotherlab/statuses/58588516875108352">@anotherlab</a> </p></blockquote>
<blockquote><p>@reybango Really enjoyed your talk. Cleared up some questions I had. Great job. by <a href="http://twitter.com/#!/FwdAnimation/statuses/58594115146878976">@FwdAnimation</a></p></blockquote>
<blockquote><p>Thanks to @reybango for a good session on #HTML5 polyfills! #MIX11 by <a href="http://twitter.com/#!/jimfields3/statuses/58598670655950848">@jimfields3</a></p></blockquote>
<p>It&#8217;s always great to get good feedback and I&#8217;m grateful to those that attended and came away with something great from my talk. I was especially impressed by the number of developers who said they were actively using HTML5 and CSS3. It reinforces the need for this type of presentation so that developer can continue to push forward while not leaving their customers, who may not be able to use the latest greatest browser, twiddling their thumbs.</p>
<p>From here I fly off to San Francisco for the jQuery Conference where I&#8217;ll give my talk again before heading home. Good times!</p>
<p>#ms_mix11_w</p>
<p>Related posts:<ol>
<li><a href='http://blog.reybango.com/2011/04/13/mix11-day-1-recap-ie10-html5/' rel='bookmark' title='MIX11 Day 1 Recap: IE10 &amp; HTML5'>MIX11 Day 1 Recap: IE10 &#038; HTML5</a> <small>Day 1 at MIX11 was awesome. The vibe was excitely...</small></li>
<li><a href='http://blog.reybango.com/2011/04/12/mix11-interviews-the-appendto-team/' rel='bookmark' title='MIX11 Interviews: The appendTo Team'>MIX11 Interviews: The appendTo Team</a> <small>Had a chance to meetup with Mike Hostetler &#038; MS...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2011/04/14/mix11-so-long-mix-cant-wait-to-see-you-next-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2011/04/14/mix11-so-long-mix-cant-wait-to-see-you-next-year/</feedburner:origLink></item>
		<item>
		<title>MIX11 Day 1 Recap: IE10 &amp; HTML5</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/lVGLPloTAgg/</link>
		<comments>http://blog.reybango.com/2011/04/13/mix11-day-1-recap-ie10-html5/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 16:41:56 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1659</guid>
		<description><![CDATA[Day 1 at MIX11 was awesome. The vibe was excitely what I expected: awesome and exciting. And the keynte kicked it off with the big news that the next version of Internet Explorer is already in progress and that IE10 Platform Preview 1 is ready for download. Since the launch of IE9, the concern that [...]
Related posts:<ol>
<li><a href='http://blog.reybango.com/2011/03/22/my-visual-studio-2010-html5-templates-are-updated-for-jquery-1-5-1-and-modernizr-1-7/' rel='bookmark' title='My Visual Studio 2010 HTML5 Templates are Updated for jQuery 1.5.1 and Modernizr 1.7'>My Visual Studio 2010 HTML5 Templates are Updated for jQuery 1.5.1 and Modernizr 1.7</a> <small>I wanted to do a refresh of the Visual Studio...</small></li>
<li><a href='http://blog.reybango.com/2011/04/12/mix11-interviews-the-appendto-team/' rel='bookmark' title='MIX11 Interviews: The appendTo Team'>MIX11 Interviews: The appendTo Team</a> <small>Had a chance to meetup with Mike Hostetler &#038; MS...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.reybango.com/wp-content/uploads/2011/04/mix.jpg" alt="" title="mix" width="200" height="266" class="alignleft size-full wp-image-1661" style="float:right;margin-right:5px;"/>Day 1 at MIX11 was awesome. The vibe was excitely what I expected: awesome and exciting. And the keynte kicked it off with the big news that the next version of Internet Explorer is already in progress and that <a href="http://ie.microsoft.com/testdrive/Info/Downloads/Default.html">IE10<br />
Platform Preview 1 is ready for download</a>. Since the launch of IE9, the concern that I&#8217;ve consistently heard from developers is that they expected to wait another 2 years before a new release of Microsoft&#8217;s browser. From the tweets I saw yesterday, it seemed like there was a collective sigh of relief to know that a new version is under way and that there&#8217;s something to play with right now. Couple that with the list of IE10 features announced like CSS3 3D Transforms &#038; Transitions, Flexbox, and ES5 Strict Mode (and more), and I genuinely feel that developers are excited to see the great progress being made by the IE team. Shoot, even Douglas Crockford is happy! He&#8217;s at MIX and I made sure to ask what he thought and he mentioned that the addition of ES5 Strict Mode made him VERY happy&#8230;and WE WANT CROCKFORD HAPPY!! <img src='http://blog.reybango.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Another really cool announcement during the keynote was that <a href="http://modernizr.com">Modernizr</a> will be shipped with the ASP.NET MVC 3 Tools update. The importance of this can&#8217;t be understated. Microsoft has millions of developers building web applications using their tools and the fact that Modernizr will be shipped in Microsoft tooling is a HUGE validation to the work done by the Modernizr team as well as the importance of HTML5 to the future of web applications.</p>
<p>HTML5 is a hot topic with a ton of sessions focusing on the specification. I&#8217;ll be presenting on HTML5 polyfills and shims tomorrow to show developers how to leverage HTML5 while still supporting sites in non-modern browsers. It&#8217;s incredibly exciting (and intimidating) to be presenting to such a large group of developer so wish me luck!!</p>
<p>Interestingly, I kept hearing people mention the <a href="http://knockoutjs.com/">Knockout.js MVC/MVVM Framework</a> for managing your code organization and providing data-binding. I hadn&#8217;t heard of it so I&#8217;m definitely going to have to check it out.</p>
<p>More to come later&#8230;.</p>
<p>#ms_mix11_w</p>
<p>Related posts:<ol>
<li><a href='http://blog.reybango.com/2011/03/22/my-visual-studio-2010-html5-templates-are-updated-for-jquery-1-5-1-and-modernizr-1-7/' rel='bookmark' title='My Visual Studio 2010 HTML5 Templates are Updated for jQuery 1.5.1 and Modernizr 1.7'>My Visual Studio 2010 HTML5 Templates are Updated for jQuery 1.5.1 and Modernizr 1.7</a> <small>I wanted to do a refresh of the Visual Studio...</small></li>
<li><a href='http://blog.reybango.com/2011/04/12/mix11-interviews-the-appendto-team/' rel='bookmark' title='MIX11 Interviews: The appendTo Team'>MIX11 Interviews: The appendTo Team</a> <small>Had a chance to meetup with Mike Hostetler &#038; MS...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2011/04/13/mix11-day-1-recap-ie10-html5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2011/04/13/mix11-day-1-recap-ie10-html5/</feedburner:origLink></item>
		<item>
		<title>MIX11 Interviews: The appendTo Team</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/Duj3FE3kXPw/</link>
		<comments>http://blog.reybango.com/2011/04/12/mix11-interviews-the-appendto-team/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 16:04:07 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1655</guid>
		<description><![CDATA[Had a chance to meetup with Mike Hostetler &#038; MS MVP Elijah Manor of appendTo at Microsoft MIX 2011 ad we chatted about their new framework, Amplify. Check out the inteview: #ms_mix11_w No related posts. Related posts brought to you by Yet Another Related Posts Plugin.
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Had a chance to meetup with <a href="http://twitter.com/#!/mikehostetler">Mike Hostetler</a> &#038; MS MVP <a href="http://twitter.com/#!/elijahmanor">Elijah Manor</a> of <a href="http://appendto.com">appendTo</a> at Microsoft MIX 2011 ad we chatted about their new framework, Amplify. Check out the inteview:</p>
<p><iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/XCHwrqnHxFM" frameborder="0" allowfullscreen></iframe></p>
<p> #ms_mix11_w</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2011/04/12/mix11-interviews-the-appendto-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2011/04/12/mix11-interviews-the-appendto-team/</feedburner:origLink></item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->

