CLICK HERE TO BUY IT TODAY! OR GET IT FREE VIA TRIALPAY  

PHP Demo Application - Source Code

/Framework/Model/Vendor/jquery-ui/development-bundle/ui/minified/jquery.ui.progressbar.min.js



/*
 * jQuery UI Progressbar 1.8.4
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Progressbar
 *
 * Depends:
 *   jquery.ui.core.js
 *   jquery.ui.widget.js
 */
(function(b,c){b.widget("ui.progressbar",{options:{value:0},min:0,max:100,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":this._value()});
			this.valueDiv=b("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);
			this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");
			this.valueDiv.remove();
			b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===c)return this._value();
			this._setOption("value",a);
			return this},_setOption:function(a,d){if(a==="value"){this.options.value=d;
				this._refreshValue();
				this._trigger("change")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;
			if(typeof a!=="number")a=0;
			return Math.min(this.max,Math.max(this.min,a))},_refreshValue:function(){var a=this.value();
			this.valueDiv.toggleClass("ui-corner-right",
			a===this.max).width(a+"%");
			this.element.attr("aria-valuenow",a)}});
	b.extend(b.ui.progressbar,{version:"1.8.4"})})(jQuery);





PHP Demo Source Code Index