wok-current diff sokojs/stuff/sokojs.u @ rev 24801

updated libiodbc and libiodbc-dev (3.52.13 -> 3.52.15)
author Hans-G?nter Theisgen
date Tue Mar 22 10:00:57 2022 +0100 (2022-03-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sokojs/stuff/sokojs.u	Tue Mar 22 10:00:57 2022 +0100
     1.3 @@ -0,0 +1,135 @@
     1.4 +--- main.htm
     1.5 ++++ main.htm
     1.6 +@@ -2,16 +2,66 @@
     1.7 + <!--
     1.8 + SokoJS - Sokoban Game for Javascript
     1.9 + Copyright (C) Michel BUZE
    1.10 +-e-mail : michbuze@club-internet.fr
    1.11 +-website : http://michbuze.club.fr
    1.12 ++e-mail : michel.buze@gmail.com
    1.13 ++website : http://buze.michel.chez.com
    1.14 + 
    1.15 +-Ce programme est un logiciel libre: vous pouvez le redistribuer
    1.16 +-et/ou le modifier selon les termes de la "GNU General Public License",
    1.17 +-version 2 ou (à votre choix) toute version ultérieure.
    1.18 ++Ce programme est un logiciel libre: vous pouvez le redistribuer et/ou le modifier selon les termes de la "GNU General Public License",
    1.19 ++version 2 ou (à votre choix) toute version ultérieure.
    1.20 + Voir : http://www.gnu.org/licenses/gpl.html
    1.21 + -->
    1.22 + <html>
    1.23 + <head>
    1.24 ++<meta name="viewport" content="width=device-width, initial-scale=1">
    1.25 ++<style>
    1.26 ++<!--
    1.27 ++img.r{
    1.28 ++width:30px;
    1.29 ++height:30px;
    1.30 ++}
    1.31 ++
    1.32 ++@media screen and (max-width: 450px) {
    1.33 ++img.r{
    1.34 ++width:29px;
    1.35 ++height:29px;
    1.36 ++}}
    1.37 ++@media screen and (max-width: 435px) {
    1.38 ++img.r{
    1.39 ++width:28px;
    1.40 ++height:28px;
    1.41 ++}}
    1.42 ++@media screen and (max-width: 420px) {
    1.43 ++img.r{
    1.44 ++width:27px;
    1.45 ++height:27px;
    1.46 ++}}
    1.47 ++@media screen and (max-width: 405px) {
    1.48 ++img.r{
    1.49 ++width:26px;
    1.50 ++height:26px;
    1.51 ++}}
    1.52 ++@media screen and (max-width: 390px) {
    1.53 ++img.r{
    1.54 ++width:25px;
    1.55 ++height:25px;
    1.56 ++}}
    1.57 ++@media screen and (max-width: 375px) {
    1.58 ++img.r{
    1.59 ++width:24px;
    1.60 ++height:24px;
    1.61 ++}}
    1.62 ++@media screen and (max-width: 360px) {
    1.63 ++img.r{
    1.64 ++width:23px;
    1.65 ++height:23px;
    1.66 ++}}
    1.67 ++@media screen and (max-width: 345px) {
    1.68 ++img.r{
    1.69 ++width:22px;
    1.70 ++height:22px;
    1.71 ++}}
    1.72 ++
    1.73 ++-->
    1.74 ++</style>
    1.75 + <title></title>
    1.76 + 
    1.77 + <script type="text/javascript">
    1.78 +@@ -200,10 +250,10 @@
    1.79 +       if (level[x + Row * y] == dest) nbBoxin++
    1.80 +       if (level[x + Row * y] == land || level[x + Row * y] == wall)
    1.81 +         document.write("<TD VALIGN=TOP>",
    1.82 +-          "<IMG align=middle width=\"30\" heigth=\"30\" border=0 src=\"", level[x + Row * y], ".gif\"<\/TD>")
    1.83 ++          "<IMG align=middle class=r border=0 src=\"", level[x + Row * y], ".gif\"<\/TD>")
    1.84 +       else
    1.85 +         document.write("<TD VALIGN=TOP><A HREF=\"JavaScript:Move(", x + Row * y, ")\">",
    1.86 +-          "<IMG align=middle width=\"30\" heigth=\"30\" border=0 src=\"", level[x + Row * y], ".gif\"</A><\/TD>")      
    1.87 ++          "<IMG align=middle class=r border=0 src=\"", level[x + Row * y], ".gif\"</A><\/TD>")      
    1.88 +     }
    1.89 +     document.write("<\/TR>")
    1.90 +   }
    1.91 +@@ -211,21 +261,19 @@
    1.92 +   manpos = parent.frames[0].document.forms[0].elements[Row*Col].value
    1.93 +   nbLevel = parent.frames[0].document.forms[0].elements[(Row*Col)+1].value
    1.94 + 
    1.95 +-  document.write("<td>&nbsp;<td><TABLE cellspacing=0 cellpadding=0><TD><CENTER>")
    1.96 ++  document.write("</table><TABLE cellspacing=0 cellpadding=0 style='max-width:300px'><TD>")
    1.97 + 
    1.98 +  document.write("<FORM>",
    1.99 +   "<INPUT TYPE=button onClick=\"Javascript:ReloadLevel();\" value=\"Restart\">",
   1.100 +-  "<INPUT TYPE=button onClick=\"Javascript:UndoMove();\" value=\"Undo\"><p id=\"moves\" style=\"color:white\">0 moves</p></center><br>")
   1.101 ++  "<INPUT TYPE=button onClick=\"Javascript:UndoMove();\" value=\"Undo\"><p id=\"moves\" style=\"color:white\">0 moves</p></center>")
   1.102 +   for (i = 0; i <= maxLevel; i++) {
   1.103 +-    if (i % 9 == 0) document.write("<br>")
   1.104 +-    document.write("<INPUT style='font-size:9px;border:0;padding:0;background-color:black;color:white' TYPE=\"button\" onClick=\"Javascript:GoLevel(", i, ");\" value=\"", (i<9?"&nbsp;&nbsp;":"")+(i+1), "\">")
   1.105 ++    document.write("<INPUT style='font-family:Courier New;font-size:14px;font-weight:bold;border:1;border-color:0;padding:0;margin:0px;background-color:#c0c0c0;color:#404040ù' TYPE=\"button\" onClick=\"Javascript:GoLevel(", i, ");\" value=\"", (i<9?"&nbsp;":"")+(i+1), "\">")
   1.106 +   }
   1.107 +-  document.write("<\/FORM></table></table>")
   1.108 ++  document.write("<\/FORM></table>")
   1.109 + 
   1.110 +   document.images[manpos].src = eval("manD.src")
   1.111 + //-->
   1.112 + </script>
   1.113 + 
   1.114 +-
   1.115 + </body>
   1.116 + </html>
   1.117 +\ No newline at end of file
   1.118 +--- sokojs.htm
   1.119 ++++ sokojs.htm
   1.120 +@@ -24,15 +24,16 @@
   1.121 + <TITLE>Sokoban (C) Michel Buze</TITLE>
   1.122 + <META HTTP-EQUIV="Keywords" CONTENT="boxworld,javascript,sokoban,jeu,jeux,game,buze,web">
   1.123 + <META NAME="Keywords" CONTENT="boxworld,javascript,sokoban,jeu,jeux,game,buze,web">
   1.124 ++<meta name="viewport" content="width=device-width, initial-scale=1">
   1.125 + </head>
   1.126 + 
   1.127 +-<frameset border="0" cols="0,700,*">
   1.128 ++<frameset border="0" rows="0,700,*">
   1.129 + <frame src="level0.htm">
   1.130 + <frame src="0.gif">
   1.131 + <frame src="0.gif">
   1.132 + <noframes>
   1.133 + <body>
   1.134 +-Désolé, votre navigateur doit supporter les cadres (frames)
   1.135 ++Désolé, votre navigateur doit supporter les cadres (frames)
   1.136 + </body>
   1.137 + </noframes>
   1.138 + </frameset>