JavaScript DHTML/HTML/Header
H1 mouse in and mouse out
<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
function colorchange()
{
head1.style.color = "red";
}
function colorchangeback()
{
head1.style.color = "black";
}
</script>
</head>
<body>
<h1 id="head1" onMouseover="colorchange()" onMouseout="colorchangeback()">
Mouse mouse in!</h1>
</body>
</html>
HTML Header profile
<html>
<head id="myHeader">
<script language="JavaScript">
function function1() {
alert("The following profile has been added:\n"http://www.wbex.ru"");
document.all.myHeader.profile = "http://www.wbex.ru";
}
</script>
</head>
<body>
<input type="button" value="Add profile" onClick="function1();">
</body>
</html>