This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/scripts.js

21 lines
918 B
JavaScript
Raw Normal View History

2004-03-15 16:22:00 +00:00
function openWin(fileToOpen,nameOfWindow,width,height) {
myWindow = window.open("",nameOfWindow,"menubar=no,scrollbars=yes,status=no,width="+width+",height="+height);
myWindow.document.open();
2004-12-16 02:24:55 +00:00
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('img { border: 0; }');
myWindow.document.write('p { display: inline; }');
myWindow.document.write('</style></head><body><p>');
myWindow.document.write('<a onclick="self.close();" href=""><img src="'+ fileToOpen +'" alt="Screenshot"></a>');
myWindow.document.write('</p></body></html>');
2004-03-15 16:22:00 +00:00
myWindow.document.close();
}
function deleteURL(text, url) {
if (confirm(text)) {
self.location = url;
}
}