Explaining the Ddocument Ob Model
function addLoadEvent(func){ //不管在页面加载完毕执行多少个函数,都应付自如 var oldonload = window.onload;if(typeof window.onload != 'function'){window.onload = func;}else{window.onload = function(){oldonload();func();}}}function displayAccesskeys(){//检查兼容性if(!document.getElementsByTagName||!document.createElement||!document.createTextNode) return false;var links = document.getElementsByTagName("a");var akeys = new Array();for(var i = 0; i
浏览器效果预览