06 2015 档案

摘要:Wave 1 Example from Foundation HTML5 Animation with JavaScript View Code其中util.js/** * Normalize t... 阅读全文
posted @ 2015-06-28 23:16 xiezhenzhong 阅读(477) 评论(0) 推荐(0)
摘要:Rotate to Mouse Example from Foundation HTML5 Animation with JavaScript Move mouse on canvas element. ... 阅读全文
posted @ 2015-06-28 21:37 xiezhenzhong 阅读(1491) 评论(0) 推荐(0)
摘要:react为每个组件ti提供了生命周期的钩子函数去响应不同的时刻-创建期存在期和销毁期。实例化期:当首次使用一个组件类时候:getDefaultProps 不是第一次调用时候,不会调用此方法getInitialStatecomponentWillMountrendercomponentDidAmo... 阅读全文
posted @ 2015-06-21 11:58 xiezhenzhong 阅读(228) 评论(0) 推荐(0)
摘要:给浏览器注册事件(function() {var event = new Event('UIXClick');//注册事件名称event["data"]='vote';//进行传的参数event["origin"]='1135443144';//进行传的参数window.dispatchEvent(... 阅读全文
posted @ 2015-06-12 16:18 xiezhenzhong 阅读(252) 评论(0) 推荐(0)
摘要:无标题文档 static:对象遵循常规流。top,right,bottom,left等属性不会被应用。 relative: 对象遵循常规流,并且参照自身在常规流中的位置通过top,right,bottom,left属性进行偏移时不影响常规流中的任何元素。 absolute:对象脱离常... 阅读全文
posted @ 2015-06-10 21:26 xiezhenzhong 阅读(916) 评论(0) 推荐(0)