Hi, I have the following code
This change images from english to french and inverse on click. Everything works find under IE 6 but it doesn't work under netscape 7.x. I don't know what's wrong!
Thanks for your help!
Code:
function changeImage(Logo, Banner)
{
newImage = "url(images/"+Logo+")";
document.getElementById('Logo').style.backgroundImage = newImage;
newImage = "url(images/"+Banner+")";
document.getElementById('Banner').style.backgroundImage = newImage;
}
...
<TD valign="top" align="right" bgcolor="#00209f" rowspan="2" width="175">
<a target="login" onClick="changeImage('logoFr.gif', 'logo2Fr.gif')" href="[URL unfurl="true"]http://www.site.com">français</a> <FONT[/URL] color="#cccccc">|
<a target="login" onClick="changeImage('logo.gif', 'logo2.gif')" href="[URL unfurl="true"]http://www.site.com">english</a> [/URL]
</td>
This change images from english to french and inverse on click. Everything works find under IE 6 but it doesn't work under netscape 7.x. I don't know what's wrong!
Thanks for your help!