| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 621 人关注过本帖
标题:(html5)请问为何我的按钮无法点击
只看楼主 加入收藏
g13141315
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2014-8-3
结帖率:0
收藏
已结贴  问题点数:20 回复次数:2 
(html5)请问为何我的按钮无法点击
"单人战役"和"称霸网络"这两个文本按钮 谢谢帮助
<body>
<div id = "gamecontainer">
<div id = "gamestartscreen" class = "gameplayer">
<span id = "singleplayer" onclick = "singleplayer.start();">单人战役</span><br>
<span id = "multiplayer" onclick = "multiplayer.start();">称霸网络</span><br>
</div>
<div id = "missionscreen" class = "gamelayer">
<input type = "button" id = "entermission" onclick = "singleplayer.play();">
    <input type = "button" id = "exitmission" onclick = "singleplayer.exit();">
        <div id = "missonbriefing">欢迎来到你的第一关
        </div>
        </div>
<div id = "gameinterfacescreen" class = "gameplayer">
    <div id = "gamemessages"></div>
    <div id = "callerpicture"></div>
    <div id = "cash"></div>
    <div id = "sidebarbuttons"></div>
    <canvas id = "gamebackgroundcanvas" height = "400" width = "480"></canvas>
    <canvas id = "gameforegroudcanvas" height = "400" width = "480"></canvas>
</div>


<div id = "loadingscreen" class = "gamelayer">
    <div id = "loadingmessage"></div>
    </div>
</div>
</body>
搜索更多相关主题的帖子: button 网络 
2014-08-03 22:17
寒风中的细雨
Rank: 17Rank: 17Rank: 17Rank: 17Rank: 17
等 级:贵宾
威 望:66
帖 子:1710
专家分:8645
注 册:2009-9-15
收藏
得分:10 
没有对应的样式呀!
2014-08-08 19:30
keefelu
Rank: 2
等 级:论坛游民
威 望:2
帖 子:27
专家分:40
注 册:2014-8-12
收藏
得分:10 
singleplayer.play(),singleplayer.exit();没有这2个JS触发事件函数吧
2014-08-12 10:12
快速回复:(html5)请问为何我的按钮无法点击
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020442 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved