Damien ([info]thedigitalghost) wrote in [info]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

  • Post a new comment

    Error

  • 1 comments

[info]rayne_vandunem

February 10 2006, 19:07:07 UTC 6 years ago

Dunno, maybe its Windows?

IE6 is integrated (bolted) into it after all, y'know...
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…