![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
04/08/2008, 15:25
|
| | Fecha de Ingreso: julio-2008 Ubicación: Ecuador
Mensajes: 153
Antigüedad: 16 años, 7 meses Puntos: 0 | |
Respuesta: ahora el window.open me funciona en firefox pero en IE no me funciona lo puse asi mira....
Código:
<script>
function AbrirCentrado(Url,NombreVentana,width,height,extras) {
var largo = width;
var altura = height;
var adicionales= extras;
var top = (screen.height-altura)/2;
var izquierda = (screen.width-largo)/2; nuevaVentana=window.open(Url,NombreVentana,'width=' + largo + ',height=' + altura + ',top=' + top + ',left=' + izquierda +extras);
nuevaVentana.focus();
}
</script>
y lo llamo asi
Código:
<a href="javascript:AbrirCentrado('paginas/administrador.php','Administrador','400','280','');" class="Estilo10">ADMINISTRADOR</a></pre>
y sigue igual....
porfavor ayudadenme en esto...... ![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png) |