Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/01/2010, 04:08
gazaposa
 
Fecha de Ingreso: noviembre-2009
Mensajes: 209
Antigüedad: 14 años, 6 meses
Puntos: 0
funcion que funciona en local pero no el servidor

buenas, a ver si me podeis ayudar. he creado una funcion que lo que hace es abrirme una nueva pantalla sin barras de desplazamietno y sin la barra de windows, vcamos aber la ventana completa.
el porblema es que en local funciona, pero cuando la subo al servidor no.
esta es el codigo:
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
a:link {
text-decoration:none;
font-family: Garamond, "Times New Roman";
font-size: 14px;
color: #FFFFCC;
font-weight: bold;
white-space: normal;
}
a:visited {
text-decoration:none;
font-family: Garamond, "Times New Roman";
font-size: 14px;
color: #FFFFCC;
font-weight: bold;
}
a:hover{
text-decoration:none;
font-family: Garamond, "Times New Roman";
font-size: 14px;
color: #FFFFCC;
font-weight: bold;
}
a:active{
text-decoration:none;
font-family: Garamond, "Times New Roman";
font-size: 14px;
font-weight: bold;
color: #FFFFCC;
}
</style>

<script language='JavaScript'>
function openVFStretchScroll(page, endWidth, endHeight, name)
{
windowprops="width="+endWidth+",height="+endHeight +",left=" + ((screen.endWidth) / 2) + ",top=" + ((screen.endHeight) / 2) + ",scrollbars=0,location=0";
w = window.open(page,name,windowprops);
if (w != null)
w.focus();
}
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>

</head>
<body bgcolor="#004800" >
<div id="Layer3" style="position:absolute; left:804px; top:404px; width:120px; height:44px; z-index:4">
<a href="http://contador-de-visitas.com">Contador de visitas<img style="border: 0px solid ; display: inline;" alt="contador de visitas"
src="http://contador-de-visitas.com/hit.php?id=133794&counter=0"></a> </div>
<p><font color="#FFFFFF"></font></p>
<div id="Layer1" style="position:absolute; left:481px; top:480px; width:101px; height:40px; z-index:3">
<div align="center"><font color="#FFFFFF"> <a href="javascript:openVFStretchScroll('creditos.htm ',1024,768,'mercedes')" >CR&Eacute;DITOS</a></font>
</div>
</div>
<div id="Layer2" style="position:absolute; left:341px; top:400px; width:380px; height:42px; z-index:2" align="center">
<table width="100%" border="0" cellpadding="3">
<tr>
<td width="25%" align="center"><a href="javascript:openVFStretchScroll('espanol/index.htm',1024,768,'mercedes')" ><img src="imagenes/banderaesp.jpg" width="60" height="37,5" border="0" title="Español"></a></td>
<td width="25%"align="center"><a href="javascript:openVFStretchScroll('ingles/index.htm',1024,768,'mercedes')"><img src="imagenes/banderagb.jpg" width="60" height="37,5" border="0" title="Ingles"></a></td>
<td width="25%"align="center"><a href="javascript:openVFStretchScroll('frances/index.htm',1024,768,'mercedes')"><img src="imagenes/banderafr.jpg" width="60" height="37,5" border="0" title="Fraces"></a></td>
<td width="25%"align="center"><a href="javascript:openVFStretchScroll('aleman/index.htm',1024,768,'mercedes')"><img src="imagenes/banderaal.jpg" width="60" height="37,5" border="0" title="Aleman"></a></td>
</tr>
</table>
</div>
<img src="imagenes/Primera.png" width="1024" height="368" >
</body>