SHARE
TWEET

Untitled

a guest Sep 20th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="index-banvessel css3donghua">
  2.     <div class="indexBanner">
  3.         <ul>
  4.         <!-- loop from=$list.rslist key=$key value=$value -->
  5.             <li><a href="{$value.link}" target="{$value.target}" title="{$value.title}" style="background:url({$value.pic.filename}) no-repeat center top;"></a></li>
  6.         <!-- /loop -->
  7.         </ul>
  8.         <div class="indexNumber"></div>
  9.         <div class="shangxia">
  10.             <a href="javascript:void(0);" class="prev"></a>
  11.             <a href="javascript:void(0);" class="next"></a>
  12.         </div>
  13.     </div>
  14.     <script type="text/javascript">    //banner
  15.         $(document).ready(function () {
  16.         //$('.indexBanner').height($(window).height()-82);//设置banner图高度;
  17.             $('.indexBanner ul').cycle({
  18.                 fx: 'fade',
  19.                 sync: 1,
  20.                 delay:4000,
  21.                 timeout: 6000,
  22.                 prev:'.prev',
  23.                 next:'.next',
  24.                 pause: 1,
  25.                 pager: '.indexNumber',
  26.                 pagerEvent: 'mouseover',
  27.                 cleartype: !$.support.opacity,
  28.                 activePagerClass: 'indexNumber_hover',
  29.                 pagerAnchorBuilder: function (idx, slide) {
  30.                     idx += 1;
  31.                     return '<span href="javascript:void(0)" class="num' + idx + ' css3donghua">' + idx + '</span>';
  32.                 }
  33.             });
  34.         })
  35.     </script>
  36. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top