can someone please help im going crazy! lol
please see this
if you click a season the episode list apears on the right.
if you click an episode it adds the id to an array and you will notice the array appear on the left with each value in it.
if you click the value of the array on the left you will notice the episodes in the array highlight purple in the list on the right. for somereason if i scroll over another season then click the array again to highlight purple, it does not work. it is almost like the array is disapearing but it is not because its value is still displayed. please help me thank you. here is some of the code but please view my source thank you
function rightClick(episode,pass){
trueEpisode = episode;
evalEpisode = eval(episode);
truePass = pass;
evalPass = eval(pass);
stayGreen.push(trueEpisode);
evalGreen.push(evalEpisode);
document.getElementById('testing').innerHTML = evalGreen;
}
function test(){
for (i=0;i<evalGreen.length;i++){
evalGreen.style.backgroundColor = 'purple';
}
document.getElementById('testing').innerHTML = evalGreen;
}
please see this
if you click a season the episode list apears on the right.
if you click an episode it adds the id to an array and you will notice the array appear on the left with each value in it.
if you click the value of the array on the left you will notice the episodes in the array highlight purple in the list on the right. for somereason if i scroll over another season then click the array again to highlight purple, it does not work. it is almost like the array is disapearing but it is not because its value is still displayed. please help me thank you. here is some of the code but please view my source thank you
function rightClick(episode,pass){
trueEpisode = episode;
evalEpisode = eval(episode);
truePass = pass;
evalPass = eval(pass);
stayGreen.push(trueEpisode);
evalGreen.push(evalEpisode);
document.getElementById('testing').innerHTML = evalGreen;
}
function test(){
for (i=0;i<evalGreen.length;i++){
evalGreen.style.backgroundColor = 'purple';
}
document.getElementById('testing').innerHTML = evalGreen;
}