Skip to main content

JavaScript help 11 Response

Last post: 2 months, 3 weeks ago | Thread started: Aug 28, 08, 8:13 a.m.

RespondNew TopicDisable Images

  • bezul555

    Hi Guys, I need some help with Javascript;

    I have list of elements and I need to apply z-index for every item, but next item always should have smaller value, here is the JS:

    changeIndex = function() {
    var progressItems = document.getElementById("progres…

    for(var i=0; i<progressItems.length; i++) {

    progressItems[i].style.zIndex=10…
    }
    }

    window.onload = function() {
    changeIndex;
    }

    But it does not work. Don't know what is wrong.

    Cheers...

    Aug 28, 08, 8:13 a.m. – Permalink
  • bezul555

    ok, fixed :)

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earAug 28, 08, 8:16 a.m. – Permalink

Login or Register to respond to this

Skip to main content