js桌球小游戲在線試玩地址:http:///game/13/
游戲截圖,查看大圖:
完整代碼,保存到html文件可以試玩:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>js實現web頁面台球游戲特效 - </title>
<link href="http:///game/13/css/keleyi.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http:///game/13/js/keleyi.js"></script>
</head>
<body>
<div id="table">
<div id="scoreBoard"></div>
</div>
<div class="bot">
<div id="tips"></div>
<div class = "ctrl">
<div id="force"></div>
<div id="shootPos">
<div id="dot"></div>
</div>
</div>
</div>
<div style="width:780px;margin:0px auto;clear:both;">來源:<a href="http:///" target="_blank"></a> <a href="http:///game/">更多游戲</a> <a href="http:///a/bjad/mroxdkos.htm" target="_blank">原文</a> <font color="#FFFFFF">適用浏覽器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. </font></div>
</body>
</html>