|
Help: changing text onmouseover script fails in Mozilla
hi
i want to swap a main image and its caption with other images when the thumnails are moused over.
the main image id is GRP, the caption text span id is caption1.
the mouseover code in the thumnails is:
onMouseOver="GRP.src='GRP-Plantrooms/GRP-Plantroom3.jpg'; caption1.innerHTML = 'Boilerhouse'"
this works fine for Opera, IE6, 7 but not Mozilla.
In mozilla the images swap but not the text.
Perhaps Mozilla would prefer to use something other than innerHTML?
I have done a lot of searches and tried many variations, none seem to work.
thanks
tom
|