gpt4 book ai didi

javascript - Gallerific SlideShow 缩略图垂直外观

转载 作者:行者123 更新时间:2023-11-28 19:01:25 24 4
gpt4 key购买 nike

我已经实现了 Gallerific SlideShow,我遇到的问题是缩略图垂直显示在 2 列中。

http://www.davincispainting.com/InteriorGallery.aspx

我需要这些 Thumbs 水平显示 10 Pics X 2 Columns

我试图确定在 galleriffic.js 中更改此设置的位置,但无济于事

最佳答案

你的意思是横跨两行?来自 Gallerrific 页面:

How can I change the number of thumbnail columns?

With the stylesheet used in these examples, each thumbnail is floated left, and thus as many thumbnails that will fit in the width of the column will be displayed. If you want fewer or more columns, make the width of the navigation panel smaller or larger. In all but the last example, I am setting the width using javascript with the following lines in the html page:

$('div.navigation').css({'width' : '300px', 'float' : 'left'});
$('div.content').css('display', 'block');

在您的 HTML 中,找到以下行:

<div id="thumbs" class="navigation" style="width: 300px; float: left; opacity: 1; ">

并增加宽度。您可能需要使用确切的数字。

关于javascript - Gallerific SlideShow 缩略图垂直外观,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5613434/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com