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;