GOOGLE的《吃豆超人》JavaScript LOGO游戏
原文地址:http://blog.zenw.org/index/view/id/8
就在刚才,使用GOOGLE查看明天的天气,看到了GOOGLE为纪念《吃豆超人》30周年而更新的《吃豆超人》JavaScript LOGO游戏。很有意思。而且还支持双打(原来的“手气不错”按钮被设置为了双打启动按钮“Insert Coin”)。来试试吧。
如下图
刚刚进入后的画面
游戏中的画面
双打的画面
相关文档:
首先是十个JS FRAMEWORK
jquery
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
jquery UI
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
Chrome Frame
<script src=& ......
1.javascript与Html中的调用问题。
在javascript中要想更改html中的一些属性值,特别是在页面内容较多时,务必使用document.getElementById(id)的方式进行,否则javascript将不能更改属性!
2.Date类。
在Date类中的getMonth()等方法返回值为number。因此可以使用数组存储月份信息如month=[“1月”,&ldq ......
<html>
<head>
<title>changePage</title>
</head>
<body>
<table id="pic" cellpadding="0" cellspacing="0" border="1" width="200" height="100" bordercolor="red">
<tr>
<td>picture chanage!</td>
</tr>
</table>
< ......
个人记录在案,以免遗忘。
<!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>
<title>无标题页</title>
<s ......