[Javascript] title

Dan Costea costea.dan at ssi-schaefer.ro
Thu Jan 16 00:01:26 CST 2003


Here it is an example:

<html>
<head>
<title> Example </title>
<script type="text/javascript">
function testing ()
{
document.title = new Date ();
}
</script>
</head>
<body onMouseMove="testing ();">
the title is changing on mouse move or when you click the button.
<br/>
<button onclick="testing ();">just testing</button>
</body>
</html>


Dan.

----- Original Message ----- 
From: "aw" <alfwro at wp.pl>
To: <javascript at LaTech.edu>
Sent: Thursday, January 16, 2003 1:48 AM
Subject: [Javascript] title


> Hi,
> 
> I there in JavaScript any way to change dynamicaly (using 
> onMouse events) Title of the document?
> 
> greetings
> andrew
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list