Ver Mensaje Individual
  #6 (permalink)  
Antiguo 11/10/2005, 09:13
Avatar de pinchoso
pinchoso
 
Fecha de Ingreso: octubre-2005
Ubicación: Barcelona
Mensajes: 177
Antigüedad: 18 años, 7 meses
Puntos: 0
Hola luzin, mira te paso el codigo de mi página directamente:

<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
<!--
<!--
var isNav4, isIE4;
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
isNav4 = (navigator.appName == "Netscape") ? 1 : 0;
isIE4 = (navigator.appName.indexOf("Microsoft") != -1) ? 1 : 0;
}
function fitWindowSize() {
if (isNav4) {
window.innerWidth = document.layers[0].document.images[0].width;
window.innerHeight = document.layers[0].document.images[0].height;
}
if (isIE4) {
window.resizeTo(500, 500);
width = 500 - (document.body.clientWidth - document.images[0].width);
height = 500 - (document.body.clientHeight - document.images[0].height);
window.resizeTo(width, height);
}
}
// -->

function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
//-->
</script>
<link href="<%=Session("cssFile")%>" rel="stylesheet" type="text/css">
</HEAD>

<title><%=image_name%></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<BODY onLoad="fitWindowSize()">

<div style="position:absolute; left:0px; top:0px"> <img src="img/imagen.jpg">
</div>

</BODY></html>

No hagas caso de los tags entre <% %> la página originalmente es un ASP, o sea que sudando de eso....a mi me funciona

Bueno, suerte!