Unnamed Fossil Project

Check-in [3d360b98f1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:big zoom icons!!!
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:3d360b98f1acdc4e24d30235c085f49b08d1bb77
User & Date: Derek 2013-02-22 07:27:45
Context
2013-02-22
07:43
more style changes. check-in: b554e251ed user: Derek tags: trunk
07:27
big zoom icons!!! check-in: 3d360b98f1 user: Derek tags: trunk
07:14
colored buttons :) !!!! check-in: 65b5d28601 user: Derek tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to maze.html.

     1      1   <html><head>
     2      2   <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1">
     3      3   <style>
     4      4   canvas{margin:0px;}
     5      5   body{overflow:hidden;margin:0px;}
     6      6   .menudiv{position:absolute;left:20px;top:0px;height:99%;background-color:#ed9;background-color:rgba(80,80,80,0.75);padding:2px 8px 2px 8px;border-style:solid;border-width:1px;border-color:#000;}
     7         -.menubutton{border-style:ridged;border-width:2px;height:12%;max-height:85px;border-color:#aaa;background-color:#eee;
            7  +.menubutton{border-style:ridged;border-width:2px;height:12%;max-height:85px;border-color:#444;border-style:solid;background-color:#eee;
     8      8   font-weight:bold;width:100%;padding:0px 8px 0px 8px;margin:2.5% 0px 2.5% 0px;}
            9  +.bigtxt{font-size:180%;}
     9     10   /*.menubutton:hover{border-color:#c80;background-color:#ec7;}*/
    10     11   /*.menubutton:hover{border-style:outset;}*/
    11         -.menubutton:hover{border-color:#fff;border-style:solid;}
           12  +.menubutton:hover{border-color:#fff;}
    12     13   .menubutton:active{border-style:solid;background-color:#888;border-color:#000}
    13     14   </style><script>//<!--
    14     15   
    15     16   //globals
    16     17   var canvas,ctx,mazecanvas,menudiv,
    17     18   arr=[],width=30,height=30,pxsize=2,
    18     19   x,y,goalx,goaly,startx,starty,
................................................................................
   123    124   
   124    125   var _=addbutton;
   125    126   _("Start","#cfc",function(){x=startx+0.5,y=starty+0.5;victory=false;testonly=false;playmode();});
   126    127   _("File","#cbf",function(){});
   127    128   eb=_("Edit","#fb6",function(){edit?playmode():(editmode(),testonly=true);});
   128    129   _("Reset","#faa",function(){reset(180,100);});
   129    130   _("Help","#acf",function(){alert(helpmsg);});
   130         -_("+",0,function(){screenblocks*=0.8;});
   131         -_("-",0,function(){screenblocks/=0.8;});
          131  +zi=_("+",0,function(){screenblocks*=0.8;});
          132  +zo=_("-",0,function(){screenblocks/=0.8;});
          133  +zi.className+=" bigtxt";zo.className+=" bigtxt";
   132    134   }
   133    135   
   134    136   // onload
   135    137   window.onload=function(){
   136    138   if(!load())reset(50,50);
   137    139   canvas=crElem("canvas",document.body);
   138    140   mazecanvas=crElem("canvas");