pthompson2002
09-16-2002, 04:27 PM
I have an anchor tag that is within a Div, eg:
document.getElementById("fscroller").innerHTML='<a href="javascript:showMsg([index]-1)">'+begintag+fcontent[index][0]+closetag+'</a>'
I want to be able to change the colour of the link in a similair way to this:
document.getElementById("fscroller").style.color="rgb(255,255,255)"
But I'm not sure how I can specify it to change the link within the "fscroller" div.
Anyone any ideas?
I know there is aLinkColor and anchor but I'm not sure of the correct order
document.getElementById("fscroller").innerHTML='<a href="javascript:showMsg([index]-1)">'+begintag+fcontent[index][0]+closetag+'</a>'
I want to be able to change the colour of the link in a similair way to this:
document.getElementById("fscroller").style.color="rgb(255,255,255)"
But I'm not sure how I can specify it to change the link within the "fscroller" div.
Anyone any ideas?
I know there is aLinkColor and anchor but I'm not sure of the correct order