Go to the Github page and download the simpleslider.js file. Don't forget to download the touchswipe.js and transit.js if you're going for a complete (and still simple) slider.
Now you have the files you can include them in your header.
Go to the Github page and download the simpleslider.js file. Don't forget to download the touchswipe.js and transit.js if you're going for a complete (and still simple) slider.
Now you have the files you can include them in your header.
Now it's time to bind the simpleslider on your HTML element. Check the Github README for an example HTML.
SimpleSlider will now do the rest. Are you looking for more options? Check the Github readme!
SimpleSlider standard comes with a few methods, triggers and a tracker. These are all easy to configure. More information about them can be found on the Github page
Btw, this site has been made using simpleslider!
适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。
来源:站长素材