Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/01/2008, 13:11
Rodro
 
Fecha de Ingreso: junio-2007
Mensajes: 253
Antigüedad: 16 años, 10 meses
Puntos: 0
Re: Problema con imagen y safari.

Gracias por contestar bakanzipp, este es el codigo que tengo en la ventana popup yo no creo tampoco que sea problema de asp pero lo coloque en este foro porque la aplicación esta hecha en asp yo creo que es problema del navegador pero es super raro porque con todos los demás se ve bien, bueno te dejo el codigo:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT>
function DoDateTime(str, nNamedFormat, nLCID)
dim strRet
dim nOldLCID

strRet = str
If (nLCID > -1) Then
oldLCID = Session.LCID
End If

On Error Resume Next

If (nLCID > -1) Then
Session.LCID = nLCID
End If

If ((nLCID < 0) Or (Session.LCID = nLCID)) Then
strRet = FormatDateTime(str, nNamedFormat)
End If

If (nLCID > -1) Then
Session.LCID = oldLCID
End If

DoDateTime = strRet
End Function
</SCRIPT>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css" media="all">
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0pt;
padding: 0pt;
}
#datos {
position:absolute;
left:135.91pt;
top:24.27pt;
width:109pt;
height:16pt;
z-index:1;
font-size: 10pt;
}
</style>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>

<body onclick="MM_preloadImages('../../imagenes/imagen_imprimir.gif')">
<div id="datos"><%= DoDateTime( Request.QueryString("date") , 2, 2070) %></div>
<img src="../../imagenes/imagen_imprimir.gif" />
<script language="javascript" type="text/javascript">
window.print();
</script>
<a href="javascript:window.close();">Cerrar ventana</a>
</body>
</html>