Html create a slideshow | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

Html create a slideshow

Hello, i Need to make a Slideshow, which can slide with a button ore something else to the next Picture. But i have no idea how to create a Slideshow... On the Internet i fond very much codes but if i want to Change them, that i can Play my own Pictures in there, it doesnt works anymore… Can someone of you help me? Thank you!

18th Aug 2018, 1:30 PM
Peter Möhle
Peter Möhle - avatar
8 Réponses
19th Aug 2018, 2:19 AM
Lương Văn Tuấn
Lương Văn Tuấn - avatar
+ 2
It sounds like this question might be more about how to get images to work (which is actually a frequently asked question and you can use the search bar to find the answers). Just a guess based on your description as you haven't posted your code so we can know either way for sure. Anyway, I encourage you to post at least one of your attempts in the Code Playground (curly braces if you are in the app version, green circle with plus sign to add a project, select Web for project type), then provide a link to that project in this thread. Looking forward.
18th Aug 2018, 1:44 PM
Janning⭐
Janning⭐ - avatar
+ 2
This is not your code. Be sure to give credit where credit is due and not claim it is yours when it's not because that's plagiarising. You need to host the images somewhere. https://www.sololearn.com/discuss/1054246/?ref=app
18th Aug 2018, 2:21 PM
Janning⭐
Janning⭐ - avatar
+ 1
https://code.sololearn.com/W7nCSJU8Vuea/?ref=app If i have this code by Vikash Viraj, how can i change the pictures? If i try to change them in my Coding (<img src=“bilder/standorte.jpg“ >) nothing happens
18th Aug 2018, 1:53 PM
Peter Möhle
Peter Möhle - avatar
+ 1
Im sorry i fixed it. I host them at my Computer i dont want to upload them in a dropbox because i need to use this website without internet... But thank you for your idea.
18th Aug 2018, 2:24 PM
Peter Möhle
Peter Möhle - avatar
+ 1
Well, in that case, just put the images in the same folder as your HTML file and get rid of the "bilder/" part. Here's an extended explanation: https://stackoverflow.com/questions/14489016/how-to-properly-reference-local-resources-in-html
18th Aug 2018, 2:39 PM
Janning⭐
Janning⭐ - avatar
+ 1
Thank You, but i have made it like in the description of your link and it doesnt works... i dont unterstand...
18th Aug 2018, 2:53 PM
Peter Möhle
Peter Möhle - avatar
+ 1
It's too bad we can't see what's really going on (unless you can think of a way to show us). Best of luck.
18th Aug 2018, 2:56 PM
Janning⭐
Janning⭐ - avatar