How To Add Status Bar Text with Blink Effect

Posted by Lasantha Bandara File Under : gadget, java script 1 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;
function statusbar()
{
var msg = "TYPE-YOUR-TEXT-HERE";
var msg1 = "* * * * * * * * * * * * ";
var msg2 = " ";
if(as == 2 )
as = 1;
else
as = 2;
timer = window.setTimeout("statusbar()",100);
var sds = eval("msg"+as);
var ss = " "+sds+" "+msg+" "+sds;
window.status = ss;
}
statusbar(100);
</script>

Now you are done.

1 thought on “How To Add Status Bar Text with Blink Effect

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.