The function popuplinkfunc() is what causes a popup window to launch and display the enlarged image. To get the image to load in a DIV on the page, you'd edit this function to do this. The result may look something like:
Code:
function popuplinkfunc(imgsrc){
if (popupsetting[0]==1){
document.getElementById("targetdiv").innerHTML='<img src="'+imgsrc.href+'" />'
return false
}
else
return true
}
Where "targetdiv" is the ID of the DIV element you should add to your page, something like:
Code:
<div id="targetdiv"> </div>
Bookmarks