malsup / cycle2

2nd gen cycling
899 stars 239 forks source link

startup documantation #769

Open stevekimpton opened 8 years ago

stevekimpton commented 8 years ago

I'm new to Cycle2 and have been trying to install and test a carousel.

The simple code provided for the first example on http://malsup.com/jquery/cycle2/demo/carousel.php doesn't work as it stands. Looking at the code on the page I saw:

Putting this in my code did the trick. Should this (or some other explanation) be added to the page?

stevekimpton commented 8 years ago

Oops, substituting -- for the angle brackets: --script-- $.fn.cycle.defaults.autoSelector = '.slideshow'; --script--