10-28-2003, 08:19 PM
I use a common script to display images in a pop-up window. The problem is that if I direct the image directly to the window (i.e. NOT via an html-page) the window has white spaces to the left and top of the image. These margins appears even if the windowsize is predetermined. If I put the big image in a html-document first, I can kill the margins within the doc, but then I have to use 1 doc for every image. I don't want that as I have many pics. The Q now is: Is there any way to remove the margins of the new pop-up window (containing only the image, not a html-doc) with a script? I have seen a solution where one uses a single html-doc to display different pics but the problem there was that one could not make the window change size according to the current picture. Any solution to that?