Progressbar/Example/progressbar-1.1.js
function () {
			if (this.settings.parentElement === false)
				return this.createErrorMessage("No parent element set!");
			// This is the container in
			// which the bar resides
			this.progressBar = $("<progress>").attr({
				"id": "progress-bar",
				"value": 0,
				"max": 100
			}).appendTo(this.settings.parentElement);
			this.progressLabel = $("<div>").attr({
				"class": "progress-bar-label"
			}).html("0%").appendTo(this.settings.parentElement);
			var div = $("<div>").html(this.settings.name).appendTo(this.settings.parentElement);
		}
function () {
			if (this.settings.parentElement === false)
				return this.createErrorMessage("No parent element set!");
			// This is the container in
			// which the bar resides
			this.progressBar = $("<progress>").attr({
				"id": "progress-bar",
				"value": 0,
				"max": 100
			}).appendTo(this.settings.parentElement);
			this.progressLabel = $("<div>").attr({
				"class": "progress-bar-label"
			}).html("0%").appendTo(this.settings.parentElement);
			var div = $("<div>").html(this.settings.name).appendTo(this.settings.parentElement);
		}
function ( ) { if ( this . settings . parentElement === false ) return this . createErrorMessage ( "No parent element set!" ) ; // This is the container in // which the bar resides this . progressBar = $ ( "<progress>" ) . attr ( { "id" : "progress-bar" , "value" : 0 , "max" : 100 } ) . appendTo ( this . settings . parentElement ) ; this . progressLabel = $ ( "<div>" ) . attr ( { "class" : "progress-bar-label" } ) . html ( "0%" ) . appendTo ( this . settings . parentElement ) ; var div = $ ( "<div>" ) . html ( this . settings . name ) . appendTo ( this . settings . parentElement ) ; }
Creates the progress bar element
Creates the progress bar element