este codigo esta en el archivo javascript:
Código:
y este es el del html:function enlargeimage(path, optWidth, optHeight){ //function to enlarge image. Change as desired.
var actualWidth=typeof optWidth!="undefined" ? optWidth : "600px" //set 600px to default width
var actualHeight=typeof optHeight!="undefined" ? optHeight : "500px" //set 500px to default height
var winattributes="width="+actualWidth+",height="+actualHeight+",resizable=yes"
window.open(path,"", winattributes)
}
Código HTML:
<a href="javascript:enlargeimage('images/image-1.jpg')"><img src="img/centro_thumb.jpg" border=1></a><br /> <a href="javascript:enlargeimage('dynamicbook1.gif', 300, 300)"><img src="img/interior_thumb.jpg" border=1></a><br />

