25 February 2009

Place an animated page loading status in blogger

First, select only one of the first of two animated preloader service Preloader or Ajaxload, then save the results of the image in the gif format. I have, please upload an image file to the hosting before you (which can be a free geocities.com)

The second step you please open notepad, then save the code below with the name preloader.js (make sure the extension ending JS, not TXT)

var ld = (document.all);
var ns4 = document.layers;
var ns6 = document.getElementById & &! document.all;
var ie4 = document.all;
if (ns4)
ld = document.loading;
else if (ns6)
ld = document.getElementById ( "loading"). style;
else if (ie4)
ld = document.all.loading.style;
function init ()
(
if (ns4) (ld.visibility = "hidden";)
else if (ns6 | | ie4) ld.display = "none";
)


I have, please upload a file to hosting you preloader.js (which can be a free geocities.com)
How to Install the blogger:

Just heading directly to the address EditHTML, search tags <body> <body> Then replace the tags with the code below, don't forget to replace the red code below and adjust itself to the image storage location address and your JS file.

<body onLoad='init()'>

<div id='loading' style='position:absolute; width:100%; text-align:center; top:300px;'> <img border ='0 'src =' http://location-save.com / pictpreloader.gif'/></ div>

<script src='http://location-save/preloader.js' type='text/javascript'/>


No comments:

Post a Comment