Progressbar.js

Progressbar.js is a jQuery plugin for showing progress bar

A Simple of progressbar example as shown below −

<!doctype html><html><head><meta charset ="utf-8"><meta http-equiv ="X-UA-Compatible" content ="IE = edge,chrome = 1"><meta name ="viewport" content = "width = device-width, 
     initial-scale =1"&gt;&lt;link href ="https://www.jqueryscript.net/css/jquerysctipttop.css" 
     rel ="stylesheet" type ="text/css"&gt;&lt;link rel ="stylesheet" href ="jQuery-plugin-progressbar.css"&gt;&lt;script src ="https://code.jquery.com/jquery-2.1.4.min.js"&gt;&lt;/script&gt;&lt;script src ="jQuery-plugin-progressbar.js"&gt;&lt;/script&gt;&lt;/head&gt;&lt;body&gt;&lt;div class="progress-bar position"&gt;&lt;/div&gt;&lt;div class="progress-bar position" data-percent ="40" 
     data-duration ="1000" data-color ="#ccc,yellow"&gt;&lt;/div&gt;&lt;div class="progress-bar position" data-percent ="90" 
     data-color ="#a456b1,#12b321"&gt;&lt;/div&gt;&lt;input type ="submit" value ="reload"&gt;&lt;script&gt;$(".progress-bar").loading();$('input').on('click',function(){$(".progress-bar").loading();});&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;</pre>

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *