1

#list の div 要素を jQuery を使用してクラス (cat1、cat2、cat3 など) で並べ替えたいと考えています。

<section id="list" class="pix_wall pix_load_content isotope" style="position: relative; overflow: hidden; height: 570px; opacity: 1;">
<div class="cat8 entry post-id-34  isotope-item" data-sort="8" style="position: absolute; left: 0px; top: 0px;">
</div>
<div class="cat2 entry post-id-124  isotope-item" data-sort="2" style="position: absolute; left: 380px; top: 0px;">
</div>
<div class="cat7 entry post-id-79 isotope-item" data-sort="7" style="position: absolute; left: 760px; top: 0px;">
</div>
<div class="cat5 entry post-id-87 isotope-item" data-sort="5" style="position: absolute; left: 1140px; top: 0px;">
</div>
<div class="cat3 entry post-id-95 isotope-item" data-sort="3" style="position: absolute; left: 1520px; top: 0px;">
</div>
<div class="cat1 entry post-id-99 isotope-item" data-sort="1" style="position: absolute; left: 0px; top: 285px;">
</div>
</section>

誰でも私を助けることができますか?

4

1 に答える 1