最近在做一个js小游戏记录一下: 可在代码中的任何地方用下列常数代替实际值: 常数 值 描述 vbKeyLButton 0x1 鼠标左键 vbKeyRButton 0x2 鼠标右键 vbKeyCancel 0x3 CANCEL 键 vbKeyMButton 0x4 鼠标中键 vbKeyBack 0x8 BACKSPACE 键 vbKeyTab 0x9... Read More
posted @ 2010-12-20 15:20
呵
Views(399)
Comments(0)
Diggs(0)
ie6,7中用getAttribute()方法取class总为null 查了一下 原来得用getAttribute(”className”)才能取得 所以 可以类似的还有float属性 都是js 的保留关键字 所以可以这样写 ie: Read More
posted @ 2010-12-20 10:59
呵
Views(534)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号