Comunidad de diseño web y desarrollo en internet online

html a toda pantalla sin la cabecera del navegador

Citar            
MensajeEscrito el 13 Jun 2010 07:55 pm
Con este código la ventana se ajusta perfectamente, mi duda es que no sé eliminar de la cabecera del navegador todo a excepción de la barra del marco donde aparece el nombre de la web,

Código HTML :

<html>
<head>
<title>mi web</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">

          window.parent.moveTo(0,0)
      window.parent.resizeTo(screen.availWidth, screen.availHeight)

function resizeWin(newLoc, newWidth, newHeight) {
        newWin = open("mi_pelicula.html",newLoc,"scrollbars=no,toolbar=no,menubar=no,resizable=no,status=no,height=" + newHeight + ",width=" + newWidth)
        }
      

function get360(newLoc, newWidth, newHeight) {newWin = open("360.html",newLoc,"left=0,top=0,scrollbars=no,toolbar=no,menubar=no,resizable=no,status=no,height=" + newHeight + ",width=" + newWidth)
       }   

function resizeEps(newLoc, newWidth, newHeight) {
                newWin = open("eps/mi_pelicula.html",newLoc,"scrollbars=no,toolbar=no,menubar=no,resizable=no,status=no,height="+newHeight+",width="+newWidth)
        }
           
// -->
       
        

</script>
</head>

<body bgcolor="#00A7DE" text="#00A7DE" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" height="100%" align="center" bgcolor="#00A7DE" cellpadding="0" cellspacing="0">
    <td align="center" valign="middle"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="970" height="700" align="middle" vspace="0" hspace="0">
      <param name=movie value="mi_pelicula.swf">
      <param name=quality value=high>
     <PARAM NAME=play VALUE=true>
      <param name="BGCOLOR" value="#00A7DE">
      <embed src="mi_pelicula.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="970" height="700" align="middle" bgcolor="#00A7DE" vspace="0" hspace="0">
      </embed> 
    </object></td>
</table>

</body>
</html>

--------------
Podéis ayudarme?

*Nota de BOFH: favor usar etiquetas de código para postear código

Por mferrandiz

11 de clabLevel



 

safari
Citar            
MensajeEscrito el 14 Jun 2010 12:31 am
hasta donde entiendo, tu pagina solo tendrá un swf, de ser así no necesitas javascript sino actionscript

algo como:

Código ActionScript :

boton.onRelease = function() {
  Stage.displayState = Stage.displayState == "normal" ? "fullScreen" : "normal";
};


y asegurate de el parametro en HTML:
<param name="allowFullScreen" value="true" />

Por tribak

Claber

2448 de clabLevel

6 tutoriales

Genero:Masculino   Héroes

Fotógrafo o algo

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.