How do I set the homepage slider to autoplay?

Easy Magento Difficulty

Avalanche 1.3+

Avalanche now has a setting in the configuration panel to set autoplay and slide transitions!

Avalanche 1.2 or Below

You’ll need to add one line of JavaScript to /js/avalanche/modules/main.js:

play: 5000

1
2
3
4
5
6
$('.slideshow').slides({
	generateNextPrev: true,
	generatePagination: true,
	hoverPause: true,
	play: 5000
});

Set “play” to milliseconds, e.g. 5 seconds = 5000 milliseconds. Don’t forget the comma after hoverPause: true!