I'm having what appears to be compatibility problems with Netscape 6 and Netscape 4.6.
I'm trying to change a photo (name="girl" that is inside a layer and put another photo in its place.
I started by writing:
Then I tried:
But this only worked with IE and not with any version of Netscape.
Does anybody know what I'm doing wrong?
I'm trying to change a photo (name="girl" that is inside a layer and put another photo in its place.
I started by writing:
Code:
<p onClick="document.girl.src='hiking.jpg'">Hiker</p>
But this worked on Netscape 6 and IE but NOT on Netscape 4.7
Then I tried:
Code:
<a href="javascript:void(0)" onClick="document.girl.src='hiking.jpg'">Hiker</a>
Does anybody know what I'm doing wrong?