Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
同位体プラグインに小さな問題があります。Web ページが読み込まれると、Isotope はすべての元素を表示します。代わりに単一のカテゴリを表示したいと思います。どうすれば達成できますか?
よろしくお願いします。
必要な項目のみを選択する isotope への最初の呼び出しのオプションにフィルターを指定するだけです。
$('#someid').isotope({filter: '.someclassonMyCategoryElements'});
PS。あなたの既存のコードを見せていただけると助かります。