Damien (thedigitalghost) wrote in firefox_vs_ie,
Damien
thedigitalghost
firefox_vs_ie

Question

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
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment
Dunno, maybe its Windows?

IE6 is integrated (bolted) into it after all, y'know...