<div id="contentdiv"> <div id="startdiv"> <button onclick="begin()">开始游戏</button> </div> <div id="maindiv"> <div id="scorediv"> <label>分数:</label> <label id="label">0</label> </div> <div id="suspenddiv"> <button>继续</button><br/> <button>重新开始</button><br/> <button>回到主页</button> </div> <div id="enddiv"> <p class="plantext">飞机大战分数</p> <p id="planscore">0</p> <div><button onclick="jixu()">继续</button></div> </div> </div> </div>
演示地址:http://www.xwcms.net/js/qttx/91908.html