Return to Snippet

Revision: 727
at August 2, 2006 14:21 by nicolaspar


Initial Code
function abrirImagen( imagen ){
html =	"<html><head><TITLE>Imagen</title></head><body leftmargin=\"0\"  marginheight=\"0\" topmargin=\"0\" marginwidth=\"0\">" +
		"<img src=\"" + imagen + "\" border=\"0\" name=\"image\" onload=\"window.resizeTo(document.image.width,document.image.height+38)\"></body></html>";
	popup=window.open('','image','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popup.document.open();
	popup.document.write( html );
	popup.document.focus();
	popup.document.close()
}

Initial URL


Initial Description
Abrir imagen

Initial Title
Javascript - popup imagen redimensionado desde padre.

Initial Tags


Initial Language
PHP