Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/10/2004, 06:26
Avatar de zocotoo
zocotoo
 
Fecha de Ingreso: febrero-2003
Mensajes: 74
Antigüedad: 22 años, 2 meses
Puntos: 0
Fullscreen en todos navegadores y plataformas

Código de página que abre la ventana full screen:


<html>
<head>
<title></title>
<script language="JavaScript">

function MM_openBrWindow(theURL,winName,features) { //v2.0
var newwin = window.open(theURL,winName,features,'fullscreen=ye s,toolbar=0,location=0,directories=0,status=0,menu bar=0,scrollbars=0,resizable=0,width=' + screen.width + ',height=' + screen.height);
newwin.moveTo(0,0);newwin.focus();
}

function fullwin(targeturl){
var newwin = window.open(targeturl,"","fullscreen,scrollbars,wi dth=" + screen.width + ",height=" + screen.height)
newwin.moveTo(0,0);newwin.focus();
}

function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
</script>
</head>

<body>
<a href="javascript:;" onMouseDown="MM_callJS('fullwin(\'mipagina.htm\')' )">Abrir ventana fullscreen</a>
</body>
</html>
__________________
Yip yop Dafunk!!