🛒
Scroll Animation for Wix Stores
Wix Stores supports HTML embed widgets in the editor. Paste the ScrollerSites snippet to add Apple-style scroll animation to any Wix Stores page.
Manual Implementation
38 lines// Manual scroll animation on Wix Stores — 47+ lines before mobile
const canvas = document.getElementById('scroll-canvas');
const ctx = canvas.getContext('2d');
const frames = [];
let currentFrame = 0;
async function preloadFrames(count) {
await Promise.all(Array.from({ length: count }, (_, i) => {
const img = new Image();
const padded = String(i).padStart(4, '0');
img.src = `https://your-cdn.com/frames/frame-${padded}.jpg`;
frames.push(img);
return new Promise((r) => { img.onload = r; img.onerror = r; });
}));
}
function drawFrame(index) {
if (!frames[index]) return;
ctx.clearRect(0, 0, canvas.width, canvas.height);
ctx.drawImage(frames[index], 0, 0, canvas.width, canvas.height);
}
window.addEventListener('scroll', () => {
const rect = canvas.parentElement.getBoundingClientRect();
const scrolled = -rect.top;
const total = rect.height - window.innerHeight;
const progress = Math.max(0, Math.min(1, scrolled / total));
const frameIndex = Math.floor(progress * (frames.length - 1));
if (frameIndex !== currentFrame) {
currentFrame = frameIndex;
requestAnimationFrame(() => drawFrame(currentFrame));
}
}, { passive: true });
// Still needed: resize handler, mobile touch events,
// Safari canvas fix, Wix Velo injection,
// CDN setup for 120+ JPEG files, lazy loading...
preloadFrames(120).then(() => drawFrame(0)); Done For You — ScrollerSites
<!-- Paste into a Wix HTML embed widget -->
<div data-scrollersite="YOUR_PROJECT_ID"></div>
<script src="https://cdn.scrollersites.com/embed/v1/player.js" defer></script>Adding Scroll Animation to Wix Stores
In the Wix editor, drag an "Embed HTML" element onto any page. Paste the ScrollerSites embed snippet. Publish. Your scroll animation is live — no Wix Velo code, no developer needed.
- ● Use the Embed HTML widget in the Wix editor
- ● Place it in your homepage hero section or product landing pages
- ● Resize the widget to fill the viewport for full-screen scroll experiences
Ready to Add Scroll Animation?
Add scroll animation to Wix Stores without writing a single line of Velo code.
Get Started Free →Related Platform Guides
🛒
E-commerce
Scroll Animation for Shopify: The Complete Guide (2026)
Add Apple-style scroll animation to your Shopify store. See the manual implementation vs. the ScrollerSites embed — paste two lines into any theme section.
🎯
CMS & Website Builders
Scroll Animation for Wix Sites
Add scroll-driven animation to Wix using the HTML embed widget. No Velo code required.
⬛
E-commerce
Scroll Animation for Squarespace Commerce
Add scroll-driven animation to Squarespace Commerce stores using the Code Block.