misc/demo/public/vendor/plupload-2.1.2/js/jquery.ui.plupload/jquery.ui.plupload.js
function(type, message) {
		var popup = $(
			'<div class="plupload_message">' + 
				'<span class="plupload_message_close ui-icon ui-icon-circle-close" title="'+_('Close')+'"></span>' +
				'<p><span class="ui-icon"></span>' + message + '</p>' +
			'</div>'
		);
					
		popup
			.addClass('ui-state-' + (type === 'error' ? 'error' : 'highlight'))
			.find('p .ui-icon')
				.addClass('ui-icon-' + (type === 'error' ? 'alert' : 'info'))
				.end()
			.find('.plupload_message_close')
				.click(function() {
					popup.remove();	
				})
				.end();
		
		$('.plupload_header', this.container).append(popup);
	}
function(type, message) {
		var popup = $(
			'<div class="plupload_message">' + 
				'<span class="plupload_message_close ui-icon ui-icon-circle-close" title="'+_('Close')+'"></span>' +
				'<p><span class="ui-icon"></span>' + message + '</p>' +
			'</div>'
		);
					
		popup
			.addClass('ui-state-' + (type === 'error' ? 'error' : 'highlight'))
			.find('p .ui-icon')
				.addClass('ui-icon-' + (type === 'error' ? 'alert' : 'info'))
				.end()
			.find('.plupload_message_close')
				.click(function() {
					popup.remove();	
				})
				.end();
		
		$('.plupload_header', this.container).append(popup);
	}
function ( type , message ) { var popup = $ ( '<div class="plupload_message">' + '<span class="plupload_message_close ui-icon ui-icon-circle-close" title="' + _ ( 'Close' ) + '"></span>' + '<p><span class="ui-icon"></span>' + message + '</p>' + '</div>' ) ; popup . addClass ( 'ui-state-' + ( type === 'error' ? 'error' : 'highlight' ) ) . find ( 'p .ui-icon' ) . addClass ( 'ui-icon-' + ( type === 'error' ? 'alert' : 'info' ) ) . end ( ) . find ( '.plupload_message_close' ) . click ( function ( ) { popup . remove ( ) ; } ) . end ( ) ; $ ( '.plupload_header' , this . container ) . append ( popup ) ; }
Display a message in notification area.

@method notify
@param {Enum} type Type of the message, either `error` or `info`
@param {String} message The text message to display.
Display a message in notification area .