Hi
This function allows text to be written on another part of the screen, when the mouse is moved over the imagemap. This is at http://homepages.ihug.co.nz/~usateden/panacea/entry.htm It works well in Internet Explorer, but not in Netscape. Is there a possibility of modifying the function, so that it can work in both browsers.
<script>
function overout(divname,content) {
document.getElementById(divname).innerHTML = content;
}
</script>
</head>
<table border="0" cellpadding="0" width="90%" cellspacing="0">
<tr>
<td width="25%" valign="bottom"><a href="artistofmonth.htm"><img src="first.GIF"
onmouseover="overout('side','Find out who is the Panacea Artist of the Month')" ;
onmouseout="overout('side','')" ; border="0" width="227" height="138"></a></td>
<td width="25%" valign="bottom"><img src="second.GIF"
onmouseover="overout('side','Come in and see the Panacea Art Gallery')" ;
onmouseout="overout('side','')" ; width="183" height="138"></td>
<td width="25%" valign="top"></td>
</tr>
<tr>
<td><div id="side" style="width:700px; height:700px; font:14pt;"></div></td>
</tr>
bye
Allyson
This function allows text to be written on another part of the screen, when the mouse is moved over the imagemap. This is at http://homepages.ihug.co.nz/~usateden/panacea/entry.htm It works well in Internet Explorer, but not in Netscape. Is there a possibility of modifying the function, so that it can work in both browsers.
<script>
function overout(divname,content) {
document.getElementById(divname).innerHTML = content;
}
</script>
</head>
<table border="0" cellpadding="0" width="90%" cellspacing="0">
<tr>
<td width="25%" valign="bottom"><a href="artistofmonth.htm"><img src="first.GIF"
onmouseover="overout('side','Find out who is the Panacea Artist of the Month')" ;
onmouseout="overout('side','')" ; border="0" width="227" height="138"></a></td>
<td width="25%" valign="bottom"><img src="second.GIF"
onmouseover="overout('side','Come in and see the Panacea Art Gallery')" ;
onmouseout="overout('side','')" ; width="183" height="138"></td>
<td width="25%" valign="top"></td>
</tr>
<tr>
<td><div id="side" style="width:700px; height:700px; font:14pt;"></div></td>
</tr>
bye
Allyson
Comment