daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 72 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. //simple sliding carousel, showing 3 items at once. No wrapping
  2. new Y.Charrousel({
  3.     srcNode : "#sliding",
  4.     render : true,
  5.     visible : 3,
  6.     plugins : Y.CharrouselSlide
  7. });
  8.  
  9. //Only showing 1 item (default) & fading instead of sliding
  10. new Y.Charrousel({
  11.     srcNode : "#fading",
  12.     render : true,
  13.     plugins : Y.CharrouselFade
  14. });
  15.  
  16. //Showing 4 items, sliding, and creating new items to make
  17. //the carousel smoothly circular in both directions
  18. //also hides prev/next buttons
  19. new Y.Charrousel({
  20.     srcNode : "#wrapping",
  21.     render : true,
  22.     visible : 4,
  23.     circular : true,
  24.     "show.prev" : false,
  25.     "show.next" : false,
  26.     plugins : Y.CharrouselSlide
  27. });
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