摘要:
We have the following lists:touches: A list of information for every finger currently touching the screentargetTouches: Like touches, but is filtered to only the information for finger touches that started out within the same nodechangedTouches: A list of information for every finger involved in the 阅读全文
posted @ 2013-12-12 20:14
sexy_girl
阅读(397)
评论(0)
推荐(0)
摘要:
/** * Author: humanhuang * Date: 13-12-12 */var canvas = document.getElementById("canvas"), stacks = [{ color: "red" }, { color: "blue" }, { color: "green" }, { color: "black" }, { color: "yellow" }, { color: "orange" }];function 阅读全文
posted @ 2013-12-12 19:52
sexy_girl
阅读(286)
评论(0)
推荐(0)
摘要:
chrome override 阅读全文
posted @ 2013-12-12 18:05
sexy_girl
阅读(173)
评论(0)
推荐(0)
摘要:
iOS touch test ( Multi-touch ) 阅读全文
posted @ 2013-12-12 18:04
sexy_girl
阅读(193)
评论(0)
推荐(0)
摘要:
CSS3卡牌翻牌效果 阅读全文
posted @ 2013-12-12 18:01
sexy_girl
阅读(805)
评论(0)
推荐(0)
摘要:
OrientationChange Event Example Calculating orientation... This will only work on Safari on the iPhone or iPod Touch. 阅读全文
posted @ 2013-12-12 16:12
sexy_girl
阅读(222)
评论(0)
推荐(0)
摘要:
BeforeUnload Event Example Try to navigate away from this page. 阅读全文
posted @ 2013-12-12 16:11
sexy_girl
阅读(181)
评论(0)
推荐(0)
摘要:
ContextMenu Event Example Right click or Ctrl+click me to get a custom context menu. Click anywhere else to get the default context menu. Nicholas' site Wrox site Yahoo! 阅读全文
posted @ 2013-12-12 16:10
sexy_girl
阅读(266)
评论(0)
推荐(0)
摘要:
Hash Change Example Click each of these links to change the URL hash. Up Down This example only works in browsers that onhashchange. hashchange事件支持 IE8 FF3.6 chrome operaevent.oldURL, newURL 只有FF6, chrome opera 阅读全文
posted @ 2013-12-12 16:08
sexy_girl
阅读(221)
评论(0)
推荐(0)
摘要:
EventUtil.addHandler(window, "load", function(){ //create a new element. var script = document.createElement("script"); EventUtil.addHandler(script, "readystatechange", function(event){ event = EventUtil.getEvent(event); var ta... 阅读全文
posted @ 2013-12-12 16:05
sexy_girl
阅读(230)
评论(0)
推荐(0)
摘要:
setTimeout(function(){ alert("settimeout"); },0); EventUtil.addHandler(window, "DOMContentLoaded", function(event){ alert("Content loaded."); }); EventUtil.addHandler(window, "load", function(event){ alert("Window loaded."); }); 阅读全文
posted @ 2013-12-12 16:03
sexy_girl
阅读(153)
评论(0)
推荐(0)
摘要:
var menu = { // 当前状态 currentState: 'hide', // 绑定事件 initialize: function() { var self = this; self.on("hover", self.transition); }, // 状态转换 transition: function(event){ switch(this.currentState) { case "hide": this.currentState = 'show'; ... 阅读全文
posted @ 2013-12-12 13:18
sexy_girl
阅读(402)
评论(0)
推荐(0)
浙公网安备 33010602011771号