我想删除 Anythingslider 中的开始/停止按钮,但保留其余的导航

发布于 2024-10-06 07:10:09 字数 149 浏览 4 评论 0原文

我使用 AnythingSlider(有趣的玩具)作为网站,其中面板是网站的页面。因此,我想禁用并删除“开始/停止”按钮,但保留其余的导航。我的印象是它是导航的一部分,无法选择。如果这是正确的,我该怎么做?

实际上,我也想将导航移至面板的右上角。

干杯

I'm using AnythingSlider (fun toy) as a website where the panels are the site's pages. As such, I want to disable and remove the Start/Stop button but leave the rest of the navigation. I'm under the impression that it's part of the navigation and can't be optioned out. If that's correct, how do I do it?

Actually, I want to move the navigation to the top right of the panel, as well.

Cheers

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

妥活 2024-10-13 07:10:09

彻底删除“开始/停止”按钮:(

buildStartStop: false

没有隐藏,没有技巧,只是删除)

Completely removing the "start/stop" button:

buildStartStop: false

(no hiding, no tricks, simply removed)

∞觅青森が 2024-10-13 07:10:09

从这里的示例: http://css-tricks.com/examples/AnythingSlider/

第二个示例没有按钮。如果您阅读源代码:

        $('#slider2').anythingSlider({
            width               : 600,       // if resizeContent is false, this is the default width if panel size is not defined
            height              : 350,       // if resizeContent is false, this is the default height if panel size is not defined
            resizeContents      : false,     // If true, solitary images/objects in the panel will expand to fit the viewport
            autoPlay            : false,     // This turns off the entire slideshow FUNCTIONALY, not just if it starts running or not
            navigationFormatter : formatText // Format navigation labels with text
        })

查看自动播放。它显然负责启动/停止功能,包括按钮。

From the examples here: http://css-tricks.com/examples/AnythingSlider/

The 2nd example does not have the button. If you read the source:

        $('#slider2').anythingSlider({
            width               : 600,       // if resizeContent is false, this is the default width if panel size is not defined
            height              : 350,       // if resizeContent is false, this is the default height if panel size is not defined
            resizeContents      : false,     // If true, solitary images/objects in the panel will expand to fit the viewport
            autoPlay            : false,     // This turns off the entire slideshow FUNCTIONALY, not just if it starts running or not
            navigationFormatter : formatText // Format navigation labels with text
        })

Look at autoPlay. It is clearly responsible for the start/stop functionality, including the button.

沙与沫 2024-10-13 07:10:09

隐藏播放/停止按钮,但仍可使用自动播放:

startText           : '',
stopText            : '',

Hiding play/stop button, but still working with autoplay:

startText           : '',
stopText            : '',
安静被遗忘 2024-10-13 07:10:09

狗的呼唤。这是一个选项:

autoPlay : false,

Call of the dogs. It is an option:

autoPlay : false,
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文