XQ-Tools - jQuery Plugin Compilation

Test the progressbar

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




XQ-Tools Progress Plugin in Aktion

 

xqProgress Plugin einbinden

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


CSS:
@CHARSET "UTF-8"; .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(/images/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(/images/progressbar.png); background-repeat: no-repeat; background-position: 0 -36px; } .status { display: block; width: 300px; overflow: hidden; }


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