FlexSlider is a free responsive jQuery slider toolkit supported by all major browsers, with many custom options and mobile support. It is simple and supports both horizontal and vertical slide orientations. It has fading animation and is supported by the latest jQuery version. Most of the code used in the upcoming steps is from the FlexSlider creator.
You can download FlexSlider from https://github.com/woothemes/FlexSlider. Let's get started with FlexSlider in four easy steps:
Link the FlexSlider CSS file and the JavaScript file.
We have to add jQuery,
flexslider.css
, andjquery.flexslider.js
. You can add the following code to the head section of the code:<!-- Place somewhere in the <head> of your document --> <link rel="stylesheet" href="flexslider.css" type="text/css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <scriptsrc="jquery.flexslider.js"></script>
Now, add FlexSlider markup in the
<...