Skip to content

turcalu1/jquery.LoadingBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery LoadingBox

A lightweight jQuery loading box plugin.

Screenshot

Usage

  1. Include jQuery:

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
  2. Include plugin's code:

    <script src="jquery.LoadingBox.js"></script>
  3. Show LoadingBox:

    var lb = $.LoadingBox();
  4. Hide LoadingBox:

    lb.close();

Options [with default settings]

$.LoadingBox({
    mainElementID: "loading-box",
    fadeInSpeed: "normal",
    fadeOutSpeed: "normal",
    opacity: 0.8,
    backgroundColor: "#000",
    loadingImageWitdth: "60px",
    loadingImageHeigth: "60px",
    loadingImageSrc: "loading.gif"
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published