jquery-isotope

Using Isotope with AngularJS (ng-repeat)

孤街醉人 提交于 2019-11-28 17:43:43
问题 I'm trying to use angular to load div's to supply to isotope for layouting. For some reason, I can't use ng-repeat to create the div's. When I do something like, it works fine: [agg.html] <div class="mygrid" iso-grid> <div class="item">myitem</div> </div> [controlers.js] module.directive('isoGrid', function () { return function (scope, element, attrs) { element.isotope({ itemSelector: '.item' }); }; }); module.controller('aggViewport', ['$scope', '$location', function ($scope, $location) {

jQuery Isotope - Multiple Instances on the same page

血红的双手。 提交于 2019-11-28 13:49:10
I've been working with the Isotope plugin for jQuery, and I've run into some problems with our homepage which requires two isotope instances. Both of them have different types of items and they are kept in their own containers, but when I click a filter on the second instance of isotope it attempts to filter the first instance too and not vice-versa. What I'm asking is if it is possible to have two instances of isotope on a page without them interfering with eachother and if so, what would be the best way to get this done without problems? To answer your question, yes it is possible to run two

Differences between Isotope and Masonry jQuery plugins [closed]

流过昼夜 提交于 2019-11-28 03:52:44
I recently discovered the Masonry and Isotope JQuery plugins. They seem to be functionally almost identical and both appear to have the same author. The only obvious difference I can see is the license. What are the main differences between these two in terms of functionality? Why would you use one over the other? An excerpt from the interview with the author: To some people Isotope would look very similar to the work you had previously done with Masonry; can you explain the main differences between the two? Isotope has several features that Masonry lacks. Masonry essentially does one thing,

jQuery Isotope filtering with Fancybox

家住魔仙堡 提交于 2019-11-27 22:47:59
问题 I made a Website with a Imagegallery, who is able of beeing filtered with jQuery Isotope. You can click on the thumbnails and then cycle trough the images with the fancybox plugin: Website Now the thing is, When the Imagegallery is beeing filtered, the fancybox plugin still cycles trough all the images. Even the ones who are not showing up when the filter is applied. I don't know how I could solve this. Fancybox determens a gallery with rel="gallery" . Isotope determines the filtering effect

Combining elements for filtering with Isotope

▼魔方 西西 提交于 2019-11-27 12:52:19
问题 I'm currently using Isotope to filter a list of publications, but would like to be able to combine the standard, documented link-filter method with a select element, as my second list of filters is quite long. The bit I'm struggling with is dealing with two distinct types of element and combining selected values into one option array . I can make the filters work independently of each other (code below) but they need to work together. How can I combine the two different actions (click or

Combining jQuery Isotope and Lazy Load

落爺英雄遲暮 提交于 2019-11-27 12:29:14
Have started a project using jQuery Isotope. Initially integrated with Infinite scroll, but thought it was a little clunky. Was hoping to replace Infinite Scroll with Lazy Load, and wondered if anyone has had any luck combining the two. Any tips to get them to play nice would be great. Thanks a mill If you want to use isotope's sorting/filtering functions, you will need to set the failure_limit of lazyload and trigger the event with isotope's onLayout callback. jQuery(document).ready(function($) { var $win = $(window), $con = $('#container'), $imgs = $("img.lazy"); $con.isotope({ onLayout: