CodeForge QQ客服 CodeForge 400电话 客服电话 4006316121
首页 » 源代码 » » jquery-ui.js

jquery-ui.js ( 文件浏览 )

文件源自:
源码简介:...
  • DevPython12 发布于2018-03-07
  • 浏览次数:0
  • 下载次数:0
  • 下载需 1 积分
  • 侵权举报
			/*! jQuery UI - v1.11.2 - 2015-02-08
* http://jqueryui.com
* Includes: core.js, widget.js, mouse.js, position.js, draggable.js, droppable.js, resizable.js, selectable.js, sortable.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, menu.js, progressbar.js, selectmenu.js, slider.js, spinner.js, tabs.js, tooltip.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js, effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js, effect-slide.js, effect-transfer.js
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */

(function( factory ) {

	if ( typeof define === "function" && define.amd ) {


		// AMD. Register as an anonymous module.
		define([ "jquery" ], factory );
	
} else {


		// Browser globals
		factory( jQuery );
	
}

}(function( $ ) {

/*!
 * jQuery UI Core 1.11.2
 * http://jqueryui.com
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/category/ui-core/
 */


// $.ui might exist from components with no dependencies, e.g., $.ui.position
$.ui = $.ui || {

};

$.extend( $.ui, {

	version: "1.11.2",

	keyCode: {

		BACKSPACE: 8,
		COMMA: 188,
		DELETE: 46,
		DOWN: 40,
		END: 35,
		ENTER: 13,
		ESCAPE: 27,
		HOME: 36,
		LEFT: 37,
		PAGE_DOWN: 34,
		PAGE_UP: 33,
		PERIOD: 190,
		RIGHT: 39,
		SPACE: 32,
		TAB: 9,
		UP: 38
	
}

});

// plugins
$.fn.extend({

	scrollParent: function( includeHidden ) {

		var position = this.css( "position" ),
			excludeStaticParent = position === "absolute",
			overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/,
			scrollParent = this.parents().filter( function() {

				var parent = $( this );
				if ( excludeStaticParent && parent.css( "position" ) === "static" ) {

					return false;
				
}
				return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) + parent.css( "overflow-x" ) );
			
}).eq( 0 );

		return position === "fixed" || !scrollParent.length ? $( this[ 0 ].ownerDocument || document ) : scrollParent;
	
},

	uniqueId: (function() {

		var uuid = 0;

		return function() {

			return this.each(function() {

				if ( !this.id ) {

					this.id = "ui-id-" + ( ++uuid );
				
}
			
});
		
};
	
})(),

	removeUniqueId: function() {

		return this.each(function() {

			if ( /^ui-id-\d+$/.test( this.id ) ) {

				$( this ).removeAttr( "id" );
			
}
		
});
	
}

});

// selectors
function focusable( element, isTabIndexNotNaN ) {

	var map, mapName, img,
		nodeName = element.nodeName.toLowerCase();
	if ( "area" === nodeName ) {

		map = element.parentNode;
		mapName = map.name;
		if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) {

			return false;
		
}
		img = $( "img[usemap='#" + mapName + "']" )[ 0 ];
		return !!img && visible( img );
	
}
	return ( /input|select|textarea|button|object/.test( nodeName ) ?
		!element.disabled :
		"a" === nodeName ?
			element.href || isTabIndexNotNaN :
			isTabIndexNotNaN) &&
		// the element and all of its ancestors must be visible
		visible( element );

}

function visible( element ) {

	return $.expr.filters.visible( element ) &&
		!$( element ).parents().addBack().filter(function() {

			return $.css( this, "visibility" ) === "hidden";
		
}).length;

}

$.extend( $.expr[ ":" ], {

	data: $.expr.createPseudo ?
		$.expr.createPseudo(function( dataName ) {

			return function( elem ) {

				return !!$.data( elem, dataName );
			
};
		
}) :
		// support: jQuery <1.8
		function( elem, i, match ) {

			return !!$.data( elem, match[ 3 ] );
		
},

	focusable: function( element ) {

		return focusable( element, !isNaN( $.attr( element, "tabindex" ) ) );
	
},

	tabbable: function( element ) {

		var tabIndex = $.attr( element, "tabindex" ),
			isTabIndexNaN = isNaN( tabIndex );
		return ( isTabIndexNaN || tabIndex >= 0 ) && focusable( element, !isTabIndexNaN );
	
}

});

// support: jQuery <1.8
if ( !$( "<a>" ).outerWidth( 1 ).jquery ) {

	$.each( [ "Width", "Height" ], function( i, name ) {

		var side = name === "Width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ],
			type = name.toLowerCase(),
			orig = {

				innerWidth: $.fn.innerWidth,
				innerHeight: $.fn.innerHeight,
				outerWidth: $.fn.outerWidth,
				outerHeight: $.fn.outerHeight
			
};

		function reduce( elem, size, border, margin ) {

			$.each( side, function() {

				size -= parseFloat( $.css( elem, "padding" + this ) ) || 0;
				if ( border ) {

					size -= parseFloat( $.css( elem, "border" + this + "Width" ) ) || 0;
				
}
				if ( margin ) {

					size -= parseFloat( $.css( elem, "margin" + this ) ) || 0;
				
}
			
});
			return size;
		
}

		$.fn[ "inner" + name ] = function( size ) {

			if ( size === undefined ) {

				return orig[ "inner" + name ].call( this );
			
}

			return this.each(function() {

				$( this ).css( type, reduce( this, size ) + "px" );
			
});
		
};

		$.fn[ "outer" + name] = function( size, margin ) {

			if ( typeof size !== "number" ) {

				return orig[ "outer" + name ].call( this, size );
			
}

			return this.each(function() {

				$( this).css( type, reduce( this, size, true, margin ) + "px" );
			
});
		
};
	
});

}

// support: jQuery <1.8
if ( !$.fn.addBack ) {

	$.fn.addBack = function( selector ) {

		return this.add( selector == null ?
			this.prevObject : this.prevObject.filter( selector )
		);
	
};

}

// support: jQuery 1.6.1, 1.6.2 (http://bugs.jquery.com/ticket/9413)
if ( $( "<a>" ).data( "a-b", "a" ).removeData( "a-b" ).data( "a-b" ) ) {

	$.fn.removeData = (function( removeData ) {

		return function( key ) {

			if ( arguments.length ) {

				return removeData.call( this, $.camelCase( key ) );
			
} else {

				return removeData.call( this );
			
}
		
};
	
})( $.fn.removeData );

}

// deprecated
$.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );

$.fn.extend({

	focus: (function( orig ) {

		return function( delay, fn ) {

			return typeof delay === "number" ?
				this.each(function() {

					var elem = this;
					setTimeout(function() {

						$( elem ).focus();
						if ( fn ) {

							fn.call( elem );
						
}
					
}, delay );
				
}) :
				orig.apply( this, arguments );
		
};
	
})( $.fn.focus ),

	disableSelection: (function() {

		var eventType = "onselectstart" in document.createElement( "div" ) ?
			"selectstart" :
			"mousedown";

		return function() {

			return this.bind( eventType + ".ui-disableSelection", function( event ) {

				event.preventDefault();
			
});
		
};
	
})(),

	enableSelection: function() {

		return this.unbind( ".ui-disableSelection" );
	
},

	zIndex: function( zIndex ) {

		if ( zIndex !== undefined ) {

			return this.css( "zIndex", zIndex );
		
}

		if ( this.length ) {

			var elem = $( this[ 0 ] ), position, value;
			while ( elem.length && elem[ 0 ] !== document ) {

				// Ignore z-index if position is set to a value where z-index is ignored by the browser
				// This makes behavior of this function consistent across browsers
				// WebKit always returns auto if the element is positioned
				position = elem.css( "position" );
				if ( position === "absolute" || position === "relative" || position === "fixed" ) {

					// IE returns 0 when zIndex is not specified
					// other browsers return a string
					// we ignore the case of nested elements with an explicit value of 0
					// <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
					value = parseInt( elem.css( "zIndex" ), 10 );
					if ( !isNaN( value ) && value !== 0 ) {

						return value;
					
}
				
}
				elem = elem.parent();
			
}
		
}

		return 0;
	
}

});

// $.ui.plugin is deprecated. Use $.widget() extensions instead.
$.ui.plugin = {

	add: function( module, option, set ) {

		var i,
			proto = $.ui[ module ].prototype;
		for ( i in set ) {

			proto.plugins[ i ] = proto.plugins[ i ] || [];
			proto.plugins[ i ].push( [ option, set[ i ] ] );
		
}
	
},
	call: function( instance, name, args, allowDisconnected ) {

		var i,
			set = instance.plugins[ name ];

		if ( !set ) {

			return;
		
}

		if ( !allowDisconnected && ( !instance.element[ 0 ].parentNode || instance.element[ 0 ].parentNode.nodeType === 11 ) ) {

			return;
		
}

		for ( i = 0; i < set.length; i++ ) {

			if ( instance.options[ set[ i ][ 0 ] ] ) {

				set[ i ][ 1 ].apply( instance.element, args );
			
}
		
}
	
}

};


/*!
 * jQuery UI Widget 1.11.2
 * http://jqueryui.com
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/jQuery.widget/
 */


var widget_uuid = 0,
	widget_slice = Array.prototype.slice;

$.cleanData = (function( orig ) {

	return function( elems ) {

		var events, elem, i;
		for ( i = 0; (elem = elems[i]) != null; i++ ) {

			try {


				// Only trigger remove when necessary to save time
				events = $._data( elem, "events" );
				if ( events && events.remove ) {

					$( elem ).triggerHandler( "remove" );
				
}

			// http://bugs.jquery.com/ticket/8235
			
} catch ( e ) {

}
		
}
		orig( elems );
	
};

})( $.cleanData );

$.widget = function( name, base, prototype ) {

	var fullName, existingConstructor, constructor, basePrototype,
		// proxiedPrototype allows the provided prototype to remain unmodified
		// so that it can be used as a mixin for multiple widgets (#8876)
		proxiedPrototype = {

},
		namespace = name.split( "." )[ 0 ];

	name = name.split( "." )[ 1 ];
	fullName = namespace + "-" + name;

	if ( !prototype ) {

		prototype = base;
		base = $.Widget;
	
}

	// create selector for plugin
	$.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {

		return !!$.data( elem, fullName );
	
};

	$[ namespace ] = $[ namespace ] || {

};
	existingConstructor = $[ namespace ][ name ];
	constructor = $[ namespace ][ name ] = function( options, element ) {

		// allow instantiation without "new" keyword
		if ( !this._createWidget ) {

			return new constructor( options, element );
		
}

		// allow instantiation without initializing for simple inheritance
		// must use "new" keyword (the code above always passes args)
		if ( arguments.length ) {

			this._createWidget( options, element );
		
}
	
};
	// extend with the existing constructor to carry over any static properties
	$.extend( c
...
...
(文件超长,未完全显示,请下载后阅读剩余部分)
			
...
展开> <收缩

下载源码到电脑,阅读使用更方便

1 积分

快速下载
还剩0行未阅读,继续阅读
云测速

源码文件列表

温馨提示: 点击源码文件名可预览文件内容哦 ^_^
...
名称 大小 修改日期
CraftVGames.iml281.00 B11-09-17|21:51
modules.xml274.00 B11-09-17|21:51
workspace.xml12.77 kB11-09-17|21:56
bootstrap-theme.css22.08 kB19-01-15|09:03
bootstrap-theme.css.map42.32 kB19-01-15|08:32
bootstrap-theme.min.css19.50 kB19-01-15|09:03
bootstrap.css138.10 kB19-01-15|09:03
bootstrap.css.map370.81 kB19-01-15|08:32
bootstrap.min.css114.40 kB19-01-15|09:03
sticky-footer-navbar.css693.00 B14-08-17|21:30
style.css63.00 B11-02-15|09:16
glyphicons-halflings-regular.eot19.66 kB18-01-15|13:38
glyphicons-halflings-regular.svg106.19 kB18-01-15|13:38
glyphicons-halflings-regular.ttf44.34 kB18-01-15|13:38
glyphicons-halflings-regular.woff22.88 kB18-01-15|13:38
glyphicons-halflings-regular.woff217.61 kB18-01-15|13:38
jquery-1.12.4.js297.30 kB26-07-17|23:28
jquery-3.2.1.min.js84.63 kB22-06-17|23:47
bootstrap.js65.17 kB19-01-15|09:03
bootstrap.min.js34.62 kB19-01-15|09:03
ini.js151.00 B11-02-15|08:46
Thumbs.db20.00 kB06-08-17|14:52
ui-bg_diagonals-thick_18_b81900_40x40.png418.00 B11-02-15|05:40
ui-bg_diagonals-thick_20_666666_40x40.png312.00 B11-02-15|05:40
ui-bg_flat_10_000000_40x100.png205.00 B11-02-15|05:40
ui-bg_glass_100_f6f6f6_1x400.png262.00 B11-02-15|05:40
ui-bg_glass_100_fdf5ce_1x400.png348.00 B11-02-15|05:40
ui-bg_glass_65_ffffff_1x400.png207.00 B11-02-15|05:40
ui-bg_gloss-wave_35_f6a828_500x100.png5.68 kB11-02-15|05:40
ui-bg_highlight-soft_100_eeeeee_1x100.png278.00 B11-02-15|05:40
ui-bg_highlight-soft_75_ffe45c_1x100.png328.00 B11-02-15|05:40
ui-icons_222222_256x240.png6.76 kB11-02-15|05:40
ui-icons_228ef1_256x240.png4.44 kB11-02-15|05:40
ui-icons_ef8c08_256x240.png4.44 kB11-02-15|05:40
ui-icons_ffd27a_256x240.png4.44 kB11-02-15|05:40
ui-icons_ffffff_256x240.png6.15 kB11-02-15|05:40
index.html30.97 kB11-02-15|05:40
jquery-ui.css34.52 kB11-02-15|05:40
jquery-ui.js458.36 kB11-02-15|05:40
jquery-ui.min.css29.46 kB11-02-15|05:40
jquery-ui.min.js233.95 kB11-02-15|05:40
jquery-ui.structure.css17.60 kB11-02-15|05:40
jquery-ui.structure.min.css14.42 kB11-02-15|05:40
jquery-ui.theme.css17.01 kB11-02-15|05:40
jquery-ui.theme.min.css13.54 kB11-02-15|05:40
jquery.anexsoft-validator.js11.27 kB11-02-15|09:00
npm.js484.00 B19-01-15|08:32
bd_clase.php233.00 B07-08-17|22:08
companias_controlador.php1.56 kB15-08-17|01:27
generos_controlador.php1.27 kB15-08-17|02:19
modos_juegos_controlador.php1.39 kB15-08-17|10:05
modos_perspectiva_controlador.php1.45 kB15-08-17|10:18
index.php352.00 B08-08-17|01:08
index_genero.php349.00 B15-08-17|01:56
index_modo_juego.php360.00 B15-08-17|02:26
companias_modelo.php1.76 kB14-08-17|23:54
generos_modelo.php1.44 kB15-08-17|01:28
modos_juegos_modelo.php1.59 kB15-08-17|02:47
modos_perspectiva_modelo.php1.82 kB15-08-17|11:00
companias.php1.47 kB14-08-17|23:18
companias_form.php2.61 kB15-08-17|00:13
footer.php213.00 B14-08-17|21:30
generos.php1.18 kB15-08-17|01:59
generos_form.php1.44 kB15-08-17|11:06
header.php5.75 kB15-08-17|02:32
modos_juego.php1.25 kB15-08-17|02:52
modos_juego_form.php1.48 kB15-08-17|02:34
images0.00 B28-02-18|20:27
jquery-ui0.00 B28-02-18|20:27
css0.00 B28-02-18|20:26
fonts0.00 B28-02-18|20:26
jquery0.00 B28-02-18|20:26
js0.00 B28-02-18|20:26
companias0.00 B28-02-18|20:27
generos0.00 B28-02-18|20:27
modos_juego0.00 B28-02-18|20:27
.idea0.00 B28-02-18|20:26
assets0.00 B28-02-18|20:26
bd0.00 B28-02-18|20:27
controllers0.00 B28-02-18|20:27
libs0.00 B06-08-17|15:44
models0.00 B28-02-18|20:27
uploads0.00 B06-08-17|15:44
views0.00 B28-02-18|20:27
CraftVGames0.00 B28-02-18|20:27
云测速

jquery-ui.js (588.44 kB)

需要 1 积分
您持有 积分

CodeForge积分(原CF币)全新升级,功能更强大,使用更便捷,不仅可以用来下载海量源代码马上还可兑换精美小礼品了 了解更多

您的积分不足

支付宝优惠套餐快速获取 30 积分

订单支付完成后,积分将自动加入到您的账号。以下是优惠期的人民币价格,优惠期过后将恢复美元价格。

更多付款方式:网银PayPal

上传代码,免费获取

您本次下载所消耗的积分将转交上传作者。

同一源码,30天内重复下载,只扣除一次积分。

登录 CodeForge

还没有CodeForge账号? 立即注册
关注微博
联系客服

Switch to the English version?

Yes
CodeForge 英文版
No
CodeForge 中文版

完善个人资料,获价值¥30元积分奖励!

^_^"呃 ...

Sorry!这位大神很神秘,未开通博客呢,请浏览一下其他的吧
好的