摘要: 1. 2. 阅读全文
posted @ 2016-05-16 23:28 shamgod 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 一、The options object 1.增加阴影效果 Calling this method now requires us to provide an object containing the option values: 二、Default parameter values 三、Call 阅读全文
posted @ 2016-05-16 23:14 shamgod 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 一、Object method context 1.We have seen that adding global functions requires extending the jQuery object with new methods. Adding instance methods is 阅读全文
posted @ 2016-05-16 22:52 shamgod 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 一、 1.To add a function to the jQuery namespace, we can just assign the new function asa property of the jQuery object: Now, in any code that uses this 阅读全文
posted @ 2016-05-16 22:07 shamgod 阅读(217) 评论(0) 推荐(0) 编辑
haha