MDA/MDD/TDD/DDD/DDDDDDD
          posts - 536, comments - 111, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          slideViewer

          Posted on 2012-03-11 03:00 leekiang 閱讀(998) 評論(0)  編輯  收藏 所屬分類: jquery(進去而已)
          slideViewer:http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html
          slideViewerPro:Prohttp://www.gcmingati.net/wordpress/wp-content/lab/jquery/svwt/index.html

          slideViewerPro使用配置說明 http://www.oschina.net/p/slideviewerpro


          Can I make the Jquery slideViewer autoplay?
          <scripttype="text/javascript">
          var theLinks;
          var nCount =0;
          var theTimerID;

          function init(){
          ? ? $
          ("div#mygalone").slideView();
          ? ? theLinks
          = jQuery('#stripTransmitter0 a');

          ? ? ? ?
          //for kill interval purposes
          ? ? theTimerID
          = setInterval("autoSlide()",5000);
          }
          function autoSlide(){
          ? ? jQuery
          .each(theLinks,function(i){
          ? ? ? ?
          if(jQuery(this).hasClass('current')){
          ? ? ? ? ? ? jQuery
          (theLinks[((i+1< theLinks.length)?(i+1):0)]).trigger("click");
          ? ? ? ? ? ?
          returnfalse;
          ? ? ? ?
          }
          ? ?
          });
          }

          $
          (window).bind("load", init );
          </script>

          The way I see it you basically have 3 options here:

          (1) - Use slideViewPro, but disable thumbnails using the thumbsVis:false option as shown below

          $("div#noui").slideViewerPro({
          ? ? galBorderWidth
          :0,
          ? ? autoslide
          :true, ?
          ? ? thumbsVis
          :false,
          ? ? shuffle
          :true
          ?
          });

          (2) - Switch to using the jQuery cycle plug-in instead

          (3) - Edit the source code of original slideViewer and add your own autoslide implementation by using timers and firing the click event on the navigation.



          主站蜘蛛池模板: 和平区| 桃园市| 乡宁县| 镇康县| 太白县| 宁津县| 合水县| 绿春县| 寻甸| 柳林县| 洮南市| 宁津县| 阳谷县| 宁德市| 上林县| 开远市| 娱乐| 天津市| 麦盖提县| 泉州市| 怀宁县| 浦江县| 天长市| 车险| 禹城市| 阜城县| 毕节市| 尤溪县| 定兴县| 潮安县| 海门市| 织金县| 黑山县| 云南省| 凤城市| 鹤峰县| 昭通市| 永平县| 罗平县| 昭平县| 商水县|