Anubis187 Posted March 26, 2003 Share Posted March 26, 2003 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 More sharing options...
Question
Anubis187
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