Hyperlink to supply code:
Web page Loaders like this are a standard pattern these days on web sites, particularly business ones. On this video we have a look at methods to make a customized one from scratch – it is truly fairly easy which you may see as I information you thru it.
It is so simple as making a wrapper, setting an animation after which triggering the animation with Javascript as soon as the web page finishes loading. The most effective half? It is pure HTML, CSS & Javascript. No jQuery or exterior libraries are required to realize this impact.
0:00 Overview
0:32 Including HTML and pictures
2:22 Writing the CSS
6:29 Writing the JavaScript
9:05 Wrapping up
Comply with me on Twitter @dcode!
If this video helped you out and also you’d wish to see extra, ensure that to depart a like and subscribe to dcode!
#dcode #javascript #css
source
hello, i have project to apply loading spinner in my project but strictly using css, html and sass only no javascript … please help me how because i see all the video is needed to use jS
Thank you sir
Hey there, I'm having an issue with when the user hits the back button on the next page, the loader doesn't disappear. As of right now I have the loader unhiding when the user hits a submit button.
Thank you! 🥰
thanks mate
BUILD CARD GAME USING HTML CSS AND JAVASCRIPT
https://youtu.be/idKCUPzrnm4
This did not work for me for some reason. It stays on for a second and then disappears. It does not wait for the page to load completely. I did everything that you did so I'm a little confused here.
Great tutorial! How would you make this work on an iframe.
hey is there a way i can make it wait a couple seconds before fading out?
many thanks for sharing.
the only limitation is the square background of the gif file, this is another reason why it's better to work with svg files.
but I don't know how to animate svg files.
Thank You 🤗
Thank you for the video. I searched a whole night. Arround 12 hours, to make a loading animation. And your video saved me.He helped me understand how to do it and it worked. Thx for the video
A lot helpful ! Thank you.
Suggestion : Inside the keyframes fadeout also add z-index = -1. Otherwise, the other elements won't be clickable.
Finally found a working and easier to understand code, thanks!
In subtitles his name is pronounced as 'DOM' 😅
This is awesome. Thank you.
Thanks
Спасибо большое! Thank you so much!
Hi can you used internet connection to load. The image or information.
WTF!!!
What a useless feature! Why would anyone need their website to load slower, to just show off a LOADER gif!!!
Besides, you are missing out on async-await world of JS completely! A Totally bad practice.
I really didn't like the way you explain stuff. But your tutorials awesome and really helpful!!
thanks!
Thank you so much for this!!!!!
Thank you so much for this
This is legit man!
I used this because my websites background image loads slowly
Please
Please sir reply
Sir I beg u sir…please reply me…it's very urgent …loader got suucessfully run…but it is coming and going very fast sir….and we also cant tell to client , that slow down your browser to 3g…so please reply me…..where to add command for making it appear for at least 3 sec on page
Great explanation man!
Great tutorial
<3 Ly
8:17
What is YouTube.local?
Love this!
Satisfying keyboard sound😴😴
Thanks a lot you make me very easy way 😍
Thank you solved my problem
Thanks a lot bro, But I'm not seeing anything while the page is loading. After looking at the console it only prints the data class = "loader hidden" at the end of load
I took this one step further to use it as a "IsBusy" indicator for ASP.NET Core MVC:
…
<div class="form-group">
<input type="submit" value="Save" id="btnSave" class="btn btn-primary" onclick="showIsBusy()" />
<input type="button" value="Cancel" id="btnCancel" onclick="history.go(-1)" class="btn" />
</div>
</form>
</div>
</div>
<div class="isbusy" id="isbusy">
<img src="~/images/IsBusy.gif" alt="Processing…"/>
</div>
<script>
$(document).ready(function () {
$("#isbusy").hide();
});
function showIsBusy() {
//alert("isBusy");
$("#isbusy").show();
$("form").submit();
}
</script>
Which editor you used in this video
how to add time to loader
loader.classList.add("hidden");
If we go to Inspector on Chrome and do all that settings, will it also apply to visitors on our website? The network and fast 3G configuration is for the client that is using it only I guess.
Thanks. Easy to follow and straight forward
ty, for explaining it like i'm a 10 year old. It helped me a lot. Keep it up!
You are increasing site size by adding gif loading image.
straight forward explanation…thank u sir…