jQuery Plugin xqProgress

Test the progressbar

Inser a number between 0 and 100
and click the test Button!




Plugin in Aktion:




Plugin einbinden:

Javascript:
$(function() { $('.xqProgress').xqProgress(); //Change progress rate for the first progressbar $('.xqProgress:eq(0)').xqProgress().progress(50); });

CSS:
.xqProgress { width: 300px; height: 36px; color: #fff; font-size: 14px; font-weight: bold; text-shadow: 2px 2px 2px #000; line-height: 36px; text-align: center; overflow: hidden; background-image: url(/xq-tools/xqtools-progress/progressbar.png); background-repeat: no-repeat; background-position: 0 0; } .xqProgress div { width: 0; height: 36px; color: #fff; font-size: 14px; font-weight: bold; text-shadow: 2px 2px 2px #000; line-height: 36px; text-align: center; overflow: hidden; background-image: url(/xq-tools/xqtools-progress/progressbar.png); background-repeat: no-repeat; background-position: 0 -36px; } .status { display: block; width: 300px; overflow: hidden; }

HTML:
<div id="html"> <div class="xqProgress"></div> <div class="xqProgress"></div> <div class="xqProgress"></div> </div>