摘要: click() 方法是当按钮点击事件被触发时会调用一个函数。 dblclick() 当双击元素时,会发生 dblclick 事件。 mouseenter() 当鼠标指针穿过元素时,会发生 mouseenter 事件。 mouseleave() 当鼠标指针离开元素时,会发生 mouseleave 事件 阅读全文
posted @ 2018-10-09 15:12 Raya73 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 摘自http://www.runoob.com/jquery/jquery-selectors.html 阅读全文
posted @ 2018-10-09 14:34 Raya73 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 找到config文件夹下的index.js 阅读全文
posted @ 2018-10-09 11:12 Raya73 阅读(140) 评论(0) 推荐(0) 编辑
摘要: <img class="lazy" src="" x-src="背景图地址" /> $(document).ready(function(){ $("img").each(function(){ if( ($(this).offset().top + $(this).height()/8) < $( 阅读全文
posted @ 2018-10-09 11:08 Raya73 阅读(239) 评论(0) 推荐(0) 编辑