New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact

<html>
<head>
<script>

<style>
.borderimage{
border:1px solid white;
}
</style>
<script language="JavaScript1.2">

/*
Highlight Image Script II-
Dynamic Drive (www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

function borderit(which,color){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
which.style.borderColor=color
}
}

</script>

</script>
</head>

<body>

<img src="man.gif" class="borderimage" onMouseover="borderit(this,'black')" onMouseout="borderit(this,'white')">

</body>
</html>