Javascripts > Javascript Links > A Link that uses the Title Bar
Script Title: A Link that uses the Title Bar
Description: This script allows a onMouseOver command to put a message on the Title Bar, acording to the message within the link function. Of course onMouseOut cammand returns the original Title to the Title Bar.
Example: AvailableJava-Scripts.net
Credit: Script created by
Copy the following code into your HEAD tags.<script language="javascript"> //Putting the Original title into a global variable var title = document.title //Don't edit below this line function changeTitle(msg){ document.title = msg } function oldTitle(){ document.title = title } </script>
Copy the following code into the BODY of your html page.<a href="http://www.java-scripts.net" onMouseOver="changeTitle('Go to Java-Scripts.net')" onMouseOut="oldTitle()">Java-Scripts.net</a>
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email