title: How to full screen a page from after clicking a link/button?
body: <p>Im just a newbie here in javascript .. Can somebody help me?</p>
  
  <p>I need to full screen my page after i click a certain button/link 
  for example .. i'm on page1 and when i click the button it will redirect me to page2 and will be automatically on full screen ..</p>
  
  <p>i have this code for fullscreen ..</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  // Find the right method, call on correct element
  function launchFullScreen(element) {
   if(element.requestFullScreen) {
     element.requestFullScreen();
   } else if(element.mozRequestFullScreen) {
     element.mozRequestFullScreen();
   } else if(element.webkitRequestFullScreen) {
     element.webkitRequestFullScreen();
   }
   }
   &lt;/script&gt;
   &lt;button onclick =" launchFullScreen(document.documentElement);"&gt;fullscreen!&lt;/button&gt;
  </code></pre>
  
  <p>---this code fullscreen only the current page, what i need is to navigate first to another page then fullscreen.. thanks in advance .. all responses/opinion are appreciated ..</p>