Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script language="javascript">
- document.write('<div id="loading">Loading data - please wait...<img src="http://www.darkmatter101.org/site/wp-content/themes/mimbo2.2/images/mashup/ajax-loader.gif" width="12" height="12" border="0" alt=""><br/></div>');
- // Created by: Simon Willison | http://simon.incutio.com/
- function addLoadEvent(func) {
- var oldonload = window.onload;
- if (typeof window.onload != 'function') {
- window.onload = func;
- } else {
- window.onload = function() {
- if (oldonload) {
- oldonload();
- }
- func();
- }
- }
- }
- addLoadEvent(function() {
- document.getElementById("loading").style.display="none";
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement