In the code below I can sucessfully target an <li> and change it's font size and font weight, but not color.
Am I missing something?
Javascript
CSS
As a newbie to using forums like this to ask questions, should I provide a link to the page? thanks for any help.
Am I missing something?
Javascript
Code:
//MOUSEOVER
function ChangeText(block, blockItem) {
if(block==0 && objCounter!=blockItem){
document.getElementById("objectiveList").children[blockItem].className ="links_rolled";
}
}
//MOUSEOFF
function ChangeBack(block, blockItem) {
if(block==0 && objCounter!=blockItem){
document.getElementById("objectiveList").children[blockItem].className = "links_normal";
}
}
Code:
.links_rolled{
color: #33FF66;
font-size:36px
}
.links_normal{
color: #000000;
font-size:10px
}
As a newbie to using forums like this to ask questions, should I provide a link to the page? thanks for any help.
Comment