0

私の URL は leftsideart (ドット) co (ドット) nz です

次の同位体セットアップを使用しています。

jQuery('#post-area').isotope({
    animationOptions: {
        duration: 750,
        easing: 'linear',
        queue: false
    },
    getSortData : {
        number : function( $elem ) {
        return parseInt( $elem.find('.order').text(), 10 );
        }
    },
    sortBy : 'number',
    sortAscending : true,
    animationEngine : 'jquery'
});

var jQuerycontainer = jQuery('#post-area');
jQuerycontainer.imagesLoaded( function() {
    jQuerycontainer.isotope();
});

しかし、私のdivは正しく注文されていません。数値をインクリメントするのではなく、ワードプレスループで乱数をエコーし​​ようとしたため、同位体は間違いなく順序に影響を与えており、それに応じてdivがシャッフルされています。

また、念のため、変更 'sortAscending' を false に変更すると、div の一般的な順序が逆になります。

同位体は、正確な順序付けではなく、一般的な順序付けのみを提供しますか?

4

1 に答える 1