title: jquery remember state of animation after page reload
body: <p>I have a block following my menu buttons, to indicate which one is active. Is there a way to keep the block's location after a refresh?
  As of now the location gets reseted when I press a link in a subpage.</p>
  
  <p>jquery code:</p>
  
  <pre><code>$( "button",document.body ).click(function(){
      var offset = $(this).offset();
      var offsetBody = $("body").offset();
    $( "#block" )
       .animate({
      left: (offset.left - offsetBody.left) 
    }, 200);
  });
  </code></pre>