* new screenshot and image classes

This commit is contained in:
Jonathan Ernst
2005-01-27 15:42:53 +00:00
committed by Jeremy Newman
parent fc4f7db66a
commit d5a50ecec4
9 changed files with 788 additions and 208 deletions

View File

@@ -4,12 +4,12 @@ function openWin(fileToOpen,nameOfWindow,width,height) {
myWindow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">');
myWindow.document.write('<html><head><title>Screenshot Viewer</title>')
myWindow.document.write('<style type="text/css">');
myWindow.document.write('body { margin: 0; padding: 0; background-color: black; }');
myWindow.document.write('body { margin: 0; padding: 0; background-color: lightgrey; }');
myWindow.document.write('img { border: 0; }');
myWindow.document.write('p { display: inline; }');
myWindow.document.write('</style></head><body><p>');
myWindow.document.write('</style></head><body>');
myWindow.document.write('<a onclick="self.close();" href=""><img src="'+ fileToOpen +'" alt="Screenshot"></a>');
myWindow.document.write('</p></body></html>');
myWindow.document.write('</body></html>');
myWindow.document.close();
}