image array JQuery

0

What I have to do is the following:

  • How to make an array of images in JQuery, but the fonts I already have in html, that is, I already have them loaded from html, nothing else is to put them in an array, I do not want them in an ul.

  • After having the arrangement call the array " imagenes " and do the table.

  • Call them cases to locate them better.

    • 0 = does not appear.

    • 1 = the image appears.

    The boat image is going to be moving those pixels down.

    imagenes____caso1____caso2____caso3____caso4____caso5
    
    barco_______-205px___-200px___-195px___-190px___-185px
    
    obj1__________0________1________1________1________1
    
    obj2__________0________0________1________1________1
    
    esc___________0________0________0________1________1
    
    obj3__________0________0________0________0________1
    

    All this I want to do so that it appears with a for (traveling one by one as the case may be) but I do not know how to do it with the pixels, I know that it is entering .css and margin-top but I want to make him in his position already given from css be consecutive every 5px.

        
    asked by Jorge Gutierrez Yañez 24.07.2018 в 20:23
    source

    0 answers