2013-11-22 75 views

回答

1

您可以設置畫廊(幻燈片)中的fancybox腳本中,如:

$.fancybox([{ 
    href: "http://farm4.staticflickr.com/3712/9032543579_1217e6566b_b.jpg", 
    title: "fist title" 
}, { 
    href: 'http://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Tootsi_jaamahoone.jpg/800px-Tootsi_jaamahoone.jpg', 
    title: "second title" 
}, { 
    href: "http://farm4.staticflickr.com/3818/9036037912_83576fe5ab_b.jpg", 
    title: "third title" 
}], { 
    // API other options 
    padding: 0 // optional 
}); // fancybox 
+0

上帝保佑你!整整一天,我試圖讓它工作! – johnnyfittizio