I have a script I'm trying to implement into a clients design, wich changes the text in a div tag based on what link you're hovering over, but it dosnt work in firefox, wondering if their might be a workaround...
in the <head> tags I have the following:
var content=new Array();
content[0]='<strong>Stitches4u.biz</strong><br>Description here, blah blah blah blah blah blah blah blah blah blah blah blah blah blah';
content[1]='<strong>WeSingMusic.com</strong><br>Description here, blah blah blah blah blah blah blah blah blah blah blahb lah blah blah blah blahb lha';
content[2]='<strong>Coreyreferrals.com</strong><br>Description here, blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah ';
content[3]='<strong>Sunshine Products</strong><br>Description here, blah blah blah blah blahblah blah blah blah blah blah blah blah blah blah blah blah blah ';
function changetext(whichcontent){
if (document.all)
descriptions.innerHTML=whichcontent;
}
function reset(){
if (!scriptmenu.contains(event.toElement))
descriptions.innerHTML=temphtml;
}
Then for the mouseover, I have this within an img tag...
onMouseover="changetext(content[0])"
the array identifier changes per image of course
Then for the div to display the message looks like this:
<div id="descriptions" align="left">
Then under the div tags I have the following, to reset the message
<script language="JavaScript1.2">
if (document.all)
var temphtml=descriptions.innerHTML;
</script>
Any ideas?