
演示网站 阳光高尔夫


编写代码
<!DOCTYPE html>
<html lang="en" manifest="manifest.mf"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta charset="utf-8">
<!-- Set the title bar of the page -->
<title>阳光高尔夫</title>
<!-- Set the background colour of the document -->
<style>
body {
background: #222;
color:#cccccc;
margin: 0px;
padding: 0px;
border: 0px;
}
canvas {
image-rendering: optimizeSpeed;
-webkit-interpolation-mode: nearest-neighbor;
margin: 0px;
padding: 0px;
border: 0px;
}
:-webkit-full-screen #canvas {
width: 100%;
height: 100%;
}
div.gm4html5_div_class
{
margin: 0px;
padding: 0px;
border: 0px;
}
/* START - Login Dialog Box */
div.gm4html5_login
{
padding: 20px;
position: absolute;
border: solid 2px #000000;
background-color: #404040;
color:#00ff00;
border-radius: 15px;
box-shadow: #101010 20px 20px 40px;
}
div.gm4html5_cancel_button
{
float: right;
}
div.gm4html5_login_button
{
float: left;
}
div.gm4html5_login_header
{
text-align: center;
}
/* END - Login Dialog Box */
:-webkit-full-screen {
width: 100%;
height: 100%;
}
</style>
<!--Analytics-->
</head>
<body >
<div class="gm4html5_div_class" id="gm4html5_div_id" style="padding-top: 0px; position: absolute; height: 2048px;">
<!-- Create the canvas element the game draws to -->
<canvas id="canvas" width="320" height="480">
<p>您的浏览器不支持 HTML5 canvas.</p>
</canvas>
</div>
<!-- Run the game code -->
<script type="text/javascript" src="js/golfblast.min.js"></script>
<script src="js/tph_djs.js" type="text/javascript"></script>
</body></html>
注册免费下载
抱歉,隐藏内容须成功 评论本文 后刷新可见!
