Re:Javascript实现页面Loading...
<!---
document.write('<DIV id=PendingMessage class=Loading> Loading...<br>');
document.write('<IMG src="/E-Purchase/Web/images/pressbar.gif" border=1 style="border-color:#6795B4"></TD>');
document.write('</DIV>');
var objDiv=document.getElementById("PendingMessage");
theTop=(document.body.offsetHeight - 64)/2;
theLeft=(document.body.offsetWidth - 230)/2;
var msgStyle = '<style type="text/css">';
msgStyle += '.Loading{';
msgStyle += 'font-family:Arial,Helvetica,sans-serif;font-size:9pt;Z-INDEX: 0; LEFT: '+ theLeft +'px;';
msgStyle += 'POSITION: absolute; TOP: '+ theTop +'px;';
msgStyle += '}';
msgStyle += '</style>';
document.write(msgStyle)
function document.onreadystatechange()
{
if (document.readyState == "complete")
{
document.all['PendingMessage'].style.display='none';
}
}
//-->