slider HTML,css,JavaScript
Three files there
- index.html
- index.html
- style.css one folder for images (img).
This genaric code you dnt need to change any thing in HTML just change in DATA and new image is added in slider.
var Data = [{ "Image": "img/slider1.jpg", "Text": "slider One", }, { "Image": "img/slider2.jpg", "Text": "slider Two", }, { "Image": "img/slider3.jpg", "Text": "slider Three", }, { "Image": "img/slider4.jpg", "Text": "slider four", }]
You increase slider by adding data in this array