document title scroller

<title>If the above link does not work in your email client please copy and past this link into your browser</title>
<script>

var repeat=0 //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>

Tags:

This entry was posted on Sunday, July 27th, 2008 at 8:27 am and is filed under snipplets. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.