This is the script I use:
Code:
function openWindow1(url_param) {
var popupWin = null;
popupWin = window.open(url_param, 'remote', 'width=500,height=375,resizable=no,toolbar=no,left=10,top=10,scrollbars=no')
popupWin.opener.name="main";
popupWin.focus();
}
The pop-up opens to the size specified (which is the size of the image - I actually have several set to varying sizes for what I need). The thumbnail images link to html pages containing the large images rather than the large images themselves so that I can remove the margins otherwise set by default. If you wish to set a certain colour as the bg of the pop-up, I think you will have to do it this way too.
Bookmarks