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

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

?? fancyzoom.js

?? 網頁上點擊瀏覽圖片時在當前頁放大圖片
?? 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;		}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲天堂精品视频| 男人操女人的视频在线观看欧美| 精品美女在线观看| 欧美精品乱码久久久久久按摩| 色综合天天综合狠狠| 亚洲美女少妇撒尿| 亚洲色图一区二区| 亚洲三级在线免费| 亚洲视频电影在线| 椎名由奈av一区二区三区| 国产日韩欧美激情| 国产欧美1区2区3区| 国产亚洲精品福利| 国产日本欧美一区二区| 久久久精品人体av艺术| 欧美一级在线视频| 91麻豆精品国产自产在线观看一区 | 欧美一区二区三级| 欧美在线观看一二区| 91丨porny丨最新| 韩国精品久久久| 国产成人精品网址| 丁香网亚洲国际| 国产不卡免费视频| 国产91在线观看丝袜| 国产91精品在线观看| 伦理电影国产精品| 懂色av一区二区在线播放| 成人黄色软件下载| 99re热这里只有精品视频| 91污在线观看| 色美美综合视频| 波多野洁衣一区| 欧美最猛黑人xxxxx猛交| 欧美午夜精品久久久久久超碰| 欧美日韩1区2区| 欧美精品欧美精品系列| 欧美不卡视频一区| 精品少妇一区二区三区免费观看| 欧美一区二区免费视频| 久久综合九色综合欧美98| 中文一区在线播放| 亚洲女女做受ⅹxx高潮| 亚洲国产乱码最新视频| 精品在线一区二区三区| 风间由美一区二区av101| voyeur盗摄精品| 欧美三日本三级三级在线播放| av一区二区三区黑人| 精品亚洲免费视频| 91在线国产观看| 欧美日本一区二区在线观看| 欧美大胆一级视频| 亚洲精品日韩专区silk| 狠狠网亚洲精品| 欧美午夜在线一二页| 国产亚洲美州欧州综合国| 亚洲国产一区在线观看| 国产a久久麻豆| 欧美精品免费视频| 亚洲人成人一区二区在线观看| 蜜桃av一区二区| 一本到高清视频免费精品| 精品国产一区二区在线观看| 亚洲综合在线第一页| 国产精品一区二区你懂的| 欧美伦理电影网| 日韩美女啊v在线免费观看| 国模一区二区三区白浆 | 久久久精品天堂| 首页国产丝袜综合| 91美女片黄在线观看| 国产亚洲午夜高清国产拍精品| 亚洲一区二区三区免费视频| 99在线精品免费| www亚洲一区| 免费成人美女在线观看.| 欧美影院一区二区三区| 亚洲欧洲成人自拍| 国产成人精品免费看| 欧美不卡激情三级在线观看| 日韩精品1区2区3区| 欧美亚洲国产怡红院影院| 亚洲欧美aⅴ...| 9色porny自拍视频一区二区| 精品国产sm最大网站免费看| 日本人妖一区二区| 欧美丰满美乳xxx高潮www| 亚洲一卡二卡三卡四卡| 日本丰满少妇一区二区三区| 日本一区二区在线不卡| 国产精品99久久久久久宅男| 欧美精品一区二区在线播放| 久久99精品国产.久久久久| 日韩亚洲欧美成人一区| 视频一区国产视频| 在线看国产一区| 亚洲综合在线免费观看| 色婷婷激情一区二区三区| 亚洲日本一区二区三区| 91美女视频网站| 亚洲影院在线观看| 欧美性videosxxxxx| 性欧美疯狂xxxxbbbb| 欧美日韩国产另类不卡| 日韩精品一二三区| 欧美一三区三区四区免费在线看| 日韩av在线播放中文字幕| 91精品欧美一区二区三区综合在| 日韩1区2区日韩1区2区| 91精品国产美女浴室洗澡无遮挡| 琪琪一区二区三区| 日韩欧美黄色影院| 国产美女久久久久| 国产精品久久久久久久裸模| 色综合久久中文综合久久97| 亚洲女同ⅹxx女同tv| 欧美日韩一区中文字幕| 美女视频免费一区| 久久久久九九视频| 91亚洲精品乱码久久久久久蜜桃| 一区二区免费在线| 在线不卡中文字幕| 精品伊人久久久久7777人| 国产欧美精品一区二区色综合| 99久久er热在这里只有精品66| 一区二区理论电影在线观看| 欧美精品v国产精品v日韩精品| 麻豆国产欧美一区二区三区| 国产亚洲欧美色| 在线亚洲人成电影网站色www| 首页国产丝袜综合| 久久日韩粉嫩一区二区三区| 菠萝蜜视频在线观看一区| 一区二区三区四区在线| 欧美一区二区女人| 成人午夜激情影院| 亚洲二区在线视频| 欧美v国产在线一区二区三区| 成人av综合在线| 日韩电影在线免费观看| 中文字幕精品综合| 欧美日韩中文另类| 国产一区二区在线看| 亚洲精品日产精品乱码不卡| 欧美一区二区精品久久911| 成人动漫一区二区在线| 亚洲成av人影院| 久久久久久久久岛国免费| 在线免费精品视频| 激情欧美一区二区| 亚洲欧美另类久久久精品| 日韩一区二区三区观看| 一本大道综合伊人精品热热| 麻豆久久久久久| 一区二区三区在线高清| 国产午夜精品在线观看| 777午夜精品视频在线播放| 国产成人av一区二区| 日韩精品色哟哟| 综合av第一页| 国产婷婷色一区二区三区在线| 精品视频在线免费看| 成人免费黄色在线| 日本不卡不码高清免费观看| 亚洲欧美一区二区三区久本道91 | 中文无字幕一区二区三区| 欧美性生活一区| 高清不卡一二三区| 肉丝袜脚交视频一区二区| 综合久久一区二区三区| 久久久.com| 精品欧美一区二区久久 | 天堂蜜桃一区二区三区| 欧美电影免费观看高清完整版在线 | 国产伦精品一区二区三区免费迷| 亚洲乱码精品一二三四区日韩在线| 精品国产乱子伦一区| 欧美色倩网站大全免费| www.亚洲色图.com| 久久99久国产精品黄毛片色诱| 香蕉成人啪国产精品视频综合网| 亚洲视频一区二区在线| 日本一区二区在线不卡| 精品国产免费一区二区三区四区| 欧美色综合天天久久综合精品| 成人av网址在线| 国产不卡高清在线观看视频| 九九精品一区二区| 奇米影视7777精品一区二区| 亚洲国产中文字幕| 夜夜嗨av一区二区三区中文字幕| 国产精品看片你懂得| 国产日韩欧美一区二区三区综合| 日韩精品一区二区三区四区视频| 91精品欧美综合在线观看最新| 欧美三级三级三级| 在线视频你懂得一区| 91丨九色丨黑人外教| 99国产精品久久久|