Thursday, August 20, 2009

Make Your Blogger Page Title Scroll Using Javascript


Scroll your all blog pages title from left to right.Yes friends as you would have seen few blogs using this hack like to make scroll there blog page title i.e moving from left to right.As not many blogs are using this as it depends only upon admin likings.If you also want to have this hack then read on for sure to implement this hack.
Just Login To Blogger > Layout > Edit Html


<title><data:blog.pagetitle/></title>

If you using Swap Title Hack you will find these codes :-

<b:if cond='data:blog.pageName == ""'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/> | <data:blog.title/></title>
</b:if>


So what you have to do is just copy the javascript codes from below and paste it after the any of the above code which one you are using.


<script>
//Document title scroller- By Graeme Robinson (me@graemerobinson.co.uk)
//Exlusive permission granted to Dynamic Drive to include this script in their DHTML archive.
//For full source code, terms of use visit http://www.dynamicdrive.com
var repeat=1 //enter 0 to not repeat scrolling after 1 run, othersise, enter 1
var title=document.title
var leng=title.length
var start=1
function titlemove() {
titl=title.substring(start, leng) + title.substring(0, start)
document.title=titl
start++
if (start==leng+1) {
start=0
if (repeat==0)
return
}
setTimeout("titlemove()",140)
}
if (document.title)
titlemove()
</script>


And now save your template.And you will now see your blogger title scrolling.

0 comments:

Post a Comment

 

Easy Tutorial's | Copyright 2009 Tüm Haklar? Sakl?d?r | Blogger Templates by GoogleBoy