THIS MIGHT NOT BE WORKING VIEW THIS:
https://youtu.be/1Ml8uHQykLw New Video!
My NEW Website: GET THE FULL CODE!
https://theedshop.000webhostapp.com
A New Tutorial OUT!!
in this tutorial, we will be making a slideshow using a simple javascript code and customized for the iPhone (theme)
If you are trying to add this to an existing website (more images and more code) follow my other video where I show you a quick fix so the slideshow doesn’t interfere with the rest of the images
Javascript Slideshow Fix Video:
Original source
27 responses to “JavaScript SLIDESHOW – html and css”
https://www.youtube.com/edit?o=U&video_id=hB9xnBUcib4
YouTube REALLY, REALLY needs to develop a system for vetting the videos they publish on their site. They need to rank or qualify them by whether they are in English and also whether they even have anyone talking at all. Speech is a REAL Issue in an instructional video. If you're not smart enough to figure that one out. It's pretty much a given that you're not smart enough to offer help on any subject.
Nice video! I share after effects projects in my channel. Subscribe me 😉
Thank you very much.
GOD bless you.
i somehow managed to make the images appear and fade, but after fading, that's it.. it fades into black, by the way, here's the script i just dunno if somethings wrong..
var interval = 4 * 20; //Seconds between change
var images = document.getElementsByTagName("img");
var imageArray=[];
var imageCount = images.length;
var current = 0;
var nrandomize = function(){
return (Math.round(Math.random() * 3 – 1.5));
}
for(var i = 0; i < imageCount; i++){
images[i].className = 'fade-out';
imageArray[i] = images[i];
}
imageArray.sort(randomize);
var fade = function(){
imageArray[current++].className = 'fade-out';
if(current == imagecount){
current = 0;
imageArray.sort(randomize);
}
imageArray[current].className = 'fade-in';
setTimeout (fade, interval * 100);
};
fade();
thank you for your useful lesson , but how can we put it in a <div> for example and position it in our html page. (thank you again)
Rakibul Hasan//http://www.rakibtax.com
This is not working, Pl make another Tutorial about this Dreamweaver cs5 section.
it's not work
the link doesn't work
Code works, just tried it. However I get it to work if i move the code to another document and then link the javascript file after the images.
it doesnt work for me, can you help me to fix it? give me the email
thanks
thanks
could you please post the javascript code the link no longer works!!
Doesn't Work. checked 100 times the code.
Thanks helped so much
Thanks !! its really helping me !! your are awesome !
That's CSS 3, though. Not JavaScript. However, it's a pretty good video, congrats. But I'd change the title. Many people get the idea they're writing JS and this are simply the new features of CSS.
Thank u so much it's help a lot
May i know how to add caption for all pictures?
Thank you so much!!! you are awesome.. i love love love this tutorial. it work marvelously!!
I tried to use this and all I got was the pictures all showing on one page, there is no transitioning or fading. HELP!!!!
Great Video! Great Tutorial! I've tried this and everything works just fine. I just have one problem, all the images in my page become part of the slide show :s
Help
thanks man that really helped!
he just pasted it.
Muito bom tutorial! Me ajudou muito, obrigado.
Okay – what are you doing at 5:37? 🙂
How did you make JavaScript do its magic?
Thanks for sharing!
Could you or anyone else tell me how can I make more slideshows and align them all in a row?
For example, imagine every "O" is a slideshow (xD)
O O O O