2010-12-06 3 views
2

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

実際には、ナビゲーションをパネルの右上に移動したいと考えています。ここでの例から

乾杯

答えて

2

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 
     }) 

autoPlayを見てください。これはボタンを含む開始/停止機能を明確に担当しています。

+0

ちょうど気づいた...あなたの入力をありがとう。 – Adam

+0

自動再生をしたいのですが? –

+0

いつでもできます: '$( '。start-stop')。hide();' –

0

犬の呼び出し。プレイを隠す

autoPlay : false, 
1

/停止ボタンが、それでも自動再生での作業:それはオプションで完全に "スタート/ストップ" ボタンを削除

startText   : '', 
stopText   : '', 
3

buildStartStop: false 

(なし単純に削除されます)