» » Use fakeLoader.js to create page loading animation

 

Use fakeLoader.js to create page loading animation

Author: bamboo06 on 24-11-2015, 23:38, views: 8309

6
fakeLoader.js is a lightweight jQuery plugin which can help us to create a full-screen transition animations load, when the page is loaded, display the loading animation, when the content of the page finished loading animation disappears to display the page.


HTML
We only need to add the following code on the first line of the [body].
<div id="fakeLoader"></div> 


CSS
Then load the css style file inside [head].
<link rel="stylesheet" href="css/fakeLoader.css"> 


JS
Do not forget to load the jQuery library files and fakeLoader.js.
<script src="js/jquery.js"></script> 
<script src="js/fakeLoader.min.js"></script> 

Then add the following code inside the [body]:
<script type="text/javascript"> 
$("#fakeloader").fakeLoader(); 
</script> 

The above code is called fakeLoader.js plug-in, and it also provides the following options to set.
timeToHide: loading animation transition time, in milliseconds, default 1200.
spinner: animation, there are seven values Optional: 'spinner1', 'spinner2', 'spinner3', 'spinner4', 'spinner5', 'spinner6', 'spinner7', default value: spinner1.
bgColor: Transition mask layer background color, default: "# 2ecc71".
imagePath: custom transition animation picture.

Category: Javascript / Plugins

Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.
<
  • 0 Comments
  • 0 Articles
3 May 2017 19:14

admin

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Use fakeLoader.js to create page loading animation

<
  • 0 Comments
  • 0 Articles
14 June 2017 08:33

Hanryxix

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
Woah, using fakeLoader.js for those animations has become a viable alternative to manually creating designs. More so, this is cheaper than otherwise. I was wondering why a content hub is so important for the success of your marketing efforts?, because it is so difficult for an ordinary person to do.

<
  • 0 Comments
  • 0 Articles
1 July 2017 00:14

Victoria Zoey

Reply
  • Group: Guests
  • РRegistered date: --
  • Status:
 
On the off chance that you need to include some flash animation in your web page,the best arrangement is to work in Dreamweaver. you can plan a website Cheap Essay Help page in Dreamweaver effortlessly by simply masterminding the substance made by you in Photoshop and Flash. And on the off chance that you need see its coding,then you can see the correct coding of your site page in html code arrange by just clicking at code.

Information
Comment on the news site is possible only within (days) days from the date of publication.