From 5dea9ec1109d3bde1a37867cdc07dbb31bf27fa6 Mon Sep 17 00:00:00 2001 From: Paul van Schayck Date: Thu, 16 Dec 2004 02:24:55 +0000 Subject: [PATCH] Valid HTML 4.01 popups --- scripts.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/scripts.js b/scripts.js index 5f9ee23..1634de1 100644 --- a/scripts.js +++ b/scripts.js @@ -1,11 +1,15 @@ - function openWin(fileToOpen,nameOfWindow,width,height) { myWindow = window.open("",nameOfWindow,"menubar=no,scrollbars=yes,status=no,width="+width+",height="+height); myWindow.document.open(); - myWindow.document.write('ScreenShot Viewer') - myWindow.document.write(''); - myWindow.document.write(''); - myWindow.document.write(''); + myWindow.document.write(''); + myWindow.document.write('Screenshot Viewer') + myWindow.document.write('

'); + myWindow.document.write('Screenshot'); + myWindow.document.write('

'); myWindow.document.close(); } @@ -14,5 +18,3 @@ function deleteURL(text, url) { self.location = url; } } - -