Foros del Web » Programando para Internet » Javascript »

Fullscreen en todos navegadores y plataformas

Estas en el tema de Fullscreen en todos navegadores y plataformas en el foro de Javascript en Foros del Web. 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=' + ...
  #1 (permalink)  
Antiguo 05/10/2004, 06:26
Avatar de zocotoo  
Fecha de Ingreso: febrero-2003
Mensajes: 74
Antigüedad: 21 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!!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 04:30.