Force “Landscape” orientation mode
<p>I'm trying to force the "Landscape " mode for my application because I my application is absolutely not designed for the "portrait" mode. ( iPad wApp)
How can I do that ? 
I try my code but I think its horrible :D</p>

<pre><code>function updateOrientation(){
  if ($('body').width() &lt; 1024){ 
    return false;
  } else {
    $('.class').addClass('landscape');  
  }
}
</code></pre>

<p>any suggestion ? 
thanks</p>
