alvaro-prieto
5/17/2018 - 1:30 PM

fullscreen full screen pantalla completa F11


function makeFullScreen(divObj) {
  if (divObj.requestFullscreen) {
    divObj.requestFullscreen();
  }else if (divObj.msRequestFullscreen) {
    divObj.msRequestFullscreen();
  }else if (divObj.mozRequestFullScreen) {
    divObj.mozRequestFullScreen();
  }else if (divObj.webkitRequestFullscreen) {
    divObj.webkitRequestFullscreen();
  } else {
    console.warn("Fullscreen API no soportada");
  } 
}