i have a page that has about 27 thumbnails that i want to open
in a new window without a margin. there is no pattern to it, but every
so often, a margin is added to the top and left of the image. here is
the script that i am using:
var newwindow = ”
var win1
function ShowMe(url) {
if (win2=1){
win2.close;
}
if (newwindow.location && !newwindow.closed) {
newwindow.location.href = url;
newwindow.focus(); }
else {
newwindow=window.open(url,’win1′,’width=289,height=188,resizable=0,toolbar=no’);}
newwindow.document.write(‘<html><head></head><title>2005 UGM</title><body topmargin=”0″ leftmargin=”0″ bgcolor=”000000″><img src=”‘+url+'”></body></html>’)
win1=1
}
any help would be appreciated…