I adopted setPointer() function from phpMyAdmin (functions.js). I used it in table to change the color of the row when onmouseover. This function works well in IE but not in Mozilla Firefox. After googling for a while I found the way out.
It happened because I did not set td ‘bgcolor’ attribute.
theCells[0].getAttribute(’bgcolor’)
IE didn’t fail because theCells[0].getAttribute(’bgcolor’) returns an empty string, where Mozilla Firefox returns false.
While I defined the bgcolor attribute in td’s, everything works perfectly now.
Be First To Comment
Related Post
Leave Your Comments Below