title: Mobile Safari $(window).height() URL bar discrepancy
body: <p>I'm trying to set a fixed div that's 100% the window height. But mobile safari doesn't detect the correct window height. It always thinks that the URL bar is part of the equation. </p>
  
  <p>This is what I'm using currently but it doesn't account for the URL bar.</p>
  
  <pre><code>$(function(){
      $(document).ready(function(){ // On load
          alert($.browser);   
          $('#right-sidebar').css({'height':(($(window).height()))+'px'});
      });
      $(window).resize(function(){ // On resize
          $('#right-sidebar').css({'height':(($(window).height()))+'px'});
      });
  });
  </code></pre>