【问题标题】:Galleria and Infinite carousel and ajaxGalleria 和 Infinite 轮播和 ajax
【发布时间】:2010-04-27 21:31:34
【问题描述】:

我正在将 Galleria 插件用于页面上的图片库,此页面使用 ajax 加载到框架页面中,这是 ajax

    $(document).ready(function() {
function loadTab(pageUrl) 
{ 
    $.ajax( 
    { 
        url: pageUrl, 
        cache: true, 
        success: function(load) 
        { 
            $("#tabcontent").empty().append(load); 
        } 
    }); 
} 

$(document).ready(function() 
{ 

    $("#tab1").ready(function() 
    { 
        loadTab("acasa.html"); 
    }); 

    $("#tab1").click(function() 
    { 
        loadTab("acasa.html"); 
    }); 

    $("#tab2").click(function() 
    { 
        loadTab("desprenoi.html"); 
    }); 

    $("#tab3").click(function() 
    { 
        loadTab("servici.html"); 
    }); 

    $("#tab4").click(function() 
    { 
        loadTab("parteneri.html"); 
    });

    $("#tab5").click(function() 
    { 
        loadTab("galerie.html"); 
    }); 

    $("#tab6").click(function() 
    { 
        loadTab("contact.php"); 
    }); 



});
});

在框架页面上 Im using Infinite gallery that uses <ul></ul> tags my problem is that offline, testing the page it works 完美,但在服务器(在线)上,使用 Galleria 的画廊去了狗。我的意思是我有一个所有图像的列表而不是画廊。

附:谁能帮我找到一个更好的 ajax 脚本:D

你可以在这里找到在线版本[link text][1]

[1]: http://minavet.ro/TEST/uberminavet/index.html tb 画廊

【问题讨论】:

    标签: jquery ajax galleria infinite infinite-carousel


    【解决方案1】:

    是的,我是个白痴,因为没有问题,但我已经定位了脚本的位置

    我是小精灵吗?是的,我是。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-17
      • 1970-01-01
      • 2023-04-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多