How To Add Status Bar Text with Nice Effect

Posted by Lasantha Bandara File Under : gadget, java script 0 Comment

1.Login to your blogger dashboard and go to Layout --> Page Elements.

2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the one of code given below and click save.

<script language=javascript>
var as = 1;
var bs = 3;
function statusbar()
{
var msg = "TYPE-YOUR-TEXT-HERE";

var msg1 = "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
var msg2 = "||||||||||||||||||";
var msg3 = "//////////////////";
var msg4 = "------------------";
if(as > 4)
as = 1;
if(bs < 1)
bs = 4;
timer = window.setTimeout("statusbar()",100);
var sds = eval("msg"+as);
var sds2 = eval("msg"+bs);
var ss =sds+" "+msg+" "+sds2;
window.status = ss;
as = as+1;
bs = bs-1;
}
statusbar(100);
</script>

Now you are done.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.