Sourcecode in Site/javascript.skin:
1: var imgWindow = "";
2:
3: function openPopup(img, width, height) {
4: if (img && width && height) {
5: width = Math.min(width + 36, 640);
6: height = Math.min(height + 30, 480);
7: if (imgWindow.location && !imgWindow.closed)
8: imgWindow.close();
9: imgWindow = window.open(img, "imgWindow" + width + height, "toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height);
10: // imgWindow.focus();
11: }
12: }
13:
|