Damn, I hate this shitty software more everyday, pardon my French.
My issue is the next JavaScript function:
function menuHomeSwitch() {
//set all items to #B5C4DD for background color
var temp = document.getElementsByName('nav')
for (var x = 0; x<temp.length; x++) {
temp[x].style.background = '#B5C4DD'
}
}
I have an serie of <td> tags with the name 'nav', and like the function shows, all I need to do is set the background colors to a different color. According to the DOM level 1 specification, this should work and it does so in all browsers, ACCEPT IE ofcourse.
Any suggestions before I kill myself?
tnx much!
-monty
My issue is the next JavaScript function:
function menuHomeSwitch() {
//set all items to #B5C4DD for background color
var temp = document.getElementsByName('nav')
for (var x = 0; x<temp.length; x++) {
temp[x].style.background = '#B5C4DD'
}
}
I have an serie of <td> tags with the name 'nav', and like the function shows, all I need to do is set the background colors to a different color. According to the DOM level 1 specification, this should work and it does so in all browsers, ACCEPT IE ofcourse.
Any suggestions before I kill myself?
tnx much!
-monty
















