Javascript implements the page loading progress bar code. For more information, see.
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN "" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <Html xmlns =" http://www.w3.org/1999/xhtml "> <HEAD> <TITLE> New Document </TITLE> <meta http-equiv =" Content-Type "content =" text/html; charset = gb2312 "/> <script type =" text/javascript "> <! -- Document. write ('<p id = "loadbox"> loading, please be patient </p>'); window. onload = function () {document. getElementById ('loadbox '). style. display = "none"; document. getElementById ('imglist '). style. display = "block" ;}// --> script <style type = "text/css"> <! -- Body {background-color: #000 ;}# imglist {display: none; color: # FFFFFF ;}# loadbox {width: 160px; height: 60px; position: absolute; top: 50%; left: 50%; margin-left:-80px; margin-top:-30px;} # loadbox span {height: 30px; display: block; width: 160px; text-align: center; color: # FFF; font-size: 12px ;} --> </style> </HEAD> <BODY> <p id = "imglist"> Owen! </P> </BODY> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]