<?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>DLBATES.COM &#187; Google</title>
	<atom:link href="http://dlbates.com/Post/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://dlbates.com</link>
	<description>The life and times of David Bates, Programmer, Graphic Designer, Webmaster, Handyman, Logical Thinker, Husband, Father, and an INTP. Just sit back and take it in one post at a time.</description>
	<lastBuildDate>Mon, 06 Feb 2012 05:08:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>My father in law (who lives with us) would love nothing more than to have a Dodge Ram 1500. He sa&#8230;</title>
		<link>http://dlbates.com/Post/my-father-in-law-who-lives-with-us-would-love-nothing-more-than-to-have-a-dodge-ram-1500-he-sa/</link>
		<comments>http://dlbates.com/Post/my-father-in-law-who-lives-with-us-would-love-nothing-more-than-to-have-a-dodge-ram-1500-he-sa/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 05:08:07 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[Life Stories]]></category>
		<category><![CDATA[American Flag]]></category>
		<category><![CDATA[Army Jacket]]></category>
		<category><![CDATA[Chrysler]]></category>
		<category><![CDATA[Computer System]]></category>
		<category><![CDATA[Daimler Chrysler]]></category>
		<category><![CDATA[David Bates]]></category>
		<category><![CDATA[Dodge]]></category>
		<category><![CDATA[Dodge 1500]]></category>
		<category><![CDATA[Dodge Ram 1500]]></category>
		<category><![CDATA[Genuine Interest]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Love]]></category>
		<category><![CDATA[Patriotic]]></category>
		<category><![CDATA[Prayer]]></category>
		<category><![CDATA[Pt Cruiser]]></category>
		<category><![CDATA[Success]]></category>
		<category><![CDATA[Successes]]></category>
		<category><![CDATA[Vietnam Vet]]></category>
		<category><![CDATA[Vietnam War]]></category>
		<category><![CDATA[War Vet]]></category>

		<guid isPermaLink="false">http://dlbates.com/Post/my-father-in-law-who-lives-with-us-would-love-nothing-more-than-to-have-a-dodge-ram-1500-he-sa/</guid>
		<description><![CDATA[My father in law (who lives with us) would love nothing more than to have a Dodge Ram 1500. He says the entire thing at once&#8230; &#34;I want a Dodge [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://images0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&amp;gadget=a&amp;resize_h=100&amp;url=https%3A%2F%2Fytimg.googleusercontent.com%2Fvi%2F_PE5V4Uzobc%2Fhqdefault.jpg"><br />
My father in law (who lives with us) would love nothing more than to have a Dodge Ram 1500. He says the entire thing at once&#8230; &quot;I want a Dodge Ram fifteen-hundred&quot;. This commercial made his day. It also made mine as we saw it together and he said something remarkable that resonated with me enough to share. </p>
<p>He is a vietnam war vet and he wears his army jacket every-were, He sleeps with a quilt that looks like the american flag and say&#39;s a prayer over every meal. He is a true american in my eyes. I can only wish to be as patriotic as he is. </p>
<p>He said after the commercial, that is why you buy from american companies. They have a genuine interest in the success of our country. They share our successes and our failures and we theirs. </p>
<p>If you think about the history of Daimler Chrysler you can notice a pattern. </p>
<p>Buy American, or American Made.<br />David Bates &#8211; Owner of a PT Cruiser deemed the most unique car in america that is now worth as much as my computer system <img src='http://dlbates.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>iftttb<br/><br/><a href='http://www.youtube.com/v/_PE5V4Uzobc&#038;hl=en&#038;fs=1&#038;autoplay=1'><img border='0' src='http://images0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&#038;gadget=a&#038;resize_h=100&#038;url=https%3A%2F%2Fytimg.googleusercontent.com%2Fvi%2F_PE5V4Uzobc%2Fhqdefault.jpg'/></a><br/></p>
<p><a href="https://plus.google.com/107484909352123357422/posts/LuvSUKxnw3t" target="_Blank">You could have seen it first on Google +</a></p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/my-father-in-law-who-lives-with-us-would-love-nothing-more-than-to-have-a-dodge-ram-1500-he-sa/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/my-father-in-law-who-lives-with-us-would-love-nothing-more-than-to-have-a-dodge-ram-1500-he-sa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I just got back from the doctors office</title>
		<link>http://dlbates.com/Post/i-just-got-back-from-the-doctors-office-and-they-said-my-knee-is-now-realigning-itself-which-is/</link>
		<comments>http://dlbates.com/Post/i-just-got-back-from-the-doctors-office-and-they-said-my-knee-is-now-realigning-itself-which-is/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 21:10:07 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[Life Stories]]></category>
		<category><![CDATA[Braces]]></category>
		<category><![CDATA[Doctors Office]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Knee Brace]]></category>
		<category><![CDATA[Reason]]></category>
		<category><![CDATA[Sexy]]></category>

		<guid isPermaLink="false">http://dlbates.com/Post/i-just-got-back-from-the-doctors-office-and-they-said-my-knee-is-now-realigning-itself-which-is/</guid>
		<description><![CDATA[I just got back from the doctors office. And they said my knee is now realigning itself. Which is the reason I&#8217;m in a ton of pain. Now I have [...]]]></description>
			<content:encoded><![CDATA[<p>I just got back from the doctors office. And they said my knee is now realigning itself. Which is the reason I&#8217;m in a ton of pain. Now I have to wear this sexy knee brace. But I&#8217;m rocking it like a 13-year-old would braces. <img src='http://dlbates.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <br /><br/><br/><img src='https://lh5.googleusercontent.com/-ohrPTydetsE/TyhWU3lJZ3I/AAAAAAAAB0s/u-DjuwqJvYg/s0-d/12%2B-%2B1'/><img src='https://lh5.googleusercontent.com/-xpQk4pfuKis/TyhWVJlIh_I/AAAAAAAAB0w/EzPU0nsZ4Po/s0-d/12%2B-%2B2'/><br/></p>
<p><a href="https://plus.google.com/107484909352123357422/posts/DeFK2K2tieY" target="_Blank">You could have seen it first on Google +</a></p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/i-just-got-back-from-the-doctors-office-and-they-said-my-knee-is-now-realigning-itself-which-is/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/i-just-got-back-from-the-doctors-office-and-they-said-my-knee-is-now-realigning-itself-which-is/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My http://IFTTT.com recipes</title>
		<link>http://dlbates.com/Post/ifttt-recipe/</link>
		<comments>http://dlbates.com/Post/ifttt-recipe/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 18:08:39 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[All Post]]></category>
		<category><![CDATA[Life Stories]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Internet Work]]></category>
		<category><![CDATA[Post Pictures]]></category>
		<category><![CDATA[Recipes]]></category>
		<category><![CDATA[Satisfaction]]></category>
		<category><![CDATA[Shares]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Url]]></category>
		<category><![CDATA[Wordpress Blog]]></category>

		<guid isPermaLink="false">http://dlbates.com/Post/my-httpifttt-com-recipes-1-google-to-twitter-takes-the-short-title-of-the-post-and-the-url/</guid>
		<description><![CDATA[My http://IFTTT.com recipes 1. +Google+ to Twitter: Takes the short title of the post and the url and post to Twitter. http://ifttt.com/recipes/18784 2. +Google+ to FaceBook: Shares the URL of [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://IFTTT.com" >http://IFTTT.com</a> recipes</p>
<p>1. <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a href="https://plus.google.com/101560853443212199687" class="proflink" oid="101560853443212199687">Google+</a></span>  to Twitter: Takes the short title of the post and the url and post to Twitter. <br /><a href="http://ifttt.com/recipes/18784" >http://ifttt.com/recipes/18784</a></p>
<p>2. <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a href="https://plus.google.com/101560853443212199687" class="proflink" oid="101560853443212199687">Google+</a></span>  to FaceBook: Shares the URL of the post (FaceBook will auto-generate the title and description) with the comment &quot;My Latest G+ Post:&quot;)<br /><a href="http://ifttt.com/recipes/19024" >http://ifttt.com/recipes/19024</a></p>
<p>3. <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a href="https://plus.google.com/101560853443212199687" class="proflink" oid="101560853443212199687">Google+</a></span>  to Linked In: Shares the URL of the post (Linked In will auto-generate the title and description) with the comment &quot;My Latest G+ Post:&quot;)<br /><a href="http://ifttt.com/recipes/19023" >http://ifttt.com/recipes/19023</a></p>
<p>4. <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a href="https://plus.google.com/101560853443212199687" class="proflink" oid="101560853443212199687">Google+</a></span> to WordPress Blog: Shares the full content of the G+ post with the tag &quot;iftttb&quot; in the body of a post on the blog (with pictures) You should edit the post in wordpress to your satisfaction. <br /><a href="http://ifttt.com/recipes/19025" >http://ifttt.com/recipes/19025</a><br />I hope you find these useful. <br />David <br /><br/><a href='http://IFTTT.com'>ifttt / Put the internet to work for you.</a><br/>Put the internet to work for you.<br/></p>
<p><a href="https://plus.google.com/107484909352123357422/posts/Qb6cXtKUSRy" target="_Blank">You could have seen it first on Google +</a></p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/ifttt-recipe/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/ifttt-recipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If your not using If This Then That, you should</title>
		<link>http://dlbates.com/Post/ifthisthenthat/</link>
		<comments>http://dlbates.com/Post/ifthisthenthat/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 05:52:38 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[Life Stories]]></category>
		<category><![CDATA[Backend]]></category>
		<category><![CDATA[Big Gaping Holes]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Friends And Family]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Recipes]]></category>
		<category><![CDATA[Shares]]></category>
		<category><![CDATA[Short Description]]></category>
		<category><![CDATA[Social Accounts]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[Url]]></category>

		<guid isPermaLink="false">http://dlbates.com/Post/if-your-not-using-if-this-then-that-you-should-if-this-then-that-is-a-set-of-webapis-that-allow/</guid>
		<description><![CDATA[If your not using If This Then That, you should If This Then That is a set of webapi&#39;s that allows you to interlink accounts with actions. http://ifttt.com Why I [...]]]></description>
			<content:encoded><![CDATA[<p><b>If your not using If This Then That, you should</b></p>
<p>If This Then That is a set of webapi&#39;s that allows you to interlink accounts with actions. <a href="http://ifttt.com" >http://ifttt.com</a> </p>
<p><b>Why I Use IFTTT</b> <br />I use ifttt in order to broadcast my message from G+ to my other social accounts. Recently I have decided that G+ will be my platform of choice for originating my content but I have felt like I just abandoned my friends and family on facebook, twitter, my blog, and IN. I didn&#39;t want to do that so I have been posting things in several areas which ment I didn&#39;t get it right all the time and left several big gaping holes in content that I sent out to my friends. This is where ifttt came to the rescue. </p>
<p><b>How I Use IFTTT</b><br />The first step is to get an RSS feed of your Google + account. I use <a href="http://gplus-to-rss.appspot.com/" >http://gplus-to-rss.appspot.com/</a> all you have to do is enter your G+ user id into a field and it pulls back an RSS feed of your latest post. </p>
<p><i>don&#39;t know how to get your G+ ID?</i> <a href="http://ansonalex.com/google-plus/how-do-i-find-my-google-plus-user-id-google/" >http://ansonalex.com/google-plus/how-do-i-find-my-google-plus-user-id-google/</a></p>
<p>Next you can either use predefined recipes or create your own custom task. <br />I chose to create my own as I wanted full control of the message being delivered. </p>
<p>The four action I have are: </p>
<p>G+ to Twitter: This action takes an abbreviated portion of any post in my feed and shares it plus a link to the full post on twitter. </p>
<p>G+ to FaceBook: This action takes the URL of the latest post and simply adds the message &quot;My Latest G+ Post&quot; on it. This behaves just like sharing a link on FaceBook, it will fill in the short description and url. </p>
<p>G+ to Linked In: this works the same as the FaceBook feed but with Linked In</p>
<p>G+ to my Blog: This is probably the most tricky one. I use wordpress as the backend to <a href="http://dlbates.com/blog/" >http://dlbates.com/blog/</a> so I wanted any google plus content that I tag with iftttb to post to my blog. For this I told IFTTT to search through my RSS information and if it contains the tag then post the content to my blog with a custom title and tag. </p>
<p>One more thing to mention is that if you do this like I have done you may want to disconnect the interlinking you may have setup through twitter and linked in or you will have duplicate post. </p>
<p>Enjoy<br /><i>David</i><br/><br/><a href='http://ifttt.com'>ifttt / Put the internet to work for you.</a><br/>Put the internet to work for you.<br/></p>
<p><a href="https://plus.google.com/107484909352123357422/posts/Kmzo3JsLjJc" target="_Blank">You could have seen it first on Google +</a></p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/ifthisthenthat/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/ifthisthenthat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Best Mountain Dew Advertisement Ever in my opinion</title>
		<link>http://dlbates.com/Post/the-best-mountain-dew-advertisement-ever-in-my-opinion-yesterday-was-so-nice-outside-we-decided-t/</link>
		<comments>http://dlbates.com/Post/the-best-mountain-dew-advertisement-ever-in-my-opinion-yesterday-was-so-nice-outside-we-decided-t/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 05:03:26 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[Life Stories]]></category>
		<category><![CDATA[Advertisement]]></category>
		<category><![CDATA[Ayana]]></category>
		<category><![CDATA[Best Mountain]]></category>
		<category><![CDATA[Fresh Air]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Last Friday]]></category>
		<category><![CDATA[Mountain Dew]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Snap]]></category>
		<category><![CDATA[Steam]]></category>

		<guid isPermaLink="false">http://dlbates.com/Post/the-best-mountain-dew-advertisement-ever-in-my-opinion-yesterday-was-so-nice-outside-we-decided-t/</guid>
		<description><![CDATA[The Best Mountain Dew Advertisement Ever in my opinion yesterday was so nice outside we decided to let the kids burn off some steam. Daniel&#39;s friend Ayana (Yawny) decided to [...]]]></description>
			<content:encoded><![CDATA[<p><b>The Best Mountain Dew Advertisement Ever</b> <i>in my opinion</i></p>
<p>yesterday was so nice outside we decided to let the kids burn off some steam. Daniel&#39;s friend Ayana (Yawny) decided to join in on the fun as well. I decided to snap a few photos while I was out there. It was good for me to get some fresh air as well since I have been cooped up in the house since last Friday. </p>
<p>Hope you enjoy your weekend!<br /><i>David</i><br /><br/><img src='https://lh3.googleusercontent.com/-DBVWBP6mu40/TyQpVOYSxtI/AAAAAAAABzU/ok1L8vOVxe4/s0-d/IMAG0130.jpg' width="150"/><img src='https://lh4.googleusercontent.com/-RoBLr3YlNVU/TyQpbDlrHzI/AAAAAAAABzs/9Q1BWH_PR-c/s0-d/IMAG0133.jpg'/ width="150"><img src='https://lh4.googleusercontent.com/-BvbUUv12Ino/TyQpZMljxqI/AAAAAAAABzk/DST5azLMINk/s0-d/IMAG0132.jpg' width="150"/><img src='https://lh6.googleusercontent.com/-Y0ajYrtSVlk/TyQpXkZLIXI/AAAAAAAABzc/PEAYWNmNXw4/s0-d/IMAG0131.jpg' width="150"/><br/></p>
<p><a href="https://plus.google.com/107484909352123357422/posts/QrB4ibt4HG5" target="_Blank">You could have seen it first on Google +</a> </p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/the-best-mountain-dew-advertisement-ever-in-my-opinion-yesterday-was-so-nice-outside-we-decided-t/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/the-best-mountain-dew-advertisement-ever-in-my-opinion-yesterday-was-so-nice-outside-we-decided-t/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a lightbox using JQuery UI Dialog</title>
		<link>http://dlbates.com/Post/creating-a-lightbox-using-jquery-ui-dialog/</link>
		<comments>http://dlbates.com/Post/creating-a-lightbox-using-jquery-ui-dialog/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 02:58:09 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[All Post]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Cdn]]></category>
		<category><![CDATA[Combination Of The Two]]></category>
		<category><![CDATA[Content Area]]></category>
		<category><![CDATA[Darkness]]></category>
		<category><![CDATA[Div]]></category>
		<category><![CDATA[Element]]></category>
		<category><![CDATA[Fly]]></category>
		<category><![CDATA[Frustration]]></category>
		<category><![CDATA[Functionality]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Helper Function]]></category>
		<category><![CDATA[Js]]></category>
		<category><![CDATA[Libs]]></category>
		<category><![CDATA[Lightbox]]></category>
		<category><![CDATA[Link Href]]></category>
		<category><![CDATA[Love]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Platforms]]></category>
		<category><![CDATA[Script Type]]></category>
		<category><![CDATA[Showcase]]></category>
		<category><![CDATA[Text Javascript]]></category>
		<category><![CDATA[Thickbox]]></category>
		<category><![CDATA[Ui]]></category>

		<guid isPermaLink="false">http://dlbates.com/?p=1024</guid>
		<description><![CDATA[$(&#8220;&#8221;"#I&#8221;").Love(&#8220;&#8221;"JQuery&#8221;"); I love JQuery and I love JQuery UI even more but what I love most about the combination of the two is that they are cross browser compatible, delivered [...]]]></description>
			<content:encoded><![CDATA[<h2 align="center">$(&#8220;&#8221;"#I&#8221;").Love(&#8220;&#8221;"JQuery&#8221;");</h2>
<p>I love JQuery and I love JQuery UI even more but what I love most about the combination of the two is that they are cross browser compatible, delivered over a CDN network, and open source. This means that I can use anything I build on top of these two very powerful platforms in any website I wish, including the enterprise ones. </p>
<p>I was recently tasked with building a lightbox element that would allow me to showcase Vimeo videos (or any other content) in a cross browser CDN enabled way. At first I scoured the web looking for the best jquery lightbox plugin. I tried fancybox, shadowbox, thickbox, slimbox, facebox, other younameit-box plugins but they all either catered to one type of content, failed in the cross browser arena, or had unknown or grey licensing. </p>
<p>On day two of my growing frustration a friend of mine suggested I look at JQuery UI and specifically the Dialog method. So I did and was instantly hooked, and while it didn&#8217;t provide all of the functionality you need from a lightbox it came pretty darn close. So I began hacking away until I got down to a pretty comprehensive lightbox solution for video and then wrote a little helper function to populate the content area on the fly and set the title. What follows is how to do that: </p>
<h3>Step one: includes</h3>
<p>So first you need to include JQuery and JQuery UI within your page. The easiest way to do this is use Google&#8217;s CDN by placing the following two lines in your head.<br />
<code>&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">&lt;/script><br />
&lt;script type="text/javascript" src=" https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js">&lt;/script><br />
</code><br />
You will also need to include a JQuery UI theme you can use the starter theme hosted on Google&#8217;s CDN too!<br />
<code><br />
&lt;link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/ui-darkness/jquery-ui.cs"<br />
        type="text/css" rel="Stylesheet" /><br />
</code><br />
Again that needs to be placed in your head. </p>
<h3>Step two: create a div</h3>
<p>We need to create a div that will not only hold our dialog but also most of the embed code for the video&#8217;s we will want to play.<br />
I would suggest adding this code near the footer of the page since it will load an iframe.<br />
<code><br />
&lt;div id="videoPlayerDiv"><br />
    &lt;iframe id="theVideo" src="" width="640" height="360" frameborder="0" webkitallowfullscreen="" allowfullscreen="">&lt;/iframe><br />
&lt;/div><br />
</code></p>
<h3>Step three .dialog()</h3>
<p>Now you need some JQuery magic on page load as well as creating the helper function<br />
<code>&lt;script type="text/jscript"><br />
            $(document).ready(function () {<br />
                $('#videoPlayerDiv').dialog({ autoOpen: false, modal: true, title: "RFMD Video", width: 664, resizable: false });<br />
                $("#videoPlayerDiv").bind("dialogclose", function (event, ui) {<br />
                    $('#theVideo').attr('src', '');<br />
                });</p>
<p>            });<br />
            function SetVideo(source, title) {<br />
                $('#theVideo').attr('src', source);<br />
                $('#videoPlayerDiv').dialog("option", "title", title);<br />
                $('#videoPlayerDiv').dialog('open');<br />
                $('.ui-widget-overlay').click(function () { $('#videoPlayerDiv').dialog('close'); });<br />
            };<br />
    &lt;/script></code><br />
This can go in your header or wherever you might have already put the $(document).ready clause.</p>
<h3>Final step: Call your helper function</h3>
<p>So now all you need to do is call the helper function and pass it the src url for the video and the title<br />
<code><br />
&lt;a href="#" onclick="javascript:SetVideo('http://player.vimeo.com/video/18888136?title=0&amp;byline=0&amp;portrait=0&amp;color=af0522"&amp;autoplay=1', 'Courtesy Vimeo User 1024');return false;">Video&lt;/a><br />
</code><br />
You can prolly tell I use asp.net from the javascript surrounds and return false. If you don&#8217;t use .net you don&#8217;t need this. </p>
<h3>Demo</h3>
<p><a href="http://dlbates.com/jquidialogdemo.html" title="click to open" target="_Blank">Click to open demo</a></p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/creating-a-lightbox-using-jquery-ui-dialog/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/creating-a-lightbox-using-jquery-ui-dialog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s Halloween Image is Slide-A-Riffic</title>
		<link>http://dlbates.com/Post/googles-halloween-image-is-slide-a-riffic/</link>
		<comments>http://dlbates.com/Post/googles-halloween-image-is-slide-a-riffic/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 01:18:29 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[All Post]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Thoughts On]]></category>
		<category><![CDATA[Carousel Gallery]]></category>
		<category><![CDATA[David Bates]]></category>
		<category><![CDATA[Div]]></category>
		<category><![CDATA[Ghost]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Image]]></category>
		<category><![CDATA[Halloween]]></category>
		<category><![CDATA[Halloween Image]]></category>
		<category><![CDATA[Image Thingy]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[Librarys]]></category>
		<category><![CDATA[Many Things]]></category>
		<category><![CDATA[Mechanics]]></category>
		<category><![CDATA[Overflow]]></category>
		<category><![CDATA[Principle]]></category>
		<category><![CDATA[Queues]]></category>
		<category><![CDATA[Scooby Doo]]></category>
		<category><![CDATA[Shuffling Cards]]></category>
		<category><![CDATA[Slider]]></category>
		<category><![CDATA[Transitions]]></category>

		<guid isPermaLink="false">http://dlbates.com/?p=737</guid>
		<description><![CDATA[Today Google&#8217;s choose to do a Scooby Doo Ghost-Busting theme for this halloween but I am not here to talk about the theme but rather the mechanics behind it. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dlbates.com/wp-content/uploads/2010/10/goog1.png"><img src="http://dlbates.com/wp-content/uploads/2010/10/goog1-1024x314.png" alt="Google Image #1" title="goog1" width="600"  /></a></p>
<p>Today Google&#8217;s choose to do a Scooby Doo Ghost-Busting theme for this halloween but I am not here to talk about the theme but rather the mechanics behind it.<br />
I have heard the control they choose to implement be called many things such as slider, carousel, gallery, ad-rotater, and best of all multiple image thingy-majig. However I don&#8217;t know exactly what to call it. But the principle is very simple. You line up a set of images in div&#8217;s or unordered list set the width of the first div to the size of the picture and then tell it not to overflow that div hiding the rest of the images. You then move the images based on the navigational queues to the furthest left. Kinda like shuffling cards. </p>
<p>I have seen this control used on several hundred websites and even this one. It is a great way to get multiple ideas across in an unobtrusive and pleasing way.<br />
However a few questions arise as there are so many librarys and methods to do this.<br />
What kind of library do you use to accomplish this effect, do you use a library?<br />
Do you prefer the slide or fade transitions?<br />
What should we call this control? </p>
<p>Leave answers below or tweet them to @davidbates</p>
<p>Thanks<br />
David Bates<br />

<a href='http://dlbates.com/Post/googles-halloween-image-is-slide-a-riffic/goog1/' title='goog1'><img width="150" height="150" src="http://dlbates.com/wp-content/uploads/2010/10/goog1-150x150.png" class="attachment-thumbnail" alt="Google Image #1" title="goog1" /></a>
<a href='http://dlbates.com/Post/googles-halloween-image-is-slide-a-riffic/goog2/' title='goog2'><img width="150" height="150" src="http://dlbates.com/wp-content/uploads/2010/10/goog2-150x150.png" class="attachment-thumbnail" alt="goog2" title="goog2" /></a>
<a href='http://dlbates.com/Post/googles-halloween-image-is-slide-a-riffic/goog3/' title='goog3'><img width="150" height="150" src="http://dlbates.com/wp-content/uploads/2010/10/goog3-150x150.png" class="attachment-thumbnail" alt="goog3" title="goog3" /></a>
<a href='http://dlbates.com/Post/googles-halloween-image-is-slide-a-riffic/goog4/' title='goog4'><img width="150" height="150" src="http://dlbates.com/wp-content/uploads/2010/10/goog4-150x150.png" class="attachment-thumbnail" alt="goog4" title="goog4" /></a>
<a href='http://dlbates.com/Post/googles-halloween-image-is-slide-a-riffic/goog6/' title='goog6'><img width="150" height="150" src="http://dlbates.com/wp-content/uploads/2010/10/goog6-150x150.png" class="attachment-thumbnail" alt="goog6" title="goog6" /></a>
</p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/googles-halloween-image-is-slide-a-riffic/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/googles-halloween-image-is-slide-a-riffic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flash 10.1 The Good, The Better, and The Scary</title>
		<link>http://dlbates.com/Post/flash10_1/</link>
		<comments>http://dlbates.com/Post/flash10_1/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 03:24:17 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Application Delivery]]></category>
		<category><![CDATA[Autoplay Cd]]></category>
		<category><![CDATA[Delivery Mechanism]]></category>
		<category><![CDATA[Desktop Apps]]></category>
		<category><![CDATA[Flash Player 10]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Hurry]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[Memory Errors]]></category>
		<category><![CDATA[Mobile Market]]></category>
		<category><![CDATA[Projectors]]></category>
		<category><![CDATA[Punch]]></category>
		<category><![CDATA[Security Flaws]]></category>
		<category><![CDATA[Silver Light]]></category>
		<category><![CDATA[Straight Jab]]></category>
		<category><![CDATA[Video Decoding]]></category>
		<category><![CDATA[Video Market]]></category>
		<category><![CDATA[Video Publishing]]></category>
		<category><![CDATA[Youtube]]></category>

		<guid isPermaLink="false">http://dlbates.com/?p=561</guid>
		<description><![CDATA[Today Adobe released their new version of the flash player 10.1 and I will say it was a much anticipated update for me. I love flash and have developed in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://nxadm.files.wordpress.com/2009/04/flashplayer_100x100g7z9a.jpg"><img alt="" src="http://nxadm.files.wordpress.com/2009/04/flashplayer_100x100g7z9a.jpg" title="Flash Player 10.1" class="alignnone" width="350" height="350" /></a></p>
<p>Today Adobe released their new version of the flash player 10.1 and I will say it was a much anticipated update for me. I love flash and have developed in it since it&#8217;s early day when it was another product altogether. Flash started out as a way for me to program desktop apps that looked and felt the way I wanted as I have always loved to be able to create the interface and then program it to do what I want. Since then my love of Flash has faded in and out as changes and flaws where found in the system. I almost completely wrote off flash until YouTube and Air had launched. I had been writing projectors for autoplay cd&#8217;s for years and air gave me a whole different type of application delivery mechanism. Anyway I love flash and even though I use Silverlight quite a bit, when someone needs a project completed in a hurry and want it to look custom my default is always Flash. So with that here are my thoughts on the release.</p>
<p>The Good:<br />
As you all are aware Apple recently hit Adobe below the belt saying that security flaws and memory errors. I would have expected that in Adobe&#8217;s press release they would have addressed that first. But instead they slyly take on the mobile market slating that performance and low power was their main focus. This should make Google happy as it show them that Adobe is not lying down and taking Apple&#8217;s low punch lightly.<br />
Better Hardware video decoding&#8230; they already own most of the video market. HTML is too early and silver light is just now hitting the market hard. I would have liked to have seen more about HTML 5 video and how Adobe was going to provide tools for video publishing compatible with HTML 5.<br />
Mac Specific Improvements: this is a straight jab at Jobs. I read this as here you go. You wined and we fixed it, now put us in the iPad <img src='http://dlbates.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>The Better:<br />
Mulitouch: I have been having to use third party apps to accomplish this thusfar it is great to see this come to the mainstream and is also another sideways jab at Jobs<br />
Multi-Tab memory usage: This is much improved and a much anticipated release. If you have a ton of windows open and multiple flash objects they each have their own memory space. Adobe has streamlined this now. </p>
<p>The Scary: </p>
<p>Ok this one paragraph scared the heck out of me:<br />
&#8220;Now, content that runs in Flash Player will automatically shut down when the available memory is running low.&#8221;<br />
This is scary because what if you are running a mission critical flash app and you run out of memory? They also did not state whether it was physical RAM or paged? Scary stuff. </p>
<p>Hope you enjoy<br />
David Bates</p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/flash10_1/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/flash10_1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>#BEMEDU Google Analytics March Madness Training @BEMINTERACTIVE</title>
		<link>http://dlbates.com/Post/bemedu-google-analytics-march-madness-training-beminteractive/</link>
		<comments>http://dlbates.com/Post/bemedu-google-analytics-march-madness-training-beminteractive/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 23:25:29 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[00000000]]></category>
		<category><![CDATA[Ad Campaigns]]></category>
		<category><![CDATA[Answering Questions]]></category>
		<category><![CDATA[Conversions]]></category>
		<category><![CDATA[Crowd]]></category>
		<category><![CDATA[Drive Traffic]]></category>
		<category><![CDATA[Good Foundation]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Hosting Website]]></category>
		<category><![CDATA[March Madness]]></category>
		<category><![CDATA[Market Strategy]]></category>
		<category><![CDATA[Metrics]]></category>
		<category><![CDATA[Ninja]]></category>
		<category><![CDATA[Real Time]]></category>
		<category><![CDATA[Segment]]></category>
		<category><![CDATA[Segmentation]]></category>
		<category><![CDATA[Shaffer]]></category>
		<category><![CDATA[Traffic Patterns]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://dlbates.com/?p=526</guid>
		<description><![CDATA[Today I was invited to join BEM Interactive&#8217;s March Madness Google Analytics event. It was a great overview of Google Analytics that I used as a refresher since it had [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.beminteractive.com/"><img alt="" src="http://www.beminteractive.com/images/bem_logo.gif" title="BEM Interactive" class="alignnone" width="140" height="72" /></a><a href="http://www.google.com/analytics/"><img alt="" src="http://www.google.com/images/logos/analytics_logo.gif" title="Google Analytics" class="alignnone" width="207" height="40" /></a></p>
<p>Today I was invited to join <a href="http://www.beminteractive.com/events/index.htm">BEM Interactive&#8217;s March Madness Google Analytics event.</a> It was a great overview of Google Analytics that I used as a refresher since it had been 2+ years since I had taken any real time to mess with GA. However I also come away with some high level tips from BEM&#8217;s GA Ninja <a href="http://twitter.com/OfWaterDeep">Jeremy Shaffer</a>. This guy really knows his stuff and can speak to a crowd very well&#8230; something I am still trying to master <img src='http://dlbates.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So without further adieu I would like to share you with what I took away from today. </p>
<p>1. Without a good foundation IE. hosting/website design analytics won&#8217;t do you a bit of good. Analytics are meant to help you streamline and custom tailer a site for a visitor, not fix a broken site.<br />
2. You will not magically gain traffic by installing analytics. It takes a full market strategy to drive traffic and analytics can quantify if a strategy will or has worked.<br />
3. Just running reports showing numbers will not get you anywhere. You need to be qualifying questions instead. How can analytics tell me I sold a product from this campaign for example.<br />
4. Define conversions for your site. Having traffic is cool but at what point in your site do you deem their visit valuable? Is it when they click order now? When they visit your careers page? Fill out an email sign-up sheet? define these conversions and then use analytics to quantify them.<br />
5. Quantify valuable metrics. You may have had 43,00000000 visits to your site over the last year but where did they come from and what did they do? How long did they stay? Did they bounce? (yeah that one is for <a href="http://twitter.com/OfWaterDeep">Jeremy Shaffer</a> for those of you who where there.<br />
6. Segment traffic. It is great to know what is happening with all of your visitors but when you get down to answering questions about specific ad campaigns segmentation really helps you find out about your traffic patterns and customers.<br />
7. Analytics should help you come up with solutions to problems. You can report a problem but you will really shine if you can also suggest a solution based on traffic patterns.<br />
8. Don&#8217;t get in the mindset that web based analytics cannot help quantify your traditional advertising. You can give customers unique urls or include tracking data in the url so that you know that traffic to that url is from a traditional campaign. </p>
<p>Hope this is helpful to you, if you have any other tips leave them in the comments below.<br />
David Bates</p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/bemedu-google-analytics-march-madness-training-beminteractive/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/bemedu-google-analytics-march-madness-training-beminteractive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone 7 Series</title>
		<link>http://dlbates.com/Post/windows-phone-7-series/</link>
		<comments>http://dlbates.com/Post/windows-phone-7-series/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 02:26:09 +0000</pubDate>
		<dc:creator>David Bates</dc:creator>
				<category><![CDATA[Accelerometer]]></category>
		<category><![CDATA[Contender]]></category>
		<category><![CDATA[Device Manufacturers]]></category>
		<category><![CDATA[Free Tools]]></category>
		<category><![CDATA[Gaming Platform]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Gpu]]></category>
		<category><![CDATA[Hardware Buttons]]></category>
		<category><![CDATA[Mobile Os]]></category>
		<category><![CDATA[Mobile Phones]]></category>
		<category><![CDATA[Motorola Q]]></category>
		<category><![CDATA[Multitasking]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Processors]]></category>
		<category><![CDATA[Short Answer]]></category>
		<category><![CDATA[Shrug]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Ui]]></category>
		<category><![CDATA[Windows Phone]]></category>
		<category><![CDATA[Xbox 360]]></category>

		<guid isPermaLink="false">http://dlbates.com/?p=520</guid>
		<description><![CDATA[So Windows is making a mobile operating system. Yes is the short answer, and it is brilliant but it seems up until now people never associated windows mobile with Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.windowsphone7series.com/"><img src="http://dlbates.com/wp-content/uploads/2010/03/microsoft-windows-phone-7-series.jpg" alt="" title="microsoft-windows-phone-7-series" width="530" height="298" class="alignnone size-full wp-image-522" /></a><br />
So Windows is making a mobile operating system. Yes is the short answer, and it is brilliant but it seems up until now people never associated windows mobile with Microsoft maybe it was due to Microsoft itself never hyping the OS or maybe it&#8217;s the manufacturers fault. Who knows, who cares&#8230; As the local tech person for everyone I know I have had a lot of questions that start something like &#8220;why would Microsoft try to get into the mobile os business now? Is it because both Apple and Google have one? They must be trying to copy them huh?&#8221; I just smile and say well windows has been in mobile phones for a very long time&#8230; remember the Motorola Q? They all shrug and then say &#8220;yeah but it sucked&#8221;&#8230; and I say yes that is why they put so much effort into windows phone 7 series, because they needed to to stay in the game. </p>
<p>So now that I got their attention I delve into why Windows Phone 7 Series is an OS worth having such a long name. I think they got it right. First they are requiring the device manufacturers to have certain features like touchscreen, accelerometer, and three hardware buttons along the bottom. Then they are basing the phone on an already existing platform, Silverlight and XNA both of which are highly used on the xbox 360 Microsoft&#8217;s gaming platform. Finally they are making the tools free. This is a big step for Microsoft and you can still see on the <a href="http://developer.windowsphone.com/">http://developer.windowsphone.com/</a> they still charge $99 per year for developer access to legacy SDK&#8217;s and samples. What freelance developer wants to pay that&#8230; especially when Apple and Google both have free tools (Apple is not completely free as you have to buy an Intel mac) and the phone up till now did not have powerful processors or GPU&#8217;s. Windows Phone 7 Series even goes one step further to make the software on the phone support full multitasking or as some like to call it multi-APPing. Combine that with a slick UI and sound UI standards we have a real contender on our hands. I wish this phone would be released a lot sooner than the Christmas time-frame that they currently predict. </p>
<p>Now I have downloaded the SDK and even followed the keynote given at <a href="http://live.visitmix.com/">http://live.visitmix.com/</a> to make a picture viewing app. It worked great, was easy to follow given I already knew the tools from silverlight development and fast&#8230; on my computer the emulator outperformed any picture app I ever had on my IPhone. I can&#8217;t wait to see what comes of the app store and I hope that MS takes a hint from Apple and Google and decide to make it free to publish apps but charge for advertising and take a cut of sales. If so I&#8217;m in. </p>
<p>Thanks for reading<br />
David Bates</p>
<div class="add-comments-link"><center><b><a href="http://dlbates.com/Post/windows-phone-7-series/#respond" title="Make a Comment">Make a Comment</a></b></center></div>]]></content:encoded>
			<wfw:commentRss>http://dlbates.com/Post/windows-phone-7-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

