演示网站 js网页小游戏老虎不吃素

编写代码
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>老虎不吃素js小游戏 www.bootstrapmb.com</title>
<meta name="keywords" content="老虎不吃素"/>
<meta name="description" content="老虎不吃素"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<style type="text/css">
html, body{height: 100%; width: 100%; margin: 0; padding: 0; background-color:black; -ms-touch-action:none;}
body, html, canvas, img{
-webkit-tap-highlight-color:transparent;
}
#rotateImage {
position: absolute;
top: 50%;
left: 50%;
width: 250px;
height: 330px;
margin-top: -165px;
margin-left: -125px;
}
</style>
<script>
function onLoadIndex()
{
var music = document.getElementById("controls");
music.volume = 0.5;
window.ZCJGame.initialize();
window.checkOrientation();
}
</script>
</head>
<body onLoad="onLoadIndex()">
<canvas id="canvas"></canvas>
<audio id="controls" loop="loop">
<source type="audio/mpeg"/>
</audio>
<img style="display:none;" id="rotateImage" src="rotate.png" />
<script src="js/wohoo.js?v4"></script>
</body>
</html>
注册免费下载
抱歉,隐藏内容须成功 评论本文 后刷新可见!
