Jump to content
xisto Community
Sign in to follow this  
shiv

Automatic Title/status Text Rotation! Change the text in you Title Bar and Status Bar after a preset Interva

Recommended Posts

Notice from szupie:

 

Below is the code required to rotate the text used in the title bar and status bar

<script LANGUAGE='JavaScript'><!--var default1 = "defautl title"; // only shown once at page loadvar text1 = "title2";var text2 = "title 3";var text3 = "title 4";var changeRate = 2000; // 1000 = 1 secondvar messageNumber = 0;function changeStatus() {  if (messageNumber == 0) {	 window.status=default1;	 document.title=default1;	}  else if (messageNumber == 1) {	 window.status=text1;	 document.title=text1;	}  else if (messageNumber == 2) {	 window.status=text2;	 document.title=text2;	 }  else if (messageNumber == 3) {	 window.status=text3;	 document.title=text3;	 messageNumber = 0;	 }  messageNumber++;  setTimeout("changeStatus();",changeRate);}changeStatus(); // leave here to run right away// --></SCRIPT>

 

njoy!

 

shiv

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.