欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

實(shí)例代碼詳解jquery.slides.js

 更新時(shí)間:2015年11月16日 14:44:28   投稿:mrr  
slides是一款強(qiáng)大的,專(zhuān)業(yè)的幻燈片組件,能夠全方位對(duì)幻燈片的速度控制,本文通過(guò)代碼實(shí)例給大家講解jquery.slides.js,感興趣的朋友一起學(xué)習(xí)

Slides – 是一個(gè)簡(jiǎn)單的,容易定制和風(fēng)格化,的jQuery幻燈片插件。

Slides提供褪色或幻燈片過(guò)渡效果,圖像淡入淡出,圖像預(yù)壓,自動(dòng)生成分頁(yè),循環(huán),自動(dòng)播放的自定義等很多選項(xiàng)。

用Slides插件,你可以隨機(jī)播放幻燈片,設(shè)定那一套您想要開(kāi)始幻燈片。它附帶充分的說(shuō)明和示例。

廢話(huà)不多說(shuō)了,直接給大家貼代碼了

 $(function(){
 $("#slides").slidesjs({
  play: {
  active: true,
   // [boolean] Generate the play and stop buttons.
   // You cannot use your own buttons. Sorry.
  effect: "slide",
   // [string] Can be either "slide" or "fade".
  interval: ,
   // [number] Time spent on each slide in milliseconds.
  auto: false,
   // [boolean] Start playing the slideshow on load.
  swap: true,
   // [boolean] show/hide stop and play buttons
  pauseOnHover: false,
   // [boolean] pause a playing slideshow on hover
  restartDelay: 
   // [number] restart delay on inactive slideshow
  }
 });
 });

前臺(tái):

<!doctype html>
 <head>
 <style>
  /* Prevents slides from flashing */
  #slides {
  display:none;
  }
 </style>
 <script src="http://code.jquery.com/jquery-latest.min.js"></script>
 <script src="jquery.slides.min.js"></script>
 <script>
  $(function(){
  $("#slides").slidesjs({
   width: ,
   height: 
  });
  });
 </script>
 </head>
 <body>
 <div id="slides">
  <img src="http://placehold.it/x">
  <img src="http://placehold.it/x">
  <img src="http://placehold.it/x">
  <img src="http://placehold.it/x">
  <img src="http://placehold.it/x">
 </div>
 </body>

以上內(nèi)容是關(guān)于jquery.slides.js的全部代碼,希望大家喜歡。

相關(guān)文章

最新評(píng)論