Make sure the syntax within your window.open() code to create the distinct window is correct. For example:
Code:
thepics.onselectphoto=function(img, link){
if (link!=null) //if this image is hyperlinked
window.open(link.href, "", "width=800, height=600, status=1, resizable=1")
return false //cancel default action when clicking on image, by returning false instead of true
}
The part in red is what styles the pop up window. If its syntax is incorrect, the browser will usually ignore all the styles altogether. Take a look at the bottom of this page for documentation on this.
Bookmarks