摘要: 1 function addLoadEvent(fun) { 2 var oldonload = window.onload; 3 if (typeof window.onload != 'funcation') { 4 window.onload = fun; 5 } 6 else { 7 window.onload = function () { 8 oldonload(); 9 fun();10 }11 }12 } 阅读全文
posted @ 2013-06-11 15:44 David Huang 阅读(193) 评论(0) 推荐(0) 编辑