亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mootools.svn.js

?? 基于MOOnTOOLs所開發的一個導航攔僅供參考
?? JS
?? 第 1 頁 / 共 5 頁
字號:
	Property: getRandom		returns a random item in the Array	*/	getRandom: function(){		return this[$random(0, this.length - 1)] || null;	},	/*	Property: getLast		returns the last item in the Array	*/	getLast: function(){		return this[this.length - 1] || null;	}});//copiesArray.prototype.each = Array.prototype.forEach;Array.each = Array.forEach;/* Section: Utility Functions *//*Function: $A()	Same as <Array.copy>, but as function.	Useful to apply Array prototypes to iterable objects, as a collection of DOM elements or the arguments object.Example:	(start code)	function myFunction(){		$A(arguments).each(argument, function(){			alert(argument);		});	};	//the above will alert all the arguments passed to the function myFunction.	(end)*/function $A(array){	return Array.copy(array);};/*Function: $each	Use to iterate through iterables that are not regular arrays, such as builtin getElementsByTagName calls, arguments of a function, or an object.Arguments:	iterable - an iterable element or an objct.	function - function to apply to the iterable.	bind - optional, the 'this' of the function will refer to this object.Function argument:	The function argument will be passed the following arguments.	item - the current item in the iterator being procesed	index - integer; the index of the item, or key in case of an object.Examples:	(start code)	$each(['Sun','Mon','Tue'], function(day, index){		alert('name:' + day + ', index: ' + index);	});	//alerts "name: Sun, index: 0", "name: Mon, index: 1", etc.	//over an object	$each({first: "Sunday", second: "Monday", third: "Tuesday"}, function(value, key){		alert("the " + key + " day of the week is " + value);	});	//alerts "the first day of the week is Sunday",	//"the second day of the week is Monday", etc.	(end)*/function $each(iterable, fn, bind){	if (iterable && typeof iterable.length == 'number' && $type(iterable) != 'object'){		Array.forEach(iterable, fn, bind);	} else {		 for (var name in iterable) fn.call(bind || iterable, iterable[name], name);	}};/*compatibility*/Array.prototype.test = Array.prototype.contains;/*end compatibility*//*Script: String.js	Contains String prototypes.License:	MIT-style license.*//*Class: String	A collection of The String Object prototype methods.*/String.extend({	/*	Property: test		Tests a string with a regular expression.	Arguments:		regex - a string or regular expression object, the regular expression you want to match the string with		params - optional, if first parameter is a string, any parameters you want to pass to the regex ('g' has no effect)	Returns:		true if a match for the regular expression is found in the string, false if not.		See <http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:RegExp:test>	Example:		>"I like cookies".test("cookie"); // returns true		>"I like cookies".test("COOKIE", "i") // ignore case, returns true		>"I like cookies".test("cake"); // returns false	*/	test: function(regex, params){		return (($type(regex) == 'string') ? new RegExp(regex, params) : regex).test(this);	},	/*	Property: toInt		parses a string to an integer.	Returns:		either an int or "NaN" if the string is not a number.	Example:		>var value = "10px".toInt(); // value is 10	*/	toInt: function(){		return parseInt(this, 10);	},	/*	Property: toFloat		parses a string to an float.	Returns:		either a float or "NaN" if the string is not a number.	Example:		>var value = "10.848".toFloat(); // value is 10.848	*/	toFloat: function(){		return parseFloat(this);	},	/*	Property: camelCase		Converts a hiphenated string to a camelcase string.	Example:		>"I-like-cookies".camelCase(); //"ILikeCookies"	Returns:		the camel cased string	*/	camelCase: function(){		return this.replace(/-\D/g, function(match){			return match.charAt(1).toUpperCase();		});	},	/*	Property: hyphenate		Converts a camelCased string to a hyphen-ated string.	Example:		>"ILikeCookies".hyphenate(); //"I-like-cookies"	*/	hyphenate: function(){		return this.replace(/\w[A-Z]/g, function(match){			return (match.charAt(0) + '-' + match.charAt(1).toLowerCase());		});	},	/*	Property: capitalize		Converts the first letter in each word of a string to Uppercase.	Example:		>"i like cookies".capitalize(); //"I Like Cookies"	Returns:		the capitalized string	*/	capitalize: function(){		return this.replace(/\b[a-z]/g, function(match){			return match.toUpperCase();		});	},	/*	Property: trim		Trims the leading and trailing spaces off a string.	Example:		>"    i like cookies     ".trim() //"i like cookies"	Returns:		the trimmed string	*/	trim: function(){		return this.replace(/^\s+|\s+$/g, '');	},	/*	Property: clean		trims (<String.trim>) a string AND removes all the double spaces in a string.	Returns:		the cleaned string	Example:		>" i      like     cookies      \n\n".clean() //"i like cookies"	*/	clean: function(){		return this.replace(/\s{2,}/g, ' ').trim();	},	/*	Property: rgbToHex		Converts an RGB value to hexidecimal. The string must be in the format of "rgb(255,255,255)" or "rgba(255,255,255,1)";	Arguments:		array - boolean value, defaults to false. Use true if you want the array ['FF','33','00'] as output instead of "#FF3300"	Returns:		hex string or array. returns "transparent" if the output is set as string and the fourth value of rgba in input string is 0.	Example:		>"rgb(17,34,51)".rgbToHex(); //"#112233"		>"rgba(17,34,51,0)".rgbToHex(); //"transparent"		>"rgb(17,34,51)".rgbToHex(true); //['11','22','33']	*/	rgbToHex: function(array){		var rgb = this.match(/\d{1,3}/g);		return (rgb) ? rgb.rgbToHex(array) : false;	},	/*	Property: hexToRgb		Converts a hexidecimal color value to RGB. Input string must be the hex color value (with or without the hash). Also accepts triplets ('333');	Arguments:		array - boolean value, defaults to false. Use true if you want the array [255,255,255] as output instead of "rgb(255,255,255)";	Returns:		rgb string or array.	Example:		>"#112233".hexToRgb(); //"rgb(17,34,51)"		>"#112233".hexToRgb(true); //[17,34,51]	*/	hexToRgb: function(array){		var hex = this.match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/);		return (hex) ? hex.slice(1).hexToRgb(array) : false;	},	/*	Property: contains		checks if the passed in string is contained in the String. also accepts an optional second parameter, to check if the string is contained in a list of separated values.	Example:		>'a b c'.contains('c', ' '); //true		>'a bc'.contains('bc'); //true		>'a bc'.contains('b', ' '); //false	*/	contains: function(string, s){		return (s) ? (s + this + s).indexOf(s + string + s) > -1 : this.indexOf(string) > -1;	},	/*	Property: escapeRegExp		Returns string with escaped regular expression characters	Example:		>var search = 'animals.sheeps[1]'.escapeRegExp(); // search is now 'animals\.sheeps\[1\]'	Returns:		Escaped string	*/	escapeRegExp: function(){		return this.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1');	}});Array.extend({	/*	Property: rgbToHex		see <String.rgbToHex>, but as an array method.	*/	rgbToHex: function(array){		if (this.length < 3) return false;		if (this.length == 4 && this[3] == 0 && !array) return 'transparent';		var hex = [];		for (var i = 0; i < 3; i++){			var bit = (this[i] - 0).toString(16);			hex.push((bit.length == 1) ? '0' + bit : bit);		}		return array ? hex : '#' + hex.join('');	},	/*	Property: hexToRgb		same as <String.hexToRgb>, but as an array method.	*/	hexToRgb: function(array){		if (this.length != 3) return false;		var rgb = [];		for (var i = 0; i < 3; i++){			rgb.push(parseInt((this[i].length == 1) ? this[i] + this[i] : this[i], 16));		}		return array ? rgb : 'rgb(' + rgb.join(',') + ')';	}});/* Script: Function.js	Contains Function prototypes and utility functions .License:	MIT-style license.Credits:	- Some functions are inspired by those found in prototype.js <http://prototype.conio.net/> (c) 2005 Sam Stephenson sam [at] conio [dot] net, MIT-style license*//*Class: Function	A collection of The Function Object prototype methods.*/Function.extend({	/*	Property: create		Main function to create closures.	Returns:		a function.	Arguments:		options - An Options object.	Options:		bind - The object that the "this" of the function will refer to. Default is the current function.		event - If set to true, the function will act as an event listener and receive an event as first argument.				If set to a class name, the function will receive a new instance of this class (with the event passed as argument's constructor) as first argument.				Default is false.		arguments - A single argument or array of arguments that will be passed to the function when called.							If both the event and arguments options are set, the event is passed as first argument and the arguments array will follow.										Default is no custom arguments, the function will receive the standard arguments when called.							delay - Numeric value: if set, the returned function will delay the actual execution by this amount of milliseconds and return a timer handle when called.				Default is no delay.		periodical - Numeric value: if set, the returned function will periodically perform the actual execution with this specified interval and return a timer handle when called.				Default is no periodical execution.		attempt - If set to true, the returned function will try to execute and return either the results or false on error. Default is false.	*/	create: function(options){		var fn = this;		options = $merge({			'bind': fn,			'event': false,			'arguments': null,			'delay': false,			'periodical': false,			'attempt': false		}, options);		if ($chk(options.arguments) && $type(options.arguments) != 'array') options.arguments = [options.arguments];		return function(event){			var args;			if (options.event){				event = event || window.event;				args = [(options.event === true) ? event : new options.event(event)];				if (options.arguments) args.extend(options.arguments);			}			else args = options.arguments || arguments;			var returns = function(){				return fn.apply($pick(options.bind, fn), args);			};			if (options.delay) return setTimeout(returns, options.delay);			if (options.periodical) return setInterval(returns, options.periodical);			if (options.attempt) try {return returns();} catch(err){return false;};			return returns();		};	},	/*	Property: pass		Shortcut to create closures with arguments and bind.	Returns:		a function.	Arguments:		args - the arguments passed. must be an array if arguments > 1		bind - optional, the object that the "this" of the function will refer to.	Example:		>myFunction.pass([arg1, arg2], myElement);	*/	pass: function(args, bind){		return this.create({'arguments': args, 'bind': bind});	},	/*	Property: attempt		Tries to execute the function, returns either the result of the function or false on error.	Arguments:		args - the arguments passed. must be an array if arguments > 1		bind - optional, the object that the "this" of the function will refer to.	Example:		>myFunction.attempt([arg1, arg2], myElement);	*/	attempt: function(args, bind){		return this.create({'arguments': args, 'bind': bind, 'attempt': true})();	},	/*	Property: bind		method to easily create closures with "this" altered.	Arguments:		bind - optional, the object that the "this" of the function will refer to.		args - optional, the arguments passed. must be an array if arguments > 1	Returns:		a function.	Example:		>function myFunction(){		>	this.setStyle('color', 'red');		>	// note that 'this' here refers to myFunction, not an element		>	// we'll need to bind this function to the element we want to alter		>};		>var myBoundFunction = myFunction.bind(myElement);		>myBoundFunction(); // this will make the element myElement red.	*/	bind: function(bind, args){		return this.create({'bind': bind, 'arguments': args});	},	/*	Property: bindAsEventListener		cross browser method to pass event firer	Arguments:		bind - optional, the object that the "this" of the function will refer to.		args - optional, the arguments passed. must be an array if arguments > 1	Returns:		a function with the parameter bind as its "this" and as a pre-passed argument event or window.event, depending on the browser.	Example:		>function myFunction(event){		>	alert(event.clientx) //returns the coordinates of the mouse..		>};		>myElement.onclick = myFunction.bindAsEventListener(myElement);	*/	bindAsEventListener: function(bind, args){		return this.create({'bind': bind, 'event': true, 'arguments': args});	},	/*	Property: delay		Delays the execution of a function by a specified duration.	Arguments:		delay - the duration to wait in milliseconds.		bind - optional, the object that the "this" of the function will refer to.		args - optional, the arguments passed. must be an array if arguments > 1	Example:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美激情一区二区三区四区| 欧美在线啊v一区| www久久精品| 国产老妇另类xxxxx| 久久久精品天堂| 99久久夜色精品国产网站| 一区二区三区免费在线观看| 欧美日韩一区三区| 久久99精品久久久久久国产越南| 久久免费的精品国产v∧| 粉嫩欧美一区二区三区高清影视| 国产精品日韩精品欧美在线| 欧美影院一区二区| 日本视频一区二区| 中文字幕精品一区二区三区精品| 99久久99久久免费精品蜜臀| 亚洲成人在线免费| 国产亚洲一区字幕| 色爱区综合激月婷婷| 天堂成人国产精品一区| 国产午夜精品理论片a级大结局| 99这里都是精品| 免费看黄色91| 最新成人av在线| 欧美成人福利视频| 91亚洲精品一区二区乱码| 水野朝阳av一区二区三区| 国产欧美日韩在线视频| 欧美蜜桃一区二区三区| 国产一二三精品| 亚洲综合色视频| 国产日韩综合av| 欧美人狂配大交3d怪物一区| 成人午夜伦理影院| 日韩av不卡一区二区| 成人免费一区二区三区在线观看| 欧美日韩第一区日日骚| 成人午夜av影视| 蜜桃av一区二区三区电影| 亚洲另类一区二区| 久久天天做天天爱综合色| 欧美视频在线不卡| 成人免费看黄yyy456| 日韩**一区毛片| 一区二区三区蜜桃| 国产精品人成在线观看免费| 欧美一区二区三区免费观看视频 | 91精品国产免费| 成人app软件下载大全免费| 麻豆精品在线观看| 亚洲成人综合网站| 日韩伦理av电影| 欧美国产日韩在线观看| 日韩欧美www| 欧美丰满嫩嫩电影| 在线观看亚洲一区| 色综合色狠狠综合色| 国产成人在线视频网站| 久久精品av麻豆的观看方式| 婷婷久久综合九色综合绿巨人| 综合久久久久久| 欧美高清在线一区二区| 精品久久久久久久久久久久包黑料| 欧美日本免费一区二区三区| 91麻豆国产精品久久| av在线一区二区三区| 成人小视频在线| 成人久久久精品乱码一区二区三区| 国内精品在线播放| 久久精品国产亚洲a| 蜜桃视频一区二区三区| 免费在线看成人av| 青青草伊人久久| 日韩国产欧美在线观看| 日韩专区一卡二卡| 日韩国产在线观看一区| 男人操女人的视频在线观看欧美| 免费欧美在线视频| 久久99精品国产.久久久久| 久久66热偷产精品| 国产一区二区不卡在线| 国产91丝袜在线播放| 成人免费av资源| 99久久99久久精品免费观看| 色婷婷一区二区| 在线观看中文字幕不卡| 3751色影院一区二区三区| 欧美一区二区三区四区视频| 日韩欧美一区在线观看| 精品国产乱码久久久久久牛牛| 精品黑人一区二区三区久久| 精品成人一区二区三区| 国产精品丝袜91| 一区二区三区美女| 日韩精品电影在线观看| 久久爱www久久做| 风间由美性色一区二区三区| 91玉足脚交白嫩脚丫在线播放| 欧美三级三级三级| 精品三级av在线| 国产精品丝袜一区| 亚洲高清视频中文字幕| 老司机一区二区| 成人福利视频在线| 欧美在线你懂得| www国产精品av| 日韩理论电影院| 午夜在线电影亚洲一区| 国产一区中文字幕| 91猫先生在线| 日韩欧美一区二区免费| 国产精品天天看| 日韩在线一区二区三区| 国产高清久久久| 欧美日韩色综合| 国产亚洲欧美激情| 亚洲午夜三级在线| 国产精品原创巨作av| 在线看一区二区| xvideos.蜜桃一区二区| 亚洲一区二区在线观看视频| 国产一区二区三区国产| 欧美无人高清视频在线观看| 久久久久久久久久久久久夜| 亚洲一区二区精品3399| 国产成人久久精品77777最新版本| 欧美最猛黑人xxxxx猛交| 久久久蜜桃精品| 日韩国产高清影视| 99热这里都是精品| 久久久久久久久蜜桃| 天堂午夜影视日韩欧美一区二区| 成人免费毛片aaaaa**| 欧美岛国在线观看| 性做久久久久久| 色综合久久天天综合网| 久久精品一区蜜桃臀影院| 偷偷要91色婷婷| 91视视频在线观看入口直接观看www | 日日欢夜夜爽一区| 成人性色生活片| 久久婷婷国产综合国色天香| 日韩影院精彩在线| 91精品办公室少妇高潮对白| 中文字幕免费不卡在线| 精品综合免费视频观看| 欧美绝品在线观看成人午夜影视| 1024国产精品| 丰满放荡岳乱妇91ww| 精品国产电影一区二区| 日本一不卡视频| 欧美精品在线观看一区二区| 亚洲精品国产高清久久伦理二区| 成人高清免费在线播放| 国产精品免费免费| 国产成人夜色高潮福利影视| 欧美精品一区在线观看| 精品制服美女久久| 日韩欧美一区在线观看| 美女国产一区二区| 欧美精品第1页| 午夜影院久久久| 欧美日韩国产a| 日韩精品国产欧美| 日韩亚洲欧美中文三级| 日本一不卡视频| 欧美成人vps| 国产综合色产在线精品| 国产视频一区二区三区在线观看| 久久99精品久久久| 久久精品欧美日韩精品| 成人一区二区三区中文字幕| 亚洲国产精品二十页| 波波电影院一区二区三区| 17c精品麻豆一区二区免费| 色欧美乱欧美15图片| 亚洲国产综合在线| 欧美日韩一级片在线观看| 秋霞国产午夜精品免费视频 | 日韩片之四级片| 国产一区在线不卡| 国产亚洲综合性久久久影院| 丰满少妇久久久久久久| 综合电影一区二区三区 | 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 国产ts人妖一区二区| 中文字幕亚洲不卡| 91美女精品福利| 石原莉奈在线亚洲三区| 精品久久久久久无| 99久久精品情趣| 亚洲国产sm捆绑调教视频| 日韩欧美中文字幕公布| 国产成人av网站| 亚洲精品成人在线| 精品欧美乱码久久久久久1区2区| 成人午夜在线视频| 亚洲第一综合色| 久久精品亚洲一区二区三区浴池| 不卡免费追剧大全电视剧网站|