SHARE
TWEET

Untitled

a guest Jan 16th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2.     $(document).ready(function(){
  3.           $('#picroll').cycle({                            
  4.                 timeout:.2,
  5.                 delay:  0,
  6.         fx: 'fade',
  7.         continuous: false,
  8.                 speed:  300,
  9.                 autostop: 1
  10.          }).cycle("pause").hover(function() {
  11.                 $(this).cycle('resume');
  12.          },function(){
  13.                 $(this).cycle('pause');
  14.          $(this).cycle('resume');
  15.    })
  16.      .mouseleave(function(){
  17.         $(this).cycle(0, 'fade').cycle('play');
  18.       });
  19.     });
  20. </script>
  21.  
  22.   <div id="picroll"><a href="#"><img src="images/group/PictureA.png" width="114" height="330"/>
  23.   <img src="images/group/PictureB.png" width="114" height="330" /></div>
  24.    
  25. $("#picroll").mouseover('
  26.      $("#picroll:nth-child(1)").fadeOut(500);
  27.      $("#picroll:nth-child(2)").fadeIn(500);
  28. ');
  29. $("#picroll").mouseout('
  30.      $("#picroll:nth-child(1)").fadeIn(500);
  31.      $("#picroll:nth-child(2)").fadeOut(500);
  32. ');
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