nnj 2010-11-05
代码如下:
<body onselectstart="return false" oncopy="return false" oncut="return false"> <center> <div id="main" style="width: 720px; height: 550px;"> <div id="canvas" style='width: 540px; height: 540px; float: left'> </div> <div id="tools"> <div id="logo"> JSUKUDO </div> <div id="level"> Level: </div> <div id="lefts"> </div> <div id="timer"> Timer: </div> <div id="leftsg"> </div> <div id="btns"> <input type='button' value='Easy' onclick="$(g.canvas).gensukudo(2);$('#level').html('LEVEL:'+$(this).val());"> <br /> <input type='button' value='Medium' onclick="$(g.canvas).gensukudo(3);$('#level').html('LEVEL:'+$(this).val());"> <br /> <input type='button' value='Hard' onclick="$(g.canvas).gensukudo(4);$('#level').html('LEVEL:'+$(this).val());"> <br /> <input type='button' value='Restart' style="display: none;" onclick="$('#SukudoTable').fadeOut(500);$('.c').each(function(){if(this.num()!=0)$(this).setempty().check();});$('#SukudoTable').fadeIn(500);"> <br /> <br /> <b><a href="#" onclick="$(g.canvas).unblock().block({ message: gameintruce, css: {width:'480px', border: '3px solid #a00' } });"> GameIntroduce</a> <a href="#" onclick="$(g.canvas).unblock().block({ message: aboutgame, css: {width:'400px', border: '3px solid #a00' } });"> AboutSoftware</a> </b> </div> <div id="err"> </div> </div> </center> </body>