1) Script Title: Auto-centering Popup Window
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...autocenter.htm
3) Describe problem:
For my website I have used a.m. script to show an enlarged detail of a painting. See http://www.arti-mo.com/kunstenaars/j...werkjst005.htm and than click on "klik hier voor een detail van het kunstwerk".
Now the size of the window that will be openened is fixed on 1024 px width and 768 px height. The picture to be shown has a size of 525 x 700 px, but can sometimes be different.
Is there a way to change the script in such a way that the size of the window to be opened will adjust itself automatically to the size of the picture that will be shown?
Thanks for any usefull help!
Enjoy your day