2

パネルがサイトのページであるWebサイトとしてAnythingSlider(楽しいおもちゃ)を使用しています。そのため、[開始/停止]ボタンを無効にして削除したいのですが、残りのナビゲーションはそのままにしておきます。私はそれがナビゲーションの一部であり、オプションで選択できないという印象を受けています。それが正しければ、どうすればよいですか?

実は、ナビゲーションもパネルの右上に移動したいと思います。

乾杯

4

4 に答える 4

3

「開始/停止」ボタンを完全に削除します。

buildStartStop: false

(隠れることも、トリックもありません。単に削除されます)

于 2012-01-27T15:06:46.033 に答える
2

ここの例から:http://css-tricks.com/examples/AnythingSlider/

2番目の例にはボタンがありません。ソースを読んだ場合:

        $('#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
        })

自動再生を見てください。ボタンを含む開始/停止機能を明確に担当します。

于 2010-12-06T18:17:18.547 に答える
1

再生/停止ボタンを非表示にしますが、自動再生は引き続き機能します。

startText           : '',
stopText            : '',
于 2011-05-13T23:18:12.510 に答える
0

犬の呼び声。それはオプションです:

autoPlay : false,
于 2010-12-06T18:19:51.423 に答える