2018年1月3日

摘要: 移除事件 unbind(type [,data]) //data是要移除的函数 $('#btn').unbind("click"); //移除click $('#btn').unbind(); //移除所有 阅读全文
posted @ 2018-01-03 21:57 关玉珊 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1、 返回偏移坐标 $(selector).offset(); top: $(selector).offset().top; left: $(selector).offset().left; 2、设置偏移坐标: $(selector).offset({top:value,left:value}); 阅读全文
posted @ 2018-01-03 21:44 关玉珊 阅读(526) 评论(0) 推荐(0) 编辑

导航