tess81 said:
I need to set up our website so that when the mouse hovers over particular
text, an image pops up. I am currently using Frontpage 2003. Any ideas??
Here is some code that does what you want with 3 optional images
<html>
<head>
<script type="text/javascript">
function setLayer(id,txt) {
document.getElementById(id).innerHTML = txt;
}
</script>
</head>
<body>
<div id="layer1" style="position: absolute; left: 30%;"></div>
<span onmouseover="setLayer('layer1','<img src =
"images/1.jpg">')"
onmouseout="setLayer('layer1','')">
Some text for image 1
</span> <br>
<span onmouseover="setLayer('layer1','<img src =
"images/2.jpg">')"
onmouseout="setLayer('layer1','')">
Some text for image 2
</span> <br>
<span onmouseover="setLayer('layer1','<img src =
"images/3.jpg">')"
onmouseout="setLayer('layer1','')">
Some text for image 3
</span>
</body>
</html>