본문으로 바로가기

jquery cycle

category Language/jQuery 2014. 9. 19. 12:24
반응형




  1. <script type="text/javascript" src="http://malsup.github.com/jquery.cycle.all.js"></script>
  2. $(document).ready(function(){
  3.     $('#pause').click(function() { $('#slides').cycle('pause')return false});
  4.     $('#play').click(function() { $('#slides').cycle('resume')return false});
  5.     $('#slides').cycle({
  6.         fx:     'fade',
  7.         speed:   400,
  8.         timeout: 4000,
  9.         next:   '#next',
  10.         prev:   '#prev'
  11.     });
  12. });


반응형

'Language > jQuery' 카테고리의 다른 글

jquery 통계 플러그인  (0) 2015.02.08
마우스 오버시 따라다니는 말풍선  (0) 2015.02.08
bind  (0) 2014.09.19
Jquery each  (0) 2014.09.19