ive been working on this and i cant seem to find a want to get the hyperlink text in the cell to change. ive tried document.getElementById('tagname').style.foregroun dColor but that doesnt work nor does .color. has anyone ever done this? ive got the cell to change color using the following
Code:
function switchTab1(t){
if(document.getElementById){
document.getElementById(t).style.backgroundColor = "#000000";
document.getElementById('tab2').style.backgroundColor = "#ffffff";
document.getElementById(t).style.color = "#ffffff";
}
else if(document.layers){
document[t].bgColor = "#000000";
document['tab2'].bgColor = "#ffffff";
}
else if(document.all){
document.all[t].style.backgroundColor = "#000000";
document.all['tab2'].style.backgroundColor = "#ffffff";
}
} but i cant figure out how to change the font color when the mouse is over the cell and not just over the text itself.