+ 2

How can i do slideshow for pictures with javascript?

14th May 2017, 8:38 PM
Zuzka Michalská
Zuzka Michalská - avatar
8 Réponses
+ 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
16th May 2017, 9:07 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 2
thanks for your advices.
16th May 2017, 9:11 PM
Zuzka Michalská
Zuzka Michalská - avatar
+ 2
@Cepera just shared one above , i hope it helps
19th May 2017, 10:48 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 2
thx
19th May 2017, 10:54 AM
Mr. Nobody
Mr. Nobody - avatar
+ 1
there are lot of examples in global network
14th May 2017, 8:48 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
+ 1
Check the tutorial on w3schools.com in Learn HowTo section.
14th May 2017, 10:06 PM
Amar
Amar - avatar
+ 1
i copied here for you you may copied and study https://code.sololearn.com/W6NF3cFcYqCx/?ref=app
16th May 2017, 9:15 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
0
I would also like to see simple example code.
14th May 2017, 9:50 PM
Mr. Nobody
Mr. Nobody - avatar