Add a way to pause the background animation #220

I currently set href to "" because I don't currently know how to interface with session variables directly through html tags. "Basic View" and "Standard View" have different lengths, so the footer shifts when the button is pressed. The paused background state is different from the paused state when the user once again switches to the tab after a period of time, where the triangles are all orange and regular. The session variable can also be renamed and used elsewhere to perhaps make the page less reactive, for example in displaying search results, to reduce lag.
All commits to background animation issue #220 have been synced to GitHub. Thanks
On Jun 30, 2014, at 2:51 AM, Mitar <notifications@github.com> wrote:

> In client/templates/footer.html:
> 
> > @@ -9,14 +9,23 @@
> >        <li><a href="https://github.com/peerlibrary/peerlibrary/wiki/Public-API">API</a></li>
> >      </ul>
> >      <ul class="connect">
> > -      <li><a href="http://blog.peerlibrary.org">Blog</a></li>
> > -      <li><a href="https://twitter.com/PeerLibrary">Twitter</a></li>
> > -      <li><a href="http://lists.peerlibrary.org/lists/info/news" class="newsletter">Newsletter</a></li>
> > -      <li><a href="mailto:hello@peerlibrary.org">Contact</a></li>
> > +      <div>
> > +        <li>{{> backgroundPauseButton}}</li>
> > +      </div>
> > +      <div>
> Can you make the code as you believe it should be, commit it and push it to this pull request, so that we can see all code together? This is the idea of GitHub pull requests, that you can work on them, having code nicely committed so that one can see all, not snippets and so on. You can even make multiple branches, each showing various tries you did.
> 
> —
> Reply to this email directly or view it on GitHub.
>