HTML5 Add SVG lightweight jquery progress bar Plugin Tutorial

Source: Internet
Author: User
I. Methods of Use
Using the jquery progress bar plugin requires the introduction of jquery and Jquery.progress.js files.
<script src= "Js/jquery.min.js" ></script>
<script src= "Js/jquery.progress.js" ></script>

Second, HTML structure
The HTML structure of the jquery progress bar is made using a <svg> element.
<svg id= "Container" ></svg>

Third, initialize the plug-in
After the page DOM element is loaded, you can initialize the progress bar plug-in by using the following method.
var progress = $ ("#container"). Progress ({

Four, configuration parameters
var settings = {
BackgroundColor: ' #555 ',
Barcolor: ' #d9534f ',
FontColor: ' #fff ',

Keymob Mobile advertising platform, for the application developers to provide a stable sdk,keymob mobile advertising platform has video, interstitial, full-screen advertising display mode, Keymob Mobile advertising platform Professional to create a perfect user experience, farewell to the native advertising model, creating application developers and advertisers high-yield.

HTML5 Add SVG lightweight jquery progress bar Plugin Tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.