Hola a todos tengo un problemilla:
Casi mejor pego el código fuente para que veais cual es el problema y lo que
quiero hacer.
¿cual es la mejor forma?
Un saludo
__________________________________________________
<% cam=rs("Camino") %>
<img src= <%=rs("Camino")%> border="0" align="absmiddle"
noresize
onclick= "
<script language=javascript>
var win=null;
url_imagen=win.document.foto
var img = new Image();
img.src = <%=cam%>;
win=window.open('','','width='+img.width+',height='+img.height+',scrollbarsno,resizable=1,toolbar=0');
win.document.write ('<html>');
win.document.write (' <head>');
win.document.write (' <title> '+'</title>');
win.document.write (' </head>');
win.document.write (' <body leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0">');
win.document.write (' <img src="' + url_imagen + '"
height='+img.height+' width='+img.width+'>');
win.document.write (' </body>');
win.document.write ('</html>');
</script>
">
__________________________________________________
Supongo que las comillas dobles despues de ONCLICK no pueden funcionar, pero
es para mostrar lo que quiero hacer.
Robert
Leer las respuestas