Great tutorial :) if you guys want to add some delay : window.addEventListener('load', function(load) { window.removeEventListener('load', load, false); setTimeout(function(){loader.style.display = 'none'},2000); },false);
theres a better way to implement a delay for the gif to finish playing, try using function closepreloader(){ document.getElementById("preloader").style.display = 'none'; } window.addEventListener("load",function(){ setTimeout(closepreloader, 2000);
wow its amazing . i search so many videos but only your video give a great result thank you. But i add a multiple in my code it show the image how can i remove please answer.
still working and great explanation, a question however : Any tips on how to make a 'fade out' effect after the intro timer is up? Instead of the abrupt instant screen change?
@@dfavourr yes, I used gsap; however, there are even more solutions out there. Essentially, you can either create/monitor the state or you can set a specified timer function.
I was shocked...I had forwarded the video for 5 times..from 4:40 and I can only see the loading image I thought the vedio is rubbish ..then I came to know that there was a network problem ...🤭...sorry for the pre assumption..by the way the video is so helpful... thankyou
I dont understand the thing with youtube links :) I know the page will take longer to load, but I will also see all the youtube links that I inserted into the page...
you can assign a class to the element you placed the links in then set a css property "display: none;" Using the setTimeout function to add a delay would be better though.
Great info and this code works perfectly in HTML but when loading a MySQL database the loader does not work while loading the data from the database. Is there a solution for this?
Hi, i followed all the steps to add preloader in my website but i seem not to be reading the gif file. The file path is correct and when i refresh the page it does show black background for like 1-2 seconds but not the loader. what could be the problem?
Bro your english is so simple to comprehend it , it is good for another country subs . Thank you very much!
You have added a lot of values in my life....
Thanks for making these videos
Are you a Variable O.o? As he added values Lmao
@@unitechs1213 lol
Great tutorial :)
if you guys want to add some delay :
window.addEventListener('load', function(load) {
window.removeEventListener('load', load, false);
setTimeout(function(){loader.style.display = 'none'},2000);
},false);
Thanks bro
I want to disable header when its loading
what should i do?
thank u
theres a better way to implement a delay for the gif to finish playing, try using
function closepreloader(){
document.getElementById("preloader").style.display = 'none';
}
window.addEventListener("load",function(){
setTimeout(closepreloader, 2000);
});
Thanks a lot Charles
Thanks a lot gentleman,i was searching this for 30mins
thank you🙂
ooo genius ,thanks
Was waiting for this..... Really helpful
Thanks Anand, Glad this website preloader tutorial was helpful!
@@GreatStackDev your way of teaching is awesome! I love it keep it up 🥰🥰😘😘
Great work man! It was super easy to add it on my Shopify store too! Nice!!
How did you add it to Shopify? What codes do I need exactly?
I am searching alots of video but your video is really helpful when I watch it😊
Thanks Raushan Bhai
rahmat kattakon juda zo`r. Uzbekistondan alangali salom.
Too great, no comment
Thanks
You are the best.
No, you are the best Hasan bro
@@GreatStackDev
You are a genius man ,I have learn from this
glad you liked this tutorial to make pre loader for website
Sir post more JS tutorials.
Thank you
straight and direct to the point
LOVE FROM BANGLADESH
wow its amazing . i search so many videos but only your video give a great result thank you. But i add a multiple in my code it show the image how can i remove please answer.
still working and great explanation, a question however : Any tips on how to make a 'fade out' effect after the intro timer is up? Instead of the abrupt instant screen change?
Hi can you teach me how to make fade out effect?
Did you manage to get this done?
@@dfavourr yes, I used gsap; however, there are even more solutions out there. Essentially, you can either create/monitor the state or you can set a specified timer function.
@@BrutalInsights alright thanks
Awesome, straight to the point
Very good
Thanks Chantal, Glad you like this tutorial to make pre-loader for website
Really great.
Love from Bangladesh ❤️
Excellent tutorial
Glad you liked this tutorial to make pre loader for website
Such an amazing vedio,so educative
Glad you think so!
was very helpful.
Great Tutorial❤
What editor r u using!
It's so easy very convenient to understand love to see this video
As usual, Indians to the rescue. Thank you so much
Glad it was helpful! Thank you. 😊
Best video for pre loader
best explanation. please make a video about btn 'show more'
I was shocked...I had forwarded the video for 5 times..from 4:40 and I can only see the loading image I thought the vedio is rubbish ..then I came to know that there was a network problem ...🤭...sorry for the pre assumption..by the way the video is so helpful... thankyou
Thank you manish bro, Glad you like this preloader tutorial for wbsite
It was very helpful but the video code I copied from RUclips,the video's are showing in my site.plz help 🙏
Nice and good,so wonderful
Thank you so much 😀
Fantastic bro, keep it up
Thanks, hope you will like this tutorial too: ruclips.net/video/0YFrGy_mzjY/видео.html
Thanks for this tutorial🌷
Thankyou very much god bless you
Amazing video
Thanks!
@@GreatStackDev welcome
I think the whole process is great, however I will watch again to grasp knowledge of it.
Thanks David, Glad you liked this video to make pre Loader for website
Please make a video of JavaScript for beginners......🙏🏻🙏🏻
Please
Awesome
Glad you liked it. Thanks for your comment. 😊
You are the best
Glad you liked this tutorial to make pre loading animation for website
It's great and really helpful for my next project in php..
Glad this website preloader tutorial helped
Absolutely easy and fantastic
You're having such a great knowledge 🔥🔥😎.
I am beginner like you shivaay bro. Thanks for your comment
@@GreatStackDev agar ap beginner ho to meto abhi paida hi nahi howa wah bahi XD
This is open source community 👍👍👍plz try to upload code as well...
I dont understand the thing with youtube links :) I know the page will take longer to load, but I will also see all the youtube links that I inserted into the page...
Same question
you can assign a class to the element you placed the links in then set a css property "display: none;" Using the setTimeout function to add a delay would be better though.
@@shinigkamiyeah actually I do the same thing it's give me lot of fun
this is beautiful teaching
amazing
Glad you think so!
great tutorial, direct to the point
thank you so much,
I have a Question
Great Work.
How do you disable the user to scroll while the preloaded is active because you can scroll anywhere?
Super
Thanks bala
Good work
Thanks Yousef, Glad you liked this tutorial to make pre loader animation for website
your the best!
Really helpful........ Thank You ............
Thanks for your comment
Really helpful at the time of creating big Project😘❤❤
Thanks
Glad you liked this website preloader design tutorial
Really Helpful 👍
i love you sir ❤❤❤❤ this teaching
glad you like this tutorial to add pre-loader on the website
@@GreatStackDev thank you
HelpFull brother....thank you🥰
thanks for great explanation sir...
You got another subscriber 👍
thank you so much sir
Great info and this code works perfectly in HTML but when loading a MySQL database the loader does not work while loading the data from the database. Is there a solution for this?
Thanks, this was very helpful!
Amazing concept
Thanks saikiran, Glad you like this preloader design for website
THANK YOU SO MUCH FOR THE VIDEO SO GLAD TO SEE THANKS
Thanks to you, Glad you like this website preloader design tutorial
I increase the loading time by coding ?
I give you a like because you don't use music.
Thanks man great work !
Great work
I really appreciate this!!!
Perfect Man⚡⚡
Thank you❤
Very helpful...thanks.
Thanks Yogesh, Glad You like this website preloader tutorial
thanks alot. learned a good things
Nice tutorial.
nice video
Really helpful
My dream job is to make a website using html css js just like this
Good luck for that Trang Le
Excuse me sir,I want to ask you?
How I can find job as a web designer&developer
Wonderful
Very nice and good tips
Thanks a lot, Glad you like this website preloader design tutorial
Grate tutorial❤
Thank you
Glad you liked it!
Thanks a lot
Thank you!
Brother can you make some tutorials about
shopping cart websitr / website like udemy or lynda player
Thank you for this my Boss👍...
Pls sir I will need you to help make a functional PHP search bar, to search and play videos from mysql database🙏🙏🙏
Thanks bro.. ❤❤
Thanku Sir
Please give vanilla JavaScript project video series
Cool! Thank you so much!
thanks man youre great!
Excellent tutorial, thank you. I made some changes. Also I used your video's embed to test my preloader :)
ruclips.net/video/CMxVKlV_TzE/видео.html
Watch this video
Thank you. Can you share the video how to create the website visitor counter
Hi, i followed all the steps to add preloader in my website but i seem not to be reading the gif file. The file path is correct and when i refresh the page it does show black background for like 1-2 seconds but not the loader. what could be the problem?
I had the same problem and I added "/" before src. Voila! Problem solved! Can you try it like that?
It should be url('/src/img/loader.gif')
Sometimes there will be server issues. remove the code and retry.
hi, thanks for your tutorial. I want a loader animation while my page is trying to get the data from the external source. is it possible?
Buddy! Great video straight to the point, subbed!
Thank you man
Thanks Man..
Bonjour je viens de like et s'abonner
Nice
Thanks Emeka, glad you liked this video to make pre loading animation for website
Is there anothet method of doing it without embedding videos in our website