相关疑难解决方法(0)

砌体图像重叠问题

标题几乎说了一切,我确实从砌体中查看了图像插件但我没有运气,我想知道是否有人可以提供帮助?

脚本做了很多事情,它有过滤器位,动画,显示/隐藏,ajax来获取内容等等.如果有人可以调查它为什么重叠以及我如何能够基于它解决它,我会很高兴.代码如下:

 jQuery(function(){
   jQuery('#container').masonry({
   itemSelector: '.box',
   animate: true
   });
  });



   (function ($) {
// Get all menu items with IDs starting with "filter-" and loop over them
$(".menu li[id|=filter]").each(function () {
    // Get the ID add extract the page class name from it (remove "filter-"       from it)
    var type = $(this).attr("id").replace("filter-", "");
    // Get the items in the "webbies" list with that class name
    var items = $("#container div[class~=" + type + "]");
    // Don't do anything if there aren't …
Run Code Online (Sandbox Code Playgroud)

javascript jquery jquery-masonry

7
推荐指数
2
解决办法
2万
查看次数

标签 统计

javascript ×1

jquery ×1

jquery-masonry ×1