Astro Lesson #24:mousing.around.with.the.java.java.jive
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
<!-- hide from non JavaScript browsers
if (document.images) {
var mapn = new Image();
mapn.src = "pics/starmap.jpg";
var mapa = new Image ();
mapa.src = "pics/starmapa.gif";
}
function act(imgName) {
if (document.images)
document[imgName].src = eval (imgName + 'a.src');
}
function inact(imgName) {
if (document.images)
document[imgName].src = eval (imgName + 'n.src');
}
// - stop hiding -->
</SCRIPT>
</head>
<body>
<a href="map.html" onMouseOver="act('map')"
onMouseOut="inact('map')">
<img src="pics/starmap.jpg" name="map" alt="Star Map" width=100 height=62 border=0>
< /a >
</body>
</html>