摘要: scroll事件:滚动元素时或者是使用scroll()方法会触发scroll事件 scroll()方法 触发选中元素的scroll事件 $(selector).scroll()//无参数 规定scroll事件被触发后的函数 $(selector).scroll( function ) functio 阅读全文
posted @ 2016-05-18 10:55 Carolina 阅读(1066) 评论(0) 推荐(0) 编辑
摘要: 返回第一个匹配元素的高度(像素数) $(selector).height(); 设置所有匹配元素的高度(像素数) $(selector).height(50); 使用函数设置所有匹配元素高度(像素数) $(selector).height( function(index, oldheight) ) 阅读全文
posted @ 2016-05-18 10:37 Carolina 阅读(695) 评论(0) 推荐(0) 编辑