<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

    <channel>
    
    <title><![CDATA[Blog]]></title>
    <link>http://abstracthuman.com/</link>
    <description>Welcome to the RSS feed for Abstract Human.</description>
    <dc:language>en</dc:language>
    <dc:creator>jason@abstracthuman.com</dc:creator>
    <dc:rights>Copyright 2013</dc:rights>
    <dc:date>2013-01-21T17:48:15+00:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <item>
      <title><![CDATA[Fun with Konami Code]]></title>
      <link>http://www.abstracthuman.com/blog/post/fun-with-konami-code</link>
      <comments>http://www.abstracthuman.com/blog/post/fun-with-konami-code#comments</comments>
      <guid>http://www.abstracthuman.com/blog/post/fun-with-konami-code#When:17:48:15Z</guid>
      <description><![CDATA[So, there's a secret, not-so-secret now code on my site. As a fan of video games I had to add in a special Konami code as a tribute to my childhood&hellip;<p><img src="http://abstracthuman.com/uploads/blog/ahwarp.jpg" alt="Logo Warp" height="169" width="310"  class="imgl" /> So, there&#8217;s a secret, not-so-secret now code on my site. As a fan of video games I had to add in a special Konami code as a tribute to my childhood and to all the game developers throughout the years. This is very easy to implement and you could easily create any special codes you&#8217;d like based on specific key strokes. I included Modernizr to check for and play some audio to go along with my secret functionality. Below is the basic way I used the code and you can adapt it to add some secret life to your site, app or what have you.</p>

<pre>
  <code class="javascript">
    //Load Sound Effects
    var audio = new Audio();
    audio.preload = 'auto';

    //Set paths to audio formats
    audio.src = Modernizr.audio.ogg ? '/youraudio.ogg' : Modernizr.audio.mp3 ?  '/youraudio.mp3' : '/youraudio.m4a';

    //Konami Code (Try it out&#8230;)
    //Konami Key: (u = up, d = down, l = left, r = right)
    //Konami Code: (uu dd lr lr ba)

    if (window.addEventListener) {
      var keys = [],
      konami = "38,38,40,40,37,39,37,39,66,65";

      window.addEventListener('keydown', function(e) {
        keys.push(e.keyCode);
        if (keys.toString().indexOf(konami) >= 0) {

          //Check for audio support and play sound effect
          if (Modernizr.audio) {
            audio.play();
          }

          //Call or set functionality for successful keystroke submission
          yourAwesomeFunction();

          //Reset the keys array
          keys = [];
        };
      }, true);
    };
  </code>
</pre>]]></description>
      <dc:subject><![CDATA[Development, Gaming,]]></dc:subject>
      <dc:date>2013-01-21T17:48:15+00:00</dc:date>
    </item>

    <item>
      <title><![CDATA[The Lincoln Movie Site - Under the Hood]]></title>
      <link>http://www.abstracthuman.com/blog/post/the-lincoln-movie-site-under-the-hood</link>
      <comments>http://www.abstracthuman.com/blog/post/the-lincoln-movie-site-under-the-hood#comments</comments>
      <guid>http://www.abstracthuman.com/blog/post/the-lincoln-movie-site-under-the-hood#When:05:40:07Z</guid>
      <description><![CDATA[I recently saw the movie Lincoln, which I enjoyed, but I was ultimately impressed with the <a href="http://www.thelincolnmovie.com/" target="_blank">Lincoln movie site</a>. It's clean, fun and uses JavaScript!<div class="hero_image"><a href="http://www.thelincolnmovie.com/" target="_blank"><img src="http://abstracthuman.com/uploads/blog/lincolnmoviesite.jpg" alt="The Lincoln Movie Site" /></a></div>

<p>I recently saw the movie Lincoln, which I enjoyed, but I was ultimately impressed with the <a href="http://www.thelincolnmovie.com/" target="_blank">Lincoln movie site</a>. It&#8217;s clean, fun and uses JavaScript!</p>

<h2>Scrolling</h2>

<p>The developers are using a scrolling technique sliding in panels over top of each other using z-indexing. They&#8217;re animating in and out the opacity on images that act as background images, but are not. Very smooth! </p>

<h5>Default HTML</h5>

<pre><code class="html xml">
  &lt;div class="section section-awards"&gt;
    &lt;div class="background"&gt;&lt;img src="media/images/bg-awards.jpg"&gt;&lt;/div&gt;
    &lt;div class="heading"&gt;
      &lt;h2&gt;VIII&lt;/h2&gt;
      &lt;div class="quotes"&gt;&lt;/div&gt;
    &lt;/div>
  &lt;/div>

</code></pre>

<h5>HTML after JavaScript</h5>

<pre><code class="html xml">
  &lt;div class="section section-awards" style="z-index: 5; bottom: 0px; top: 0px;"&gt;
    &lt;div class="background"&gt;&lt;img src="media/images/bg-awards.jpg" style="height: 761px; width: auto; margin-left: -655px; margin-top: -381px; opacity: 1;"&gt;&lt;/div&gt;
    &lt;div class="heading"&gt;
      &lt;h2&gt;VIII&lt;/h2&gt;
      &lt;div class="quotes"&gt;
        &lt;div class="quote" style="display: block;"&gt;Multiple quote divs are injected from hidden #quotes div&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

</code></pre>

<p>You can see what&#8217;s happening behind the scenes by inspecting the dom with your browser&#8217;s web inspector upon scrolling. They have also added a function called scaleToFit() on line 235 in the file main.js to responsively scale in the dummy background images to make them responsive. It appears that the developers are incorporating the jscrollpane plugin to add custom scrollbars to the slide out panels as well. </p>

<h2>SoundManager2</h2>

<p>The main plugin setting the mood for this site is SoundManager2. I recently used this plugin to build a custom SoundCloud Player and it really does make it easy to get creative with sound. The plugin can be found here <a href="http://www.schillmania.com/projects/soundmanager2/" target="_blank">SoundManager2</a>. I&#8217;ve seen some music sites implementing this plugin to load in music. Overall, I feel that the SoundManager2 plugin is pretty straightforward and easy to extend and customize.</p>

<p>With the setup initialize wrapper, that you can learn more about on the plugin site, you can easily create and play news sounds by creating sound objects containing the necessary properties associated with that sound.</p>

<pre><code class="javascript">
  var myAwesomeSound = soundManager.createSound({
    id: 'myAwesomeSound',
    url: '/path/to/myawesomesound.mp3'
  });
  
  myAwesomeSound.play();

</code></pre>

<p>This is by no means a high-level dig into how exactly the Lincoln Movie site is implementing these great features, but merely one of my mini-breakdowns. Dig into the web inspector, learn and deconstruct! Then think of ways to build out your own and/or new solutions.</p>

<blockquote><p>&ldquo;Always bear in mind that your own resolution to succeed, is more important than any other one thing.&rdquo; - <span>Abraham Lincoln</span></p>
</blockquote>]]></description>
      <dc:subject><![CDATA[Design, Development, Film, Music,]]></dc:subject>
      <dc:date>2013-01-16T05:40:07+00:00</dc:date>
    </item>

    <item>
      <title><![CDATA[Website Redesign]]></title>
      <link>http://www.abstracthuman.com/blog/post/website-redesign</link>
      <comments>http://www.abstracthuman.com/blog/post/website-redesign#comments</comments>
      <guid>http://www.abstracthuman.com/blog/post/website-redesign#When:09:11:14Z</guid>
      <description><![CDATA[After many years of maintaining and managing my <a href="http://wordpress.org/" target="_blank">WordPress</a> site, I felt it was time to make a change. I always find it harder to design / develop my own site, so either for that reason&hellip;<p>After many years of maintaining and managing my <a href="http://wordpress.org/" target="_blank">WordPress</a> site, I felt it was time to make a change. I always find it harder to design / develop my own site, so either for that reason, or that I get so wrapped up in client work, it&#8217;s taken what seems like an awfully long time to get to this point. I decided to build my new site with <a href="http://expressionengine.com" target="_blank">Expression Engine</a>, which I&#8217;ve been fortunate enough to work in most recently. I enjoy the CMS and think that I will be happier with my choice to switch. I&#8217;ve decided to showcase only my work that is solely related to Web Design and Development, whereas this blog will take on the form of a host for my many hobbies, interests, and ramblings. I hope you enjoy!</p>

<blockquote><p>&ldquo;The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.&rdquo; - <span>Albert Einstein</span></p>
</blockquote>]]></description>
      <dc:subject><![CDATA[Design, Development,]]></dc:subject>
      <dc:date>2012-06-09T09:11:14+00:00</dc:date>
    </item>

    
    </channel>
</rss>