2016年12月2日

总结javascript中的全局变量和局部变量的区别以及声明函数和调用函数的区别

摘要: 阅读全文

posted @ 2016-12-02 10:52 iwebkit 阅读(4627) 评论(0) 推荐(0) 编辑

2016年12月1日

jquery的各种隐藏显现动画的区别

摘要: 阅读全文

posted @ 2016-12-01 09:20 iwebkit 阅读(220) 评论(0) 推荐(0) 编辑

2016年11月30日

jQuery中的width() innerWidth() outerWidth() outerWidth(true)的区别

摘要: width()仅仅包括content(内容) innerWidth()包括content(内容)和padding(补白) outerWidth()包括content(内容),padding(补白)和border(边框) outerWidth(true)包括content(内容),padding(补白 阅读全文

posted @ 2016-11-30 13:36 iwebkit 阅读(839) 评论(0) 推荐(0) 编辑

jquery用一个事件控制另一个事件是否执行(不是删除事件)

摘要: 想用click事件控制mouseover事件的执行,如果用删除绑定mouseover事件以后就不能再使用mouseover了,于是只需要设置一个全局变量,并赋值false,当点击click事件,将全局变量设置成true,然后在mouseover中作全局变量的判断,来决定是否执行mouseover事件中的函数。 ... 阅读全文

posted @ 2016-11-30 10:16 iwebkit 阅读(3289) 评论(0) 推荐(0) 编辑

导航