Share This Post!



With this script we will make the blog title that appears in the browser title bar keep moving (canopy type).

You can see how it works just above in the title bar appears and see how the title of my blog moving.

To implement it in your blog, just go to Tempate> Edit HTML and expand widget templates without pressing both keys look: (Ctrl + F) to locate: </body> and just above paste the following code:


<script type='text/javascript'>
var txt=" YOUR BLOG TITLE.";
var espera=100;
var refresco=null;
function rotulo_title() {
document.title=txt;
txt=txt.substring(1,txt.length)+txt.charAt(0);
refresco=setTimeout("rotulo_title()",espera);}
rotulo_title();
</script>

You just have to put this red where the title of your blog and you can change the speed at number 100 major number, the title of your blog anger more slowly. 

6 comments: