[Scummvm-cvs-logs] CVS: web index.php,1.4,1.5 scripts.js,1.1.1.1,1.2 styles.css,1.4,1.5

Max Horn fingolfin at users.sourceforge.net
Thu Feb 27 18:09:04 CET 2003


Update of /cvsroot/scummvm/web
In directory sc8-pr-cvs1:/tmp/cvs-serv12999

Modified Files:
	index.php scripts.js styles.css 
Log Message:
a bit closer to validating HTML

Index: index.php
===================================================================
RCS file: /cvsroot/scummvm/web/index.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- index.php	12 Apr 2002 21:09:33 -0000	1.4
+++ index.php	28 Feb 2003 02:08:36 -0000	1.5
@@ -61,7 +61,7 @@
 	  <td>
 		<table border=0 cellpadding=0 cellspacing=0>
 		<tr><td>
-			<script>i_jn=<?=$randImg?>;</script>
+			<script language="JavaScript">i_jn=<?=$randImg?>;</script>
 			<a href="javascript:openWin('./screenshots/big_scummvm_'+i_jn+'.png','scummvm',640,400);"
 			onMouseOver="window.status='Click to View Full Size Image';return true;"
 			onMouseOut="window.status='';return true;"><img

Index: scripts.js
===================================================================
RCS file: /cvsroot/scummvm/web/scripts.js,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- scripts.js	5 Mar 2002 21:39:36 -0000	1.1.1.1
+++ scripts.js	28 Feb 2003 02:08:36 -0000	1.2
@@ -2,10 +2,11 @@
 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('<HTML><HEAD><TITLE>ScreenShot Viewer</TITLE>')
-	myWindow.document.write('<BODY BGCOLOR="#FFFFFF" TEXT="#000000" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">');
+	myWindow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\n')
+	myWindow.document.write('<html><head><title>ScreenShot Viewer</title></head>')
+	myWindow.document.write('<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">');
 	myWindow.document.write('<a href="javascript:self.close();"><img src="'+ fileToOpen +'" border=0></a>');
-	myWindow.document.write('</BODY></HTML>');
+	myWindow.document.write('</body></html>');
 	myWindow.document.close();
 }
 

Index: styles.css
===================================================================
RCS file: /cvsroot/scummvm/web/styles.css,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- styles.css	8 Jan 2003 17:28:22 -0000	1.4
+++ styles.css	28 Feb 2003 02:08:36 -0000	1.5
@@ -1,5 +1,5 @@
 /* Body Document Defaults */
-BODY 		{ background-color: #6699CC; color: #000000; }
+BODY 		{ background-color: #6699CC; color: #000000; margin: 0px; }
 
 /* Link Colors */
 A		{ color: #A50D0D; font-family: Helvetica, Arial, sans-serif; font-size: 10pt; }





More information about the Scummvm-git-logs mailing list