A complete, exhaustive playground containing every configurable option, structural variation, transition mode, and programmatic method available in Pagiflow.
Pagiflow('#demo-horizontal', {
direction: 'horizontal', nav: true
});
Pagiflow('#demo-vertical', {
direction: 'vertical', height: 180, nav: true
});
Pagiflow('#demo-gap', {
itemsPerSlide: 3, slidesToScroll: 2, gap: 15, nav: true
});
Pagiflow('#demo-loop', {
loop: true, height: '140px', nav: true, speed: 600
});
// Left Custom Built-in
Pagiflow('#demo-nav-custom', {
nav: true, prevIcon: "←", nextIcon: "→", navDisabledEnd: true
});
// Right External
Pagiflow('#demo-nav-ext', {
navigation: { prev: '#extPrev', next: '#extNext' }
});
Pagiflow('#demo-pag', {
paginate: true,
paginationPosition: 'bottom-right'
// Or: { bottom: 10, right: 20 }
});
Pagiflow('#demo-auto', {
autoplay: true,
autoplayDelay: 1500,
pauseOnHover: true,
loop: true
});
Pagiflow('#demo-ticker', {
autoScroll: true,
autoScrollSpeed: 1, // pixels per frame
autoScrollDirection: 'left', // 'right'
pauseOnHover: true,
itemsPerSlide: 3,
gap: 15
});
Pagiflow('#demo-fade', {
fade: true,
nav: true,
speed: 800,
loop: true
});
Pagiflow('#demo-center', {
centerMode: true,
centerPadding: 80, // Peeking width
gap: 10,
loop: true,
nav: true
});
Pagiflow('#demo-grid', {
grid: true,
gridColumns: 2,
itemsPerSlide: 4, // 2 rows x 2 cols
gridFill: true, // Auto-fill empty slots
gap: 10,
paginate: true
});
Pagiflow('#demo-sync-main', { nav: true });
Pagiflow('#demo-sync-nav', {
itemsPerSlide: 3, gap: 5,
sync: '#demo-sync-main'
});
Pagiflow('#demo-thumbnails', {
thumbnails: {
enabled: true,
position: 'bottom', // 'top', 'left', 'right'
thumbWidth: 100,
gap: 8,
sidebarHeight: '200px' // for left/right
},
loop: true, nav: true
});
Pagiflow('#demo-rtl', {
rtl: true, nav: true, loop: true
});
Pagiflow('#demo-kbd', {
keyboard: true,
swipeThreshold: 40
});
Pagiflow('#demo-lazy', {
lazyLoad: true,
nav: true
});
Pagiflow('#demo-responsive', {
itemsPerSlide: 1, gap: 5,
responsive: {
576: { itemsPerSlide: 2, gap: 10 },
768: { itemsPerSlide: 3, gap: 15, autoplay: true },
1200: { itemsPerSlide: 4, gap: 20 }
}
});
Demonstrating edge-to-edge image fades, embedded HTML captions, seamless looping.