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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? fancyzoom.js

?? 網(wǎng)頁上點擊瀏覽圖片時在當(dāng)前頁放大圖片
?? JS
?? 第 1 頁 / 共 2 頁
字號:
// FancyZoom.js - v1.1 - http://www.fancyzoom.com//// Copyright (c) 2008 Cabel Sasser / Panic Inc// All rights reserved.// //     Requires: FancyZoomHTML.js// Instructions: Include JS files in page, call setupZoom() in onLoad. That's it!//               Any <a href> links to images will be updated to zoom inline.//               Add rel="nozoom" to your <a href> to disable zooming for an image.// // Redistribution and use of this effect in source form, with or without modification,// are permitted provided that the following conditions are met:// // * USE OF SOURCE ON COMMERCIAL (FOR-PROFIT) WEBSITE REQUIRES ONE-TIME LICENSE FEE PER DOMAIN.//   Reasonably priced! Visit www.fancyzoom.com for licensing instructions. Thanks!//// * Non-commercial (personal) website use is permitted without license/payment!//// * Redistribution of source code must retain the above copyright notice,//   this list of conditions and the following disclaimer.//// * Redistribution of source code and derived works cannot be sold without specific//   written prior permission.//// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.var includeCaption = true; // Turn on the "caption" feature, and write out the caption HTMLvar zoomTime       = 5;    // Milliseconds between frames of zoom animationvar zoomSteps      = 15;   // Number of zoom animation framesvar includeFade    = 1;    // Set to 1 to fade the image in / out as it zoomsvar minBorder      = 90;   // Amount of padding between large, scaled down images, and the window edgesvar shadowSettings = '0px 5px 25px rgba(0, 0, 0, '; // Blur, radius, color of shadow for compatible browsersvar zoomImagesURI   = 'images-global/zoom/'; // Location of the zoom and shadow images// Init. Do not add anything below this line, unless it's something awesome.var myWidth = 0, myHeight = 0, myScroll = 0; myScrollWidth = 0; myScrollHeight = 0;var zoomOpen = false, preloadFrame = 1, preloadActive = false, preloadTime = 0, imgPreload = new Image();var preloadAnimTimer = 0;var zoomActive = new Array(); var zoomTimer  = new Array(); var zoomOrigW  = new Array(); var zoomOrigH  = new Array();var zoomOrigX  = new Array(); var zoomOrigY  = new Array();var zoomID         = "ZoomBox";var theID          = "ZoomImage";var zoomCaption    = "ZoomCaption";var zoomCaptionDiv = "ZoomCapDiv";if (navigator.userAgent.indexOf("MSIE") != -1) {	var browserIsIE = true;}// Zoom: Setup The Page! Called in your <body>'s onLoad handler.function setupZoom() {	prepZooms();	insertZoomHTML();	zoomdiv = document.getElementById(zoomID);  	zoomimg = document.getElementById(theID);}// Zoom: Inject Javascript functions into hrefs pointing to images, one by one!// Skip any href that contains a rel="nozoom" tag.// This is done at page load time via an onLoad() handler.function prepZooms() {	if (! document.getElementsByTagName) {		return;	}	var links = document.getElementsByTagName("a");	for (i = 0; i < links.length; i++) {		if (links[i].getAttribute("href")) {			if (links[i].getAttribute("href").search(/(.*)\.(jpg|jpeg|gif|png|bmp|tif|tiff)/gi) != -1) {				if (links[i].getAttribute("rel") != "nozoom") {					links[i].onclick = function (event) { return zoomClick(this, event); };					links[i].onmouseover = function () { zoomPreload(this); };				}			}		}	}}// Zoom: Load an image into an image object. When done loading, function sets preloadActive to false,// so other bits know that they can proceed with the zoom.// Preloaded image is stored in imgPreload and swapped out in the zoom function.function zoomPreload(from) {	var theimage = from.getAttribute("href");	// Only preload if we have to, i.e. the image isn't this image already	if (imgPreload.src.indexOf(from.getAttribute("href").substr(from.getAttribute("href").lastIndexOf("/"))) == -1) {		preloadActive = true;		imgPreload = new Image();		// Set a function to fire when the preload is complete, setting flags along the way.		imgPreload.onload = function() {			preloadActive = false;		}		// Load it!		imgPreload.src = theimage;	}}// Zoom: Start the preloading animation cycle.function preloadAnimStart() {	preloadTime = new Date();	document.getElementById("ZoomSpin").style.left = (myWidth / 2) + 'px';	document.getElementById("ZoomSpin").style.top = ((myHeight / 2) + myScroll) + 'px';	document.getElementById("ZoomSpin").style.visibility = "visible";		preloadFrame = 1;	document.getElementById("SpinImage").src = zoomImagesURI+'zoom-spin-'+preloadFrame+'.png';  	preloadAnimTimer = setInterval("preloadAnim()", 100);}// Zoom: Display and ANIMATE the jibber-jabber widget. Once preloadActive is false, bail and zoom it up!function preloadAnim(from) {	if (preloadActive != false) {		document.getElementById("SpinImage").src = zoomImagesURI+'zoom-spin-'+preloadFrame+'.png';		preloadFrame++;		if (preloadFrame > 12) preloadFrame = 1;	} else {		document.getElementById("ZoomSpin").style.visibility = "hidden";    		clearInterval(preloadAnimTimer);		preloadAnimTimer = 0;		zoomIn(preloadFrom);	}}// ZOOM CLICK: We got a click! Should we do the zoom? Or wait for the preload to complete?// todo?: Double check that imgPreload src = clicked srcfunction zoomClick(from, evt) {	var shift = getShift(evt);	// Check for Command / Alt key. If pressed, pass them through -- don't zoom!	if (! evt && window.event && (window.event.metaKey || window.event.altKey)) {		return true;	} else if (evt && (evt.metaKey|| evt.altKey)) {		return true;	}	// Get browser dimensions	getSize();	// If preloading still, wait, and display the spinner.	if (preloadActive == true) {		// But only display the spinner if it's not already being displayed!		if (preloadAnimTimer == 0) {			preloadFrom = from;			preloadAnimStart();			}	} else {		// Otherwise, we're loaded: do the zoom!		zoomIn(from, shift);	}		return false;	}// Zoom: Move an element in to endH endW, using zoomHost as a starting point.// "from" is an object reference to the href that spawned the zoom.function zoomIn(from, shift) {	zoomimg.src = from.getAttribute("href");	// Determine the zoom settings from where we came from, the element in the <a>.	// If there's no element in the <a>, or we can't get the width, make stuff up	if (from.childNodes[0].width) {		startW = from.childNodes[0].width;		startH = from.childNodes[0].height;		startPos = findElementPos(from.childNodes[0]);	} else {		startW = 50;		startH = 12;		startPos = findElementPos(from);	}	hostX = startPos[0];	hostY = startPos[1];	// Make up for a scrolled containing div.	// TODO: This HAS to move into findElementPos.		if (document.getElementById('scroller')) {		hostX = hostX - document.getElementById('scroller').scrollLeft;	}	// Determine the target zoom settings from the preloaded image object	endW = imgPreload.width;	endH = imgPreload.height;	// Start! But only if we're not zooming already!	if (zoomActive[theID] != true) {		// Clear everything out just in case something is already open		if (document.getElementById("ShadowBox")) {			document.getElementById("ShadowBox").style.visibility = "hidden";		} else if (! browserIsIE) {					// Wipe timer if shadow is fading in still			if (fadeActive["ZoomImage"]) {				clearInterval(fadeTimer["ZoomImage"]);				fadeActive["ZoomImage"] = false;				fadeTimer["ZoomImage"] = false;						}						document.getElementById("ZoomImage").style.webkitBoxShadow = shadowSettings + '0.0)';					}				document.getElementById("ZoomClose").style.visibility = "hidden";     		// Setup the CAPTION, if existing. Hide it first, set the text.		if (includeCaption) {			document.getElementById(zoomCaptionDiv).style.visibility = "hidden";			if (from.getAttribute('title') && includeCaption) {				// Yes, there's a caption, set it up				document.getElementById(zoomCaption).innerHTML = from.getAttribute('title');			} else {				document.getElementById(zoomCaption).innerHTML = "";			}		}		// Store original position in an array for future zoomOut.		zoomOrigW[theID] = startW;		zoomOrigH[theID] = startH;		zoomOrigX[theID] = hostX;		zoomOrigY[theID] = hostY;		// Now set the starting dimensions		zoomimg.style.width = startW + 'px';		zoomimg.style.height = startH + 'px';		zoomdiv.style.left = hostX + 'px';		zoomdiv.style.top = hostY + 'px';		// Show the zooming image container, make it invisible		if (includeFade == 1) {			setOpacity(0, zoomID);		}		zoomdiv.style.visibility = "visible";		// If it's too big to fit in the window, shrink the width and height to fit (with ratio).		sizeRatio = endW / endH;		if (endW > myWidth - minBorder) {			endW = myWidth - minBorder;			endH = endW / sizeRatio;		}		if (endH > myHeight - minBorder) {			endH = myHeight - minBorder;			endW = endH * sizeRatio;		}		zoomChangeX = ((myWidth / 2) - (endW / 2) - hostX);		zoomChangeY = (((myHeight / 2) - (endH / 2) - hostY) + myScroll);		zoomChangeW = (endW - startW);		zoomChangeH = (endH - startH);				// Shift key?			if (shift) {			tempSteps = zoomSteps * 7;		} else {			tempSteps = zoomSteps;		}		// Setup Zoom		zoomCurrent = 0;		// Setup Fade with Zoom, If Requested		if (includeFade == 1) {			fadeCurrent = 0;			fadeAmount = (0 - 100) / tempSteps;		} else {			fadeAmount = 0;		}		// Do It!				zoomTimer[theID] = setInterval("zoomElement('"+zoomID+"', '"+theID+"', "+zoomCurrent+", "+startW+", "+zoomChangeW+", "+startH+", "+zoomChangeH+", "+hostX+", "+zoomChangeX+", "+hostY+", "+zoomChangeY+", "+tempSteps+", "+includeFade+", "+fadeAmount+", 'zoomDoneIn(zoomID)')", zoomTime);				zoomActive[theID] = true; 	}}// Zoom it back out.function zoomOut(from, evt) {	// Get shift key status.	// IE events don't seem to get passed through the function, so grab it from the window.	if (getShift(evt)) {		tempSteps = zoomSteps * 7;	} else {		tempSteps = zoomSteps;	}		// Check to see if something is happening/open  	if (zoomActive[theID] != true) {		// First, get rid of the shadow if necessary.		if (document.getElementById("ShadowBox")) {			document.getElementById("ShadowBox").style.visibility = "hidden";		} else if (! browserIsIE) {					// Wipe timer if shadow is fading in still			if (fadeActive["ZoomImage"]) {				clearInterval(fadeTimer["ZoomImage"]);				fadeActive["ZoomImage"] = false;				fadeTimer["ZoomImage"] = false;						}						document.getElementById("ZoomImage").style.webkitBoxShadow = shadowSettings + '0.0)';					}		// ..and the close box...		document.getElementById("ZoomClose").style.visibility = "hidden";		// ...and the caption if necessary!		if (includeCaption && document.getElementById(zoomCaption).innerHTML != "") {			// fadeElementSetup(zoomCaptionDiv, 100, 0, 5, 1);			document.getElementById(zoomCaptionDiv).style.visibility = "hidden";		}		// Now, figure out where we came from, to get back there		startX = parseInt(zoomdiv.style.left);		startY = parseInt(zoomdiv.style.top);		startW = zoomimg.width;		startH = zoomimg.height;		zoomChangeX = zoomOrigX[theID] - startX;		zoomChangeY = zoomOrigY[theID] - startY;		zoomChangeW = zoomOrigW[theID] - startW;		zoomChangeH = zoomOrigH[theID] - startH;		// Setup Zoom		zoomCurrent = 0;		// Setup Fade with Zoom, If Requested		if (includeFade == 1) {			fadeCurrent = 0;			fadeAmount = (100 - 0) / tempSteps;		} else {			fadeAmount = 0;		}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜免费视频| 亚洲成av人**亚洲成av**| 91国内精品野花午夜精品| 蜜桃av一区二区三区| 亚洲精品中文在线| 国产三区在线成人av| 欧美日韩国产另类不卡| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 欧美日韩一二三区| 波多野结衣精品在线| 美国毛片一区二区三区| 一区二区三区.www| 国产午夜精品理论片a级大结局| 欧美久久久一区| 91免费视频网| 成人黄色小视频在线观看| 久久国产乱子精品免费女| 亚洲国产日韩一级| 亚洲人成影院在线观看| 久久精品一区蜜桃臀影院| 欧美一级夜夜爽| 欧美日韩一二区| 在线视频观看一区| 一本一本久久a久久精品综合麻豆| 黑人巨大精品欧美一区| 秋霞电影网一区二区| 亚洲一级电影视频| 亚洲天堂av一区| **网站欧美大片在线观看| 国产日韩欧美电影| 久久九九久精品国产免费直播| 日韩三级在线免费观看| 日韩一级片在线观看| 欧美精品亚洲二区| 在线成人高清不卡| 欧美老年两性高潮| 欧美日韩电影在线| 欧美一区二区三区色| 91精品福利在线一区二区三区| 欧美日韩国产天堂| 欧美综合亚洲图片综合区| 99精品欧美一区二区三区小说 | 欧美乱妇15p| 欧美一区二区三区四区五区 | 久久国产精品区| 蜜臀99久久精品久久久久久软件 | 成人综合激情网| 成人性色生活片| 99这里只有精品| 色综合视频在线观看| 色先锋资源久久综合| 一本到不卡精品视频在线观看| 91在线丨porny丨国产| 色婷婷久久久久swag精品| 色呦呦一区二区三区| 在线视频欧美区| 4438成人网| 欧美sm美女调教| 国产日本亚洲高清| 国产精品国产三级国产aⅴ原创| 亚洲三级电影全部在线观看高清| 亚洲欧美日韩国产综合| 一区二区日韩av| 五月激情六月综合| 国产精品综合久久| 岛国精品一区二区| 欧美日韩在线直播| 精品国产乱码久久久久久蜜臀| 亚洲国产精品精华液ab| 亚洲美女视频在线观看| 日韩精品一级中文字幕精品视频免费观看 | 国产成人在线观看免费网站| 不卡视频在线观看| 欧美伦理电影网| 欧美精品一区二区三区很污很色的| 国产午夜精品理论片a级大结局| 亚洲特黄一级片| 日韩av成人高清| 成人黄色网址在线观看| 欧美日本在线看| 亚洲国产精品精华液ab| 污片在线观看一区二区| 国产成都精品91一区二区三| 欧美亚洲综合另类| 久久久久久97三级| 亚洲成av人片在www色猫咪| 国产制服丝袜一区| 色婷婷av一区二区三区软件| 久久综合久久综合久久综合| 一区二区在线电影| 国产精品中文有码| 欧美另类z0zxhd电影| 国产精品亲子乱子伦xxxx裸| 奇米影视一区二区三区小说| 成人avav在线| 日韩欧美美女一区二区三区| 国产精品乱码一区二区三区软件| 日韩和欧美的一区| 99re这里都是精品| 久久久美女毛片| 免费一级片91| 日本精品一级二级| 亚洲国产高清在线| 麻豆一区二区在线| 欧美美女直播网站| 亚洲男人的天堂在线aⅴ视频| 国产精品资源在线| 91精品在线一区二区| 亚洲美女在线一区| 成人午夜视频在线| 久久综合久久99| 另类小说欧美激情| 欧美日韩精品一区二区三区四区| 亚洲国产激情av| 蜜桃视频在线一区| 麻豆免费精品视频| 在线视频亚洲一区| 欧美色爱综合网| 欧美高清在线视频| 开心九九激情九九欧美日韩精美视频电影| 成人a区在线观看| 欧美mv日韩mv国产| 免费观看久久久4p| 在线观看日韩一区| 亚洲免费看黄网站| av色综合久久天堂av综合| 国产夜色精品一区二区av| 久久超碰97人人做人人爱| 欧美一区二区三区免费大片| 日韩**一区毛片| 欧美一区永久视频免费观看| 石原莉奈在线亚洲二区| 在线观看亚洲成人| 又紧又大又爽精品一区二区| 91在线高清观看| 成人欧美一区二区三区黑人麻豆| 国产.欧美.日韩| 国产精品网站在线观看| 国产成人免费视频一区| 国产日韩欧美制服另类| 国产激情一区二区三区| 国产日产精品一区| 成人久久久精品乱码一区二区三区 | 99久久精品国产一区| 国产精品午夜在线观看| 91亚洲精品久久久蜜桃网站| 亚洲人成亚洲人成在线观看图片 | 国产一区不卡精品| 国产午夜亚洲精品理论片色戒| 国产成人av一区二区| 中文字幕亚洲在| 色呦呦网站一区| 五月综合激情网| 日韩三级在线观看| 国产精品资源在线观看| 中文字幕在线观看不卡| 日本精品免费观看高清观看| 亚洲一区成人在线| 9191国产精品| 国产一区二区三区电影在线观看| 国产亚洲一区二区三区四区| 波多野结衣精品在线| 亚洲一卡二卡三卡四卡无卡久久 | 亚洲乱码中文字幕| 欧美日韩一区 二区 三区 久久精品| 日韩精品五月天| 久久蜜桃av一区精品变态类天堂| 成人毛片视频在线观看| 亚洲线精品一区二区三区| 欧美一卡2卡3卡4卡| 国产91丝袜在线播放九色| 亚洲精品欧美二区三区中文字幕| 91精品国产综合久久精品性色 | 88在线观看91蜜桃国自产| 精品伊人久久久久7777人| 国产精品―色哟哟| 欧美在线你懂得| 日韩成人免费在线| 欧美国产精品专区| 欧美高清激情brazzers| 国产成人免费av在线| 亚洲宅男天堂在线观看无病毒| 日韩欧美你懂的| 91年精品国产| 狠狠色丁香婷综合久久| 亚洲欧美一区二区三区极速播放| 欧美一区二区三区不卡| 91麻豆精品视频| 久久99精品国产91久久来源| 一区二区三区免费在线观看| 久久久久国产精品厨房| 欧美另类z0zxhd电影| a亚洲天堂av| 久久精品国产色蜜蜜麻豆| 亚洲精品视频自拍| 久久精品一区蜜桃臀影院| 88在线观看91蜜桃国自产| 一本一道久久a久久精品综合蜜臀| 精品一区二区免费看| 亚洲永久免费视频|