![]() How to show loading gif while actual image is loading – Very simple method. Let’s learn how to show a loading icon over each image on your site while the image is loading, using jQuery. ![]() Many of you have been searching for a way to show a loading gif while actual image is being loaded or show a spinner gif while an HTML element or div is being loaded. paste this code under the head tag or in a separate js file.Īll done, now reload your page and it will show a loading icon. Now add some jQuery to show the pre-loading icon when the page is loading and hide when it has finished loading. If it's not present, don't show loader */ * Paste this css to your style sheet file or under head tag */ Add some CSS to show the icon and bring it in the middle of the page. ![]() How to show a Responsive loading icon or image while page loads.Ģ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |