会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Unreal World
博客园
首页
新随笔
联系
订阅
管理
2015年6月25日
图片load事件和缓存
摘要: If thesrcis already set, then the event is firing in the cached case, before you even get the event handler bound. To fix this, you can loop through c...
阅读全文
posted @ 2015-06-25 11:51 Unreal World
阅读(1216)
评论(0)
推荐(0)
2015年5月27日
页面滚动到指定位置
摘要: 在chrome中使用body滚动:$("body").animate({"scrollTop":200},600)但是在firefox中却要使用html:$("html").animate({"scrollTop":200},600)综合一下,这样就都可以滚动了(其他浏览器也没问题):$("html...
阅读全文
posted @ 2015-05-27 19:03 Unreal World
阅读(329)
评论(0)
推荐(0)
2015年5月14日
操作Iframe元素的方法
摘要: 操作iframe元素:方法一:直接选择iframe中的元素 —— $("body",$("#iframe").contents());方法二:在iframe中查找元素 —— $("#iframe").contents().find("body");
阅读全文
posted @ 2015-05-14 11:32 Unreal World
阅读(391)
评论(0)
推荐(0)
公告