Question?
Date: 11/04/05
(Web Development) Keywords: database
Why doesn't this:
function setImage(imgIndex) { // Change Racial Icon in top right corner based on fkRace value from Database. document['imgMain'].src = aryImages[imgIndex]; // Change Navagation panel background image to match Body panel image based on fkRace value from Database. identity = document.getElementById('nav'); newClassName = imgIndex; identity.className = newClassName; }
...work in Mozilla Firefox when it works in Internet Explorer? I've been trying to figure it out for a couple of weeks and can't. My only guess is that Firefox doesn't allow the identity.className change?
D
Source: http://www.livejournal.com/community/webdev/265322.html
|