<?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>5thGarage</title>
	<atom:link href="http://5thgarage.com.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://5thgarage.com.au</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sun, 25 Mar 2012 23:51:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Javascript check for IE</title>
		<link>http://5thgarage.com.au/2012/03/javascript-check-for-ie/</link>
		<comments>http://5thgarage.com.au/2012/03/javascript-check-for-ie/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 23:42:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://5thgarage.com.au/?p=90</guid>
		<description><![CDATA[function getInternetExplorerVersion() {     var rv = -1; // Return value assumes failure.     if (navigator.appName == 'Microsoft Internet Explorer') {         var ua = navigator.userAgent;        ...]]></description>
			<content:encoded><![CDATA[<pre>function getInternetExplorerVersion() {
    var rv = -1; // Return value assumes failure.
    if (navigator.appName == 'Microsoft Internet Explorer') {
        var ua = navigator.userAgent;
        var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
        if (re.exec(ua) != null)
            rv = parseFloat(RegExp.$1);
    }
    return rv;
}
function checkVersion(ver_req) {
    var msg = "You're not using Windows Internet Explorer.";
    var returnvalue = false;
    var ver = getInternetExplorerVersion();
    if (ver &gt; -1) {
        if (ver &lt;= ver_req)
            return true;
        else
            return false;
    }
    return msg;
}
if checkVersion(8.0)
{
    window.onload = function(){addCorners("rnd");} /* Change "rnd" to the
name of your class */
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://5thgarage.com.au/2012/03/javascript-check-for-ie/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jquery tips and tricks</title>
		<link>http://5thgarage.com.au/2011/11/jquery-tips-and-tricks/</link>
		<comments>http://5thgarage.com.au/2011/11/jquery-tips-and-tricks/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 13:00:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://5thgarage.com.au/?p=44</guid>
		<description><![CDATA[I recently found a very good article of some useful jquery tips and tricks here it is: http://www.opensourcehunter.com/2010/02/27/26-cool-and-usefull-jquery-tips-tricks-solutions/]]></description>
			<content:encoded><![CDATA[<p>I recently found a very good article of some useful jquery tips and tricks here it is:</p>
<p><a href="http://www.opensourcehunter.com/2010/02/27/26-cool-and-usefull-jquery-tips-tricks-solutions/">http://www.opensourcehunter.com/2010/02/27/26-cool-and-usefull-jquery-tips-tricks-solutions/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://5thgarage.com.au/2011/11/jquery-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>move a movieclip to top of everything in Actionsctipt 3.0</title>
		<link>http://5thgarage.com.au/2011/06/move-a-movieclip-to-top-of-everything-in-actionsctipt-3-0/</link>
		<comments>http://5thgarage.com.au/2011/06/move-a-movieclip-to-top-of-everything-in-actionsctipt-3-0/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 13:28:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://5thgarage.com.au/?p=72</guid>
		<description><![CDATA[A quick and easy way to move a movieclip to top of everything in Actionsctipt 3.0: function moveToTop( mc:DisplayObject ):void { (mc.parent != null) ? mc.parent.setChildIndex(mc, mc.parent.numChildren-1) : null; }]]></description>
			<content:encoded><![CDATA[<p>A quick and easy way to move a movieclip to top of everything in Actionsctipt 3.0:</p>
<pre><code>function moveToTop( mc:DisplayObject ):void
{
 (mc.parent != null) ? mc.parent.setChildIndex(mc, mc.parent.numChildren-1) : null;
}</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://5thgarage.com.au/2011/06/move-a-movieclip-to-top-of-everything-in-actionsctipt-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect page through javascript</title>
		<link>http://5thgarage.com.au/2011/06/67/</link>
		<comments>http://5thgarage.com.au/2011/06/67/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 13:25:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://5thgarage.com.au/?p=67</guid>
		<description><![CDATA[Simple Redirect Page &#60;script type="text/javascript"&#62; &#60;!-- window.location = "http://www.google.com/" //--&#62; &#60;/script&#62; Time Delayed Redirect &#60;html&#62; &#60;head&#62; &#60;script type="text/javascript"&#62; &#60;!-- function delayer(){ window.location = "../javascriptredirect.php" } //--&#62; &#60;/script&#62; &#60;/head&#62; &#60;body onLoad="setTimeout('delayer()', 5000)"&#62; &#60;h2&#62;Prepare to be redirected!&#60;/h2&#62;...]]></description>
			<content:encoded><![CDATA[<p>Simple Redirect Page</p>
<pre>&lt;script type="text/javascript"&gt;
   &lt;!-- window.location = "http://www.google.com/" //--&gt;
&lt;/script&gt;</pre>
<p>Time Delayed Redirect</p>
<pre>&lt;html&gt;
&lt;head&gt;
&lt;script type="text/javascript"&gt;
   &lt;!-- function delayer(){
      window.location = "../javascriptredirect.php"
   } //--&gt;
&lt;/script&gt;
&lt;/head&gt;
&lt;body onLoad="setTimeout('delayer()', 5000)"&gt;
   &lt;h2&gt;Prepare to be redirected!&lt;/h2&gt;
   &lt;p&gt;This page is a time delay redirect, Hang on while we redirect to another page.&lt;/p&gt;
   &lt;/body&gt;
&lt;/html&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://5thgarage.com.au/2011/06/67/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Close modal dialog box when clicked outside</title>
		<link>http://5thgarage.com.au/2011/06/61/</link>
		<comments>http://5thgarage.com.au/2011/06/61/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 13:20:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://5thgarage.com.au/?p=61</guid>
		<description><![CDATA[I was searching for a way to close my modal dialog box when clicked outside of the dialog and i found a very good article by Ryan Jeffords at: http://www.ryanjeffords.com/blog/entry/closing-a-jquery-ui-dialog-when-the-dialog-loses-focus Thanx Ryan &#60;script type="text/javascript"&#62; //Wait...]]></description>
			<content:encoded><![CDATA[<p>I was searching for a way to close my modal dialog box when clicked outside of the dialog and i found a very good article by Ryan Jeffords at: <a href="http://www.ryanjeffords.com/blog/entry/closing-a-jquery-ui-dialog-when-the-dialog-loses-focus">http://www.ryanjeffords.com/blog/entry/closing-a-jquery-ui-dialog-when-the-dialog-loses-focus</a></p>
<p>Thanx Ryan</p>
<pre>&lt;script type="text/javascript"&gt;
   //Wait for the document to load
   $(document).ready(function() {
      //Create the dialog and open it
      $("#dialog").dialog();
      //Bind to the ui-widget-overlay and watch for when it is clicked
      $('.ui-widget-overlay').live("click", function() {
         //Close the dialog
         $("#dialog").dialog("close");
      });
   });
&lt;/script&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://5thgarage.com.au/2011/06/61/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fscommand in Flash CS5</title>
		<link>http://5thgarage.com.au/2011/06/53/</link>
		<comments>http://5thgarage.com.au/2011/06/53/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 13:13:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://5thgarage.com.au/?p=53</guid>
		<description><![CDATA[For some reason the fscommand(&#8220;exec&#8221;,&#8221;some_app.app&#8221;); does not work when you publish a mac projector through flash CS5. the fscommand(&#8220;exec&#8221;,&#8221;some_exe.exe&#8221;); works fine when you publish a windows projector through flash CS5. The work around for mac...]]></description>
			<content:encoded><![CDATA[<p>For some reason the fscommand(&#8220;exec&#8221;,&#8221;some_app.app&#8221;); does not work when you publish a mac projector through flash CS5. the fscommand(&#8220;exec&#8221;,&#8221;some_exe.exe&#8221;); works fine when you publish a windows projector through flash CS5. The work around for mac which i came to know is:</p>
<pre>
navigateToURL (
   new URLRequest(
      "file:///Volumes/Name of Disc/your pdf file.pdf"), "_blank"
   );
</pre>
<p><code></code>this would not open in a browser window but open the pdf in acrobat. check out this forum on adobe&#8217;s website: <a href="http://forums.adobe.com/thread/790499?decorator=print&amp;displayFullThread=true" target="_blank">http://forums.adobe.com/thread/790499?decorator=print&amp;displayFullThread=true</a></p>
]]></content:encoded>
			<wfw:commentRss>http://5thgarage.com.au/2011/06/53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check whether the div exists [Jquery]</title>
		<link>http://5thgarage.com.au/2011/06/49/</link>
		<comments>http://5thgarage.com.au/2011/06/49/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 13:08:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://5thgarage.com.au/?p=49</guid>
		<description><![CDATA[This is how you can check whether the div exists: if ( $("#message").length ) { $('#message').text("Hello!"); }]]></description>
			<content:encoded><![CDATA[<p>This is how you can check whether the div exists:<br />
<code><br />
if ( $("#message").length ) {<br />
   $('#message').text("Hello!");<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://5thgarage.com.au/2011/06/49/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash apps on iPads</title>
		<link>http://5thgarage.com.au/2011/03/flash-apps-on-ipads/</link>
		<comments>http://5thgarage.com.au/2011/03/flash-apps-on-ipads/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 13:19:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://5thgarage.com.au/?p=7</guid>
		<description><![CDATA[Some examples of Flash applications on iPads. Credits: http://www.bytearray.org/?p=3202]]></description>
			<content:encoded><![CDATA[<p>Some examples of Flash applications on iPads.</p>
<p class="video-lightbox ">
				<a href="http://www.youtube.com/watch?v=5rp7UNCWbyc" rel="prettyPhoto" title="Comb Over Charlie - an AIR 2.6 multiscreen game">Comb Over Charlie &#8211; an AIR 2.6 multiscreen game</a>
			</p>
<p><br class="clear" /></p>
<p class="video-lightbox ">
				<a href="http://vimeo.com/24168128" rel="prettyPhoto" title="Rossignol Experience iPad App">Rossignol Experience iPad App</a>
			</p>
<p><br class="clear" /></p>
<p class="video-lightbox ">
				<a href="http://vimeo.com/25089434" rel="prettyPhoto" title="Digitas Cache II">Digitas Cache II</a>
			</p>
<p><br class="clear" /></p>
<p class="video-lightbox ">
				<a href="http://www.youtube.com/watch?v=NBazwZnc8yw" rel="prettyPhoto" title="Fishing Letter - CPU vs GPU (Air 2.6 / 2.7)">Fishing Letter &#8211; CPU vs GPU (Air 2.6 / 2.7)</a>
			</p>
<p><br class="clear" /></p>
<p class="video-lightbox ">
				<a href="http://www.youtube.com/watch?v=ZfKNOt3xdgs" rel="prettyPhoto" title="Flex on the iPad">Flex on the iPad</a>
			</p>
<p><br class="clear" /></p>
<p class="video-lightbox ">
				<a href="http://vimeo.com/25375349" rel="prettyPhoto" title="Cabana App">Cabana App</a>
			</p>
<p><br class="clear" /></p>
<p><strong>Credits:</strong> <a href="http://www.bytearray.org/?p=3202">http://www.bytearray.org/?p=3202</a></p>
]]></content:encoded>
			<wfw:commentRss>http://5thgarage.com.au/2011/03/flash-apps-on-ipads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basics of Facebook API</title>
		<link>http://5thgarage.com.au/2011/03/9/</link>
		<comments>http://5thgarage.com.au/2011/03/9/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 13:27:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://5thgarage.com.au/?p=9</guid>
		<description><![CDATA[I recently started developing a Facebook App, and i thought of sharing my experiences with all the people trying to get them started to build there own first app for facebook. By the way this...]]></description>
			<content:encoded><![CDATA[<p>I recently started developing a Facebook App, and i thought of sharing my experiences with all the people trying to get them started to build there own first app for facebook. By the way this is my first ever post in the world of blogging, so if i make any mistake or anything is not explained properly please lemme know and i will try to correct it. <img src='http://5thgarage.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is a link to get u started with Facebook apps. <a href="http://developers.facebook.com/docs/guides/canvas/" target="_blank">http://developers.facebook.com/docs/guides/canvas/</a></p>
<p>You can use these sdks: <a href="http://developers.facebook.com/docs/sdks/" target="_blank">http://developers.facebook.com/docs/sdks/</a></p>
<p>You can download the sdks code from the link above, in this example iam using php-sdk.</p>
<p>The following code is a part of the example.php in the code provided in the php-sdk download. Create our Application instance (replace this with your appId and secret).</p>
<pre>$facebook = new Facebook(array(
 'appId' =&gt; 'YOUR API ID',
 'secret' =&gt; 'YOUR API SECRET',
 'cookie' =&gt; true
));
$session = $facebook-&gt;getSession();
$me = null;</pre>
<p>Session based API call.</p>
<pre>if ($session) {
 try {
  $uid = $facebook-&gt;getUser(); // gets user id
  $me = $facebook-&gt;api('/me');
  $friends = $facebook-&gt;api('/me/friends'); // gets all the friends of the user
  $photos = $facebook-&gt;api('/me/photos'); // gets all user photos
  $albums = $facebook-&gt;api('/me/albums'); // gets all user albums
  $useralbums = $albums['data']; // store the album array
  foreach ($useralbums as $key =&gt; &amp;$album) {
   $albumphotos = $facebook-&gt;api('/'.$album['id'].'/photos');
  }
 }
 catch (FacebookApiException $e) {
  error_log($e);
 }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://5thgarage.com.au/2011/03/9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

