cuốn sách gpt4 ai đã làm

html - 我的 fancybox 根本没有出现

In lại Tác giả: Walker 123 更新时间:2023-11-28 17:31:41 28 4
mua khóa gpt4 Nike

HTML:




!window.jQuery && document.write('






climbing
minigolf
surfing

CSS:

/*lightbox*/

.gallery a img {
phác thảo: không có;
border: 1px solid #BBB;
phần đệm: 2px;
lề trái: 200px;
căn dọc: trên cùng;
}

没有显示任何内容。

câu trả lời hay nhất

您已在链接中设置了 rel="group",但您将 fancybox 绑定(bind)到具有 rel="example_group" 属性的元素。

将 fancybox 绑定(bind)到适当的元素:

$(document).ready(function() {
$("a[rel=group]").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return 'Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? '   ' + title : '') + '';
}
});
});

关于html - 我的 fancybox 根本没有出现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25962588/

28 4 0
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress