View Single Post
  #5 (permalink)  
Old February 14th, 2008, 11:50 AM
Andrew.Berry Andrew.Berry is offline
Authorized User
 
Join Date: Aug 2007
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yep, it's the ones that should be picked up with:

Code:
function StartFlashing(){
 var rowArray=document.getElementsByTagName('tr');
    for (i=0;i<rowArray.length;i++)
    {
        if (rowArray[i].getAttribute('flash')=='true')
        {
            changeColour(rowArray[i].id);
        }
    }
It's only if the attribute flash is true that it calls the changeColour method - which is where it's going wrong.

I think that changeColour(rowArray[i].id); that isn't working right.

Reply With Quote