title: How do I resize a DIV to full screen in a browser
body: <pre><code>function maximize(){
      var width = document.body.clientWidth;
      var height  = document.body.clientHeight;
      var body = document.body;
      var div = document.getElementById(main-window);
  
      &lt;-- Need here some code for assignind div-s height to browser height
      make_draggable();
  };
  </code></pre>
  
  <p>This is the code, I need to full screen the window to size of my window.</p>
  
  <p>There is a problem, because my div is draggable, and resizable to and when I am writing code for full screen, drag and resize stop working.</p>
  
  <p>How do I resolve this?</p>