L. David Baron wrote:
You need to replace link1 where you use it as a variable with:
document.getElementsByName("link1")[0]
or use an ID attribute and document.getElementById("link1").
Thanks you! It works fine. I just had to change double quotes by simple
quote. Like that :---------
document.getElementById('link1').style.color='red';
---------
And it's OK with IE5 too.
Thank you again !
