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

« Resolutions, and not the... || Conditional Order By for... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home