In IE I can write:
document.circles.src=eval("nav" + n + ".src"
to change the image of an element called circles - as in:
<img name="circles" src="images/allnav.gif">
Can anyone tell me what the Netscape 6 equivalent is?
I’ve tried :
document.getElementById('circles').src=eval("nav" + n + ".src"
but no success.
Bob.
document.circles.src=eval("nav" + n + ".src"
to change the image of an element called circles - as in:
<img name="circles" src="images/allnav.gif">
Can anyone tell me what the Netscape 6 equivalent is?
I’ve tried :
document.getElementById('circles').src=eval("nav" + n + ".src"
but no success.
Bob.