Código HTML:
<script language="JavaScript"> function ventanacompleta (URL){ window.open(URL,"ventana1","fullscreen=yes, scrollbars=yes, menubar=no, location=no, resizable=yes"); window.document.write('<html><body style="background-color:#CC9933; marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"><img galleryimg="no">'); } </script> </head> <body> <a href="javascript:ventanacompleta ('imagengrande.jpg')"><img src="retoques/4_pop_ane_grande.jpg" width="600" height="450" /></a> </body>
Tambien he probado con esta otra opción y tampoco me sale:
Código HTML:
<script language="JavaScript"> function pantallaCompleta(pagina) { window.open(pagina, '', 'fullscreen=yes, scrollbars=yes, menubar=no, location=no, resizable=yes'); pagina.document.write('<html><body style="background-color:#CC9933; marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"><img galleryimg="no">'); } </script> </head> <body> <a href="javascript:pantallaCompleta ('imagengrande.jpg')"><img src="retoques/4_pop_ane_grande.jpg" width="600" height="450" /></a> </body>
Saludosss