That's pretty easy to do. Change:
Code:
function popuplinkfunc(imgsrc){
if (popupsetting[0]==1){
var popwin=open(imgsrc.href, "popwin", popupsetting[1])
popwin.focus()
return false
}
else
return true
}
at the end of the script to:
Code:
function popuplinkfunc(imgsrc){
if (popupsetting[0]==1){
var imgHTML='<img src="'+imgsrc.href+'">';
document.getElementById('loadarea').innerHTML=imgHTML;
return false
}
else
return true
}
That will put the larger image in an element, a division is good, with an id of 'loadarea' located somewhere in the body of the page, example:
HTML Code:
<div id="loadarea"></div>
Bookmarks