[JavaScript] Moving Website Title

[JavaScript] Moving Website Title

Paste this code into your tags

PHP Code:

var tit = document.title;
var c = 0;
function writetitle() {
if (document.all || document.getElementById) {
document.title = tit.substring(0,c);
if (c==tit.length) {
c = 0;
setTimeout(“writetitle()”, 400)
}
else {
c++;
setTimeout(“writetitle()”, 200)
}
}
}
writetitle()

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: