+ 2
How can i do slideshow for pictures with javascript?
8 Respostas
+ 3
there are many ways ; first you can use jquery. jquery helps you to make slideshow very easly but if i were you i would try to do it by my self.
let me give you a hint : you can put images in array and make two buttons prev and next and everytime you click a button call array[x-1] or array [x+1] to call images from array of images (in this case ajax)
also here is the link which people send you https://www.w3schools.com/w3css/tryit.asp?filename=tryw3css_slideshow_self
+ 2
thanks for your advices.
+ 2
@Cepera just shared one above , i hope it helps
+ 2
thx
+ 1
there are lot of examples in global network
+ 1
Check the tutorial on w3schools.com in Learn HowTo section.
+ 1
i copied here for you
you may copied and study
https://code.sololearn.com/W6NF3cFcYqCx/?ref=app
0
I would also like to see simple example code.