• 0

Moving title


Question

Someone posted this from a website, but i was wondering how to make it move more, cause i saw one website(forgot where) that it had the title going across the "<title>Neowin Board -> Posting New Topic</title>"


<script language="JavaScript">

var title = "This is my page title";

var t = '';

var s = 0;

var d = true;

function chTitle() {

window.setTimeout( "chTitle()", 250 );

if (d)

t+=">";

else

t = t.substr(1,t.length-1);

s++;

if (s==5)

d = !d;

if (s==10) {

d = !d;

s=0;

}

if(document.all)

document.title = t+title;

else

self.status = t+title;

}

</script>

<BODY onLoad=chTitle();>

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.