A jQuery plugin for making awesome carousels.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Fly is a jQuery plugin for making awesome carousels. It shows standard navigation on desktops, and is touch-based on mobile devices (open this page on your smartphone to try it out). It also resizes itself to fit each slide's height, so you can use it with photos or content of different aspect ratios.

Using Fly is pretty simple. Set up a <ul> like normal, then call $('#myUl').fly();. Each slide should be the same width, but their heights can vary; Fly adjusts its height for each slide.


Fly is brand new, and doesn't really have many options just yet. If there's an option or change you'd like to see, feel free to submit a new issue. Here are the current options, along with their defaults and such:

	pictureSlider: true, //boolean, change this if you're using HTML content instead of just img tags
	afterChange: null, //function(yourList) (called after each slide change)