1、阻止默认行为
// 非 ie 和 ie
if(e.preventDefault){e.preventDefault();}else{return value = false;}
2、阻止冒泡
if(e.stopPropagation){e.Propagation()}else{e.cancelBubble = true;}
3、获取style样式
if(window.getComputedStyle){window.getComputedStyle();}{return obj.curretnStyle();}
4、事件对象
e = e || event;
5、隐藏高度
scrolltop = document.documentElement.scrollTop || document.body.scrollTop;