Last active
January 28, 2017 13:54
-
-
Save stanwu/0b0dffc223251bbac04fd86c0726614e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style type='text/css'> | |
| #loading { | |
| background: #ffffff; | |
| position:absolute; width:100%; height:24; | |
| top:0; bottom:0; left:0; right:0; margin:auto; | |
| z-index: 999999999; | |
| } | |
| </style> | |
| <div id='loading'> | |
| <div id='loading-msg'> | |
| <span><table bgcolor=#ff0000><tr><td><font color=#ffffff>Loading…</fontable></span> | |
| </div> | |
| </div> | |
| : | |
| : | |
| your code here | |
| : | |
| : | |
| <script> | |
| //put this code on end of your page | |
| window.onload=function() { | |
| var Layer_choice; | |
| Layer_choice = eval("document.getElementById('loading')"); | |
| Layer_choice.style.display='none'; | |
| } | |
| </script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment