🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

qspin.js is a lightweight jQuery plugin that allows you to quickly display a loading spinner / overlay on a given DOM element.

loading-spinner loading-overlay

Documentation

jquery-quickspin

Quickly add a spinner to any html element.

Adding a spinner

var spinner = $element.qspin(options);

This gives you the newly created spinner item.

options:
options = { background: 'white', spinnerImage: "19.gif", task: 'add', debug: true }
background = 'transparent' is default. The background color of the image ( the spinner gif ) wrapper.
spinnerImage = Has to be provided. The path to your spinner gif.
task = 'add' is default. Can be 'rem' to remove the spinner.
debug = false is default


You May Also Like