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

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

?? jquery.dimensions.js

?? java阿里巴巴代碼
?? JS
字號:
/** 
 * This plugin overrides jQuery's height() and width() functions and
 * adds more handy stuff for cross-browser compatibility.
 */

/**
 * Returns the css height value for the first matched element.
 * If used on document, returns the document's height (innerHeight)
 * If used on window, returns the viewport's (window) height
 *
 * @example $("#testdiv").height()
 * @result "200px"
 *
 * @example $(document).height();
 * @result 800
 *
 * @example $(window).height();
 * @result 400
 * 
 * @name height
 * @type Object
 * @cat Plugins/Dimensions
 */
jQuery.fn.height = function() {
	if ( this.get(0) == window )
		return self.innerHeight ||
			jQuery.boxModel && document.documentElement.clientHeight ||
			document.body.clientHeight;
	
	if ( this.get(0) == document )
		return Math.max( document.body.scrollHeight, document.body.offsetHeight );
	
	return this.css("height", arguments[0]);
};

/**
 * Returns the css width value for the first matched element.
 * If used on document, returns the document's width (innerWidth)
 * If used on window, returns the viewport's (window) width
 *
 * @example $("#testdiv").width()
 * @result "200px"
 *
 * @example $(document).width();
 * @result 800
 *
 * @example $(window).width();
 * @result 400
 * 
 * @name width
 * @type Object
 * @cat Plugins/Dimensions
 */
jQuery.fn.width = function() {
	if ( this.get(0) == window )
		return self.innerWidth ||
			jQuery.boxModel && document.documentElement.clientWidth ||
			document.body.clientWidth;
	
	if ( this.get(0) == document )
		return Math.max( document.body.scrollWidth, document.body.offsetWidth );
	
	return this.css("width", arguments[0]);
};

/**
 * Returns the inner height value (without border) for the first matched element.
 * If used on document, returns the document's height (innerHeight)
 * If used on window, returns the viewport's (window) height
 *
 * @example $("#testdiv").innerHeight()
 * @result 800
 * 
 * @name innerHeight
 * @type Number
 * @cat Plugins/Dimensions
 */
jQuery.fn.innerHeight = function() {
	return this.get(0) == window || this.get(0) == document ?
		this.height() :
		this.get(0).offsetHeight - parseInt(this.css("borderTop") || 0) - parseInt(this.css("borderBottom") || 0);
};

/**
 * Returns the inner width value (without border) for the first matched element.
 * If used on document, returns the document's Width (innerWidth)
 * If used on window, returns the viewport's (window) width
 *
 * @example $("#testdiv").innerWidth()
 * @result 1000
 * 
 * @name innerWidth
 * @type Number
 * @cat Plugins/Dimensions
 */
jQuery.fn.innerWidth = function() {
	return this.get(0) == window || this.get(0) == document ?
		this.width() :
		this.get(0).offsetWidth - parseInt(this.css("borderLeft") || 0) - parseInt(this.css("borderRight") || 0);
};

/**
 * Returns the outer height value (including border) for the first matched element.
 * Cannot be used on document or window.
 *
 * @example $("#testdiv").outerHeight()
 * @result 1000
 * 
 * @name outerHeight
 * @type Number
 * @cat Plugins/Dimensions
 */
jQuery.fn.outerHeight = function() {
	return this.get(0) == window || this.get(0) == document ?
		this.height() :
		this.get(0).offsetHeight;	
};

/**
 * Returns the outer width value (including border) for the first matched element.
 * Cannot be used on document or window.
 *
 * @example $("#testdiv").outerWidth()
 * @result 1000
 * 
 * @name outerWidth
 * @type Number
 * @cat Plugins/Dimensions
 */
jQuery.fn.outerWidth = function() {
	return this.get(0) == window || this.get(0) == document ?
		this.width() :
		this.get(0).offsetWidth;	
};

/**
 * Returns how many pixels the user has scrolled to the right (scrollLeft).
 * Works on containers with overflow: auto and window/document.
 *
 * @example $("#testdiv").scrollLeft()
 * @result 100
 * 
 * @name scrollLeft
 * @type Number
 * @cat Plugins/Dimensions
 */
jQuery.fn.scrollLeft = function() {
	if ( this.get(0) == window || this.get(0) == document )
		return self.pageXOffset ||
			jQuery.boxModel && document.documentElement.scrollLeft ||
			document.body.scrollLeft;
	
	return this.get(0).scrollLeft;
};

/**
 * Returns how many pixels the user has scrolled to the bottom (scrollTop).
 * Works on containers with overflow: auto and window/document.
 *
 * @example $("#testdiv").scrollTop()
 * @result 100
 * 
 * @name scrollTop
 * @type Number
 * @cat Plugins/Dimensions
 */
jQuery.fn.scrollTop = function() {
	if ( this.get(0) == window || this.get(0) == document )
		return self.pageYOffset ||
			jQuery.boxModel && document.documentElement.scrollTop ||
			document.body.scrollTop;

	return this.get(0).scrollTop;
};

/**
 * This returns an object with top, left, width, height, borderLeft,
 * borderTop, marginLeft, marginTop, scrollLeft, scrollTop, 
 * pageXOffset, pageYOffset.
 *
 * The top and left values include the scroll offsets but the
 * scrollLeft and scrollTop properties of the returned object
 * are the combined scroll offets of the parent elements 
 * (not including the window scroll offsets). This is not the
 * same as the element's scrollTop and scrollLeft.
 * 
 * For accurate readings make sure to use pixel values.
 *
 * @name offset	
 * @type Object
 * @cat Plugins/Dimensions
 * @author Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
 */
/**
 * This returns an object with top, left, width, height, borderLeft,
 * borderTop, marginLeft, marginTop, scrollLeft, scrollTop, 
 * pageXOffset, pageYOffset.
 *
 * The top and left values include the scroll offsets but the
 * scrollLeft and scrollTop properties of the returned object
 * are the combined scroll offets of the parent elements 
 * (not including the window scroll offsets). This is not the
 * same as the element's scrollTop and scrollLeft.
 * 
 * For accurate readings make sure to use pixel values.
 *
 * @name offset	
 * @type Object
 * @param String refElement This is an expression. The offset returned will be relative to the first matched element.
 * @cat Plugins/Dimensions
 * @author Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
 */
/**
 * This returns an object with top, left, width, height, borderLeft,
 * borderTop, marginLeft, marginTop, scrollLeft, scrollTop, 
 * pageXOffset, pageYOffset.
 *
 * The top and left values include the scroll offsets but the
 * scrollLeft and scrollTop properties of the returned object
 * are the combined scroll offets of the parent elements 
 * (not including the window scroll offsets). This is not the
 * same as the element's scrollTop and scrollLeft.
 * 
 * For accurate readings make sure to use pixel values.
 *
 * @name offset	
 * @type Object
 * @param jQuery refElement The offset returned will be relative to the first matched element.
 * @cat Plugins/Dimensions
 * @author Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
 */
/**
 * This returns an object with top, left, width, height, borderLeft,
 * borderTop, marginLeft, marginTop, scrollLeft, scrollTop, 
 * pageXOffset, pageYOffset.
 *
 * The top and left values include the scroll offsets but the
 * scrollLeft and scrollTop properties of the returned object
 * are the combined scroll offets of the parent elements 
 * (not including the window scroll offsets). This is not the
 * same as the element's scrollTop and scrollLeft.
 * 
 * For accurate readings make sure to use pixel values.
 *
 * @name offset	
 * @type Object
 * @param HTMLElement refElement The offset returned will be relative to this element.
 * @cat Plugins/Dimensions
 * @author Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
 */
jQuery.fn.offset = function(refElem) {
	if (!this[0]) throw 'jQuery.fn.offset requires an element.';

	refElem = (refElem) ? jQuery(refElem)[0] : null;
	var x = 0, y = 0, elem = this[0], parent = this[0], sl = 0, st = 0;
	do {
		if (parent.tagName == 'BODY' || parent.tagName == 'HTML') {
			// Safari and IE don't add margin for static and relative
			if ((jQuery.browser.safari || jQuery.browser.msie) && jQuery.css(parent, 'position') != 'absolute') {
				x += parseInt(jQuery.css(parent, 'marginLeft')) || 0;
				y += parseInt(jQuery.css(parent, 'marginTop'))  || 0;
			}
			break;
		}

		x += parent.offsetLeft || 0;
		y += parent.offsetTop  || 0;

		// Mozilla and IE do not add the border
		if (jQuery.browser.mozilla || jQuery.browser.msie) {
			x += parseInt(jQuery.css(parent, 'borderLeftWidth')) || 0;
			y += parseInt(jQuery.css(parent, 'borderTopWidth'))  || 0;
		}

		// Mozilla removes the border if the parent has overflow hidden
		if (jQuery.browser.mozilla && jQuery.css(parent, 'overflow') == 'hidden') {
			x += parseInt(jQuery.css(parent, 'borderLeftWidth')) || 0;
			y += parseInt(jQuery.css(parent, 'borderTopWidth'))  || 0;
		}

		// Need to get scroll offsets in-between offsetParents
		var op = parent.offsetParent;
		do {
			sl += parent.scrollLeft || 0;
			st += parent.scrollTop  || 0;
			parent = parent.parentNode;
		} while (parent != op);
	} while (parent);

	if (refElem) { // Get the relative offset
		var offset = jQuery(refElem).offset();
		x  = x  - offset.left;
		y  = y  - offset.top;
		sl = sl - offset.scrollLeft;
		st = st - offset.scrollTop;
	}

	// Safari and Opera do not add the border for the element
	if (jQuery.browser.safari || jQuery.browser.opera) {
		x += parseInt(jQuery.css(elem, 'borderLeftWidth')) || 0;
		y += parseInt(jQuery.css(elem, 'borderTopWidth'))  || 0;
	}

	return {
		top:  y - st,
		left: x - sl,
		width:  elem.offsetWidth,
		height: elem.offsetHeight,
		borderTop:  parseInt(jQuery.css(elem, 'borderTopWidth'))  || 0,
		borderLeft: parseInt(jQuery.css(elem, 'borderLeftWidth')) || 0,
		marginTop:  parseInt(jQuery.css(elem, 'marginTopWidth'))  || 0,
		marginLeft: parseInt(jQuery.css(elem, 'marginLeftWidth')) || 0,
		scrollTop:  st,
		scrollLeft: sl,
		pageYOffset: window.pageYOffset || document.documentElement.scrollTop  || document.body.scrollTop  || 0,
		pageXOffset: window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0
	};
};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美videos大乳护士334| 亚洲激情图片小说视频| 亚洲欧美成aⅴ人在线观看| 肉色丝袜一区二区| 波多野结衣精品在线| 欧美一级理论片| 亚洲一区二区三区不卡国产欧美| 韩国精品免费视频| 777欧美精品| 亚洲午夜精品久久久久久久久| 国产成人日日夜夜| 日韩视频永久免费| 丝袜亚洲另类丝袜在线| 欧美无乱码久久久免费午夜一区 | 日韩理论在线观看| 狠狠色狠狠色合久久伊人| 3d成人h动漫网站入口| 亚洲精品视频在线观看网站| a亚洲天堂av| 中文字幕视频一区二区三区久| 国产一区二区在线观看视频| 欧美一区二区三区日韩视频| 日韩激情中文字幕| 欧美区视频在线观看| 亚洲自拍偷拍网站| 在线观看一区不卡| 亚洲成av人片在线| 欧美精品自拍偷拍| 欧美a级理论片| 91精品国产91久久久久久最新毛片| 一级女性全黄久久生活片免费| 91色porny| 一区二区三区高清不卡| 欧美专区日韩专区| 婷婷开心激情综合| 欧美一区二区三区免费在线看| 日日噜噜夜夜狠狠视频欧美人 | 久久综合九色综合97婷婷女人 | 日本成人中文字幕在线视频| 91精品国产麻豆国产自产在线| 亚洲第一久久影院| 欧美一区二区三区免费观看视频 | 久久99久久99精品免视看婷婷 | 亚洲aⅴ怡春院| 日韩欧美综合在线| 国产电影精品久久禁18| 综合久久综合久久| 欧美日韩成人在线| 看片网站欧美日韩| 国产精品视频在线看| 91同城在线观看| 亚洲一区电影777| 欧美一区二区三区思思人| 久久精品国产999大香线蕉| 久久久影院官网| 一本大道久久a久久综合婷婷| 亚洲成人高清在线| 26uuu久久天堂性欧美| 成人精品视频.| 日日夜夜精品视频天天综合网| 精品国产一区a| 色妹子一区二区| 免费看欧美女人艹b| 中文字幕一区二区三区av| 欧美性xxxxxxxx| 国内国产精品久久| 亚洲乱码精品一二三四区日韩在线| 在线电影欧美成精品| 国产成人免费视频网站高清观看视频| 最新高清无码专区| 精品少妇一区二区三区免费观看 | 99麻豆久久久国产精品免费| 亚洲精品菠萝久久久久久久| 精品国产乱码久久久久久1区2区| 波多野洁衣一区| 久草在线在线精品观看| 一区二区免费视频| 国产日韩在线不卡| 91精品国产综合久久蜜臀| 色综合久久中文综合久久97| 国产精品影音先锋| 日本女人一区二区三区| 亚洲免费在线电影| 久久久久久一二三区| 欧美一区二区二区| 色综合av在线| av电影一区二区| 国产综合久久久久久久久久久久| 一区二区在线观看av| 欧美国产一区二区| 久久综合久久综合久久| 欧美一区二区视频观看视频| 色猫猫国产区一区二在线视频| 成人一级视频在线观看| 精品一区二区三区香蕉蜜桃| 日韩**一区毛片| 无码av免费一区二区三区试看| 亚洲欧美日韩中文字幕一区二区三区| 精品国产精品网麻豆系列| 在线不卡中文字幕播放| 欧美理论电影在线| 欧美在线播放高清精品| 一本色道综合亚洲| 一本久久a久久精品亚洲| av在线免费不卡| 波多野结衣亚洲一区| 成人性生交大片免费看视频在线| 经典三级在线一区| 精品在线播放免费| 久草这里只有精品视频| 国精产品一区一区三区mba视频 | 麻豆精品视频在线观看免费| 日韩极品在线观看| 青青草国产成人av片免费| 视频在线在亚洲| 美女视频网站久久| 韩国精品免费视频| 福利一区在线观看| av激情成人网| 99久久精品国产一区二区三区| 99在线视频精品| 在线观看日产精品| 7777精品久久久大香线蕉| 日韩一区二区在线看| 欧美不卡123| 国产精品免费丝袜| 亚洲老妇xxxxxx| 午夜影院久久久| 琪琪久久久久日韩精品| 国产在线视频一区二区三区| 国产99久久久国产精品潘金网站| 99久精品国产| 欧美高清www午色夜在线视频| 欧美一区三区四区| 国产欧美日韩综合精品一区二区 | 国产亚洲精品超碰| 一区在线播放视频| 婷婷丁香久久五月婷婷| 蜜臀国产一区二区三区在线播放| 国产乱码精品一区二区三区av | 91麻豆视频网站| 欧美精品vⅰdeose4hd| 日韩欧美国产综合一区| 国产欧美一区二区精品久导航 | 天堂成人国产精品一区| 国产乱人伦偷精品视频不卡| 99久久婷婷国产综合精品电影| 欧美日韩国产另类一区| 国产欧美一区二区三区沐欲| 亚洲一级片在线观看| 韩国精品在线观看| 在线免费观看成人短视频| 精品国产髙清在线看国产毛片| 亚洲情趣在线观看| 精品无码三级在线观看视频| 色94色欧美sute亚洲13| 久久日韩粉嫩一区二区三区| 一区二区三区在线观看视频| 久久97超碰色| 欧美日韩精品专区| 国产精品免费观看视频| 日本午夜精品视频在线观看| 99这里只有久久精品视频| 精品国产乱码久久久久久久| 亚洲一区二区不卡免费| 春色校园综合激情亚洲| 91精品国产综合久久久久久| 亚洲嫩草精品久久| 国产精品综合一区二区三区| 欧美久久久久免费| 亚洲一区在线观看免费| 成人激情免费视频| 久久久久国产免费免费| 免费成人美女在线观看.| 91激情五月电影| 亚洲丝袜美腿综合| 国产ts人妖一区二区| 亚洲精品在线三区| 秋霞电影一区二区| 欧美日韩一区二区三区四区五区| 国产精品久久久99| 国产成人综合亚洲网站| 日韩西西人体444www| 亚洲一区二区三区中文字幕在线| 成人v精品蜜桃久久一区| 国产日韩影视精品| 国产高清亚洲一区| www欧美成人18+| 九九视频精品免费| 日韩精品专区在线影院重磅| 日韩激情一二三区| 9191久久久久久久久久久| 亚洲成av人片| 欧美久久久久久蜜桃| 日日摸夜夜添夜夜添亚洲女人| 欧美日韩精品一二三区| 亚洲bt欧美bt精品777| 欧美福利电影网| 狂野欧美性猛交blacked| 精品久久久久久久一区二区蜜臀|