javascript备忘录

JS及库

多图上传:diyUpload
弹窗:jquery.ui.box
缓动函数速查表:
  http://easings.net/zh-cn   
  http://www.xuanfengge.com/easeing/easeing/
jQuery Transit 过渡效果:
  http://code.ciaoca.com/jquery/transit/demo/
animat速查:
  http://leaverou.github.io/animatable/#
 
父元素调用iframe中的子元素
document.getElementById('aaaa').contentWindow.document.getElementById('bbbb')
aaaa为父元素iframe 的id
bbbb为子元素id
 
jq 子元素获得父元素
$(parent.document.body).find('.section').find('.index_s6')
js
window.parent.document.getElementById("printTabFrame").src;  
parent.location.reload();
top.document.location.href='xxx'
原文地址:https://www.cnblogs.com/binghuo000/p/6397391.html