document.onreadystatechange

document.onreadystatechange = function(){
if(document.readyState=='complete'){
document.getElementById('page_overlay').style.display = "none";
}
};

你可能感兴趣的:(JavaScript)