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

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

?? effect.js

?? this the oscommerce 3.0 aplha 4
?? JS
字號:
/*
	JSCookMenu Effect (c) Copyright 2002-2006 by Heng Yuan

	http://jscook.sourceforge.net/JSCookMenu/

	Permission is hereby granted, free of charge, to any person obtaining a
	copy of this software and associated documentation files (the "Software"),
	to deal in the Software without restriction, including without limitation
	the rights to use, copy, modify, merge, publish, distribute, sublicense,
	and/or sell copies of the Software, and to permit persons to whom the
	Software is furnished to do so, subject to the following conditions:

	The above copyright notice and this permission notice shall be included
	in all copies or substantial portions of the Software.

	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
	OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
	ITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
	AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
	LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
	FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
	DEALINGS IN THE SOFTWARE.
*/
//
// utiltity object to simplify common tasks in effects.
//
function CMSpecialEffectInstance (effect, menu)
{
	effect.show = true;
	effect.menu = menu;
	menu.cmEffect = effect;
	this.effect = effect;
}

CMSpecialEffectInstance.prototype.canShow = function (changed)
{
	if (changed)
	{
		if (this.effect.show)
			return false;
		this.effect.show = true;
	}
	else if (!this.effect.show)
		return false;
	return true;
}

CMSpecialEffectInstance.prototype.canHide = function (changed)
{
	var effect = this.effect;
	if (changed)
	{
		if (!effect.show)
			return false;
		effect.show = false;
	}
	else if (effect.show)
		return false;
	return true;
}

//
// public function to be called to initate the display of the
// menu.
//
CMSpecialEffectInstance.prototype.startShowing = function ()
{
	var menu = this.effect.menu;
	menu.style.visibility = 'visible';
	/*@cc_on
		@if (@_jscript_version >= 5.5)
			if (menu.cmFrameObj)
			{
				var frameObj = menu.cmFrameObj;
				frameObj.style.display = 'block';
			}
		@end
	@*/
}

//
// public function to be called after showing effect is finished.
//
CMSpecialEffectInstance.prototype.finishShowing = function ()
{
}

//
// clean up after finish hiding effect.
//
CMSpecialEffectInstance.prototype.finishHiding = function ()
{
	var menu = this.effect.menu;
	menu.style.visibility = 'hidden';
	menu.style.top = '0px';
	menu.style.left = '0px';
	/*@cc_on
		@if (@_jscript_version >= 5.5)
			if (menu.cmFrameObj)
			{
				var frameObj = menu.cmFrameObj;
				frameObj.style.display = 'none';
				frameObj.style.top = '0px';
				frameObj.style.left = '0px';
				menu.cmFrameObj = null;
				cmFreeFrame (frameObj);
			}
		@end
	@*/
	menu.cmEffect = null;
	menu.cmOrient = null;
	this.effect.menu = null;
}

//
// this is the internal class to perform the sliding effect
//
function CMSlidingEffectInstance (menu, orient, speed)
{
	this.base = new CMSpecialEffectInstance (this, menu);

	menu.style.overflow = 'hidden';

	this.x = menu.offsetLeft;
	this.y = menu.offsetTop;

	if (orient.charAt (0) == 'h')
	{
		this.slideOrient = 'h';
		this.slideDir = orient.charAt (1);
	}
	else
	{
		this.slideOrient = 'v';
		this.slideDir = orient.charAt (2);
	}

	this.speed = speed;
	this.fullWidth = menu.offsetWidth;
	this.fullHeight = menu.offsetHeight;
	this.percent = 0;
	/*@cc_on
		@if (@_jscript_version >= 5.5)
			if (menu.cmFrameObj)
			{
				var frameObj = menu.cmFrameObj;
				this.frameX = frameObj.offsetLeft;
				this.frameY = frameObj.offsetTop;
				this.frameWidth = frameObj.offsetWidth;
				this.frameHeight = frameObj.offsetHeight;
			}
		@end
	@*/
}
	// public function to show the menu
CMSlidingEffectInstance.prototype.showEffect = function (changed)
{
	if (!this.base.canShow (changed))
		return;

	var percent = this.percent;
	if (this.slideOrient == 'h')
		this.slideMenuV ();
	else
		this.slideMenuH ();

	if (percent == 0)
	{
		this.base.startShowing ();
	}

	if (percent < 100)
	{
		this.percent += this.speed;
		cmTimeEffect (this.menu.id, this.show, 10);
	}
	else if (this.show)
	{
		this.base.finishShowing ();
	}
}

// public function to hide the menu
CMSlidingEffectInstance.prototype.hideEffect = function (changed)
{
	if (!this.base.canHide (changed))
		return;

	var percent = this.percent;
	if (this.slideOrient == 'h')
		this.slideMenuV ();
	else
		this.slideMenuH ();

	if (percent > 0)
	{
		this.percent -= this.speed;
		cmTimeEffect (this.menu.id, this.show, 10);
	}
	else if (!this.show)
	{
		this.menu.style.clip = 'auto';
		this.base.finishHiding ();
	}
}

// internal function to scroll a menu left/right
CMSlidingEffectInstance.prototype.slideMenuH = function ()
{
	var percent = this.percent;
	if (percent < 0)
		percent = 0;
	if (percent > 100)
		percent = 100;
	var fullWidth = this.fullWidth;
	var fullHeight = this.fullHeight;
	var x = this.x;
	var space = percent * fullWidth / 100;
	var menu = this.menu;

	if (this.slideDir == 'l')
	{
		menu.style.left = (x + fullWidth - space) + 'px';
		menu.style.clip = 'rect(0px ' + space + 'px ' + fullHeight + 'px 0px)';
	}
	else
	{
		menu.style.left = (x - fullWidth + space) + 'px';
		menu.style.clip = 'rect(0px ' + fullWidth + 'px ' + fullHeight + 'px ' + (fullWidth - space) + 'px)';
	}
	/*@cc_on
		@if (@_jscript_version >= 5.5)
			if (menu.cmFrameObj)
			{
				var frameObj = menu.cmFrameObj;
				if (this.slideDir == 'l')
					frameObj.style.left = (this.frameX + fullWidth - space) + 'px';
				frameObj.style.width = space + 'px';
			}
		@end
	@*/
}

// internal function to scroll a menu up/down
CMSlidingEffectInstance.prototype.slideMenuV = function ()
{
	var percent = this.percent;
	if (percent < 0)
		percent = 0;
	if (percent > 100)
		percent = 100;
	var fullWidth = this.fullWidth;
	var fullHeight = this.fullHeight;
	var y = this.y;
	var space = percent * fullHeight / 100;
	var menu = this.menu;

	if (this.slideDir == 'b')
	{
		menu.style.top = (y - fullHeight + space) + 'px';
		menu.style.clip = 'rect(' + (fullHeight - space) + 'px ' + fullWidth + 'px ' + fullHeight + 'px 0px)';
	}
	else
	{
		menu.style.top = (y + fullHeight - space) + 'px';
		menu.style.clip = 'rect(0px ' + fullWidth + 'px ' + space + 'px 0px)';
	}
	/*@cc_on
		@if (@_jscript_version >= 5.5)
			if (menu.cmFrameObj)
			{
				var frameObj = menu.cmFrameObj;
				if (this.slideDir == 'u')
					frameObj.style.top = (this.frameX - space) + 'px';
				frameObj.style.height = space + 'px';
			}
		@end
	@*/
}

//
// call
//		new CMSlidingEffect (speed)
// to create a new effect object.
//
function CMSlidingEffect (speed)
{
	if (!speed)
		speed = 10;
	else if (speed <= 0)
		speed = 10;
	else if (speed >= 100)
		speed = 100;
	this.speed = speed;
}

CMSlidingEffect.prototype.getInstance = function (menu, orient)
{
	return new CMSlidingEffectInstance (menu, orient, this.speed);
}

//
// this is the internal class to perform the sliding effect
//
function CMFadingEffectInstance (menu, showSpeed, hideSpeed)
{
	this.base = new CMSpecialEffectInstance (this, menu);

	menu.style.overflow = 'hidden';

	this.showSpeed = showSpeed;
	this.hideSpeed = hideSpeed;

	this.opacity = 0;
}

// public function to show the menu
CMFadingEffectInstance.prototype.showEffect = function (changed)
{
	if (!this.base.canShow (changed))
		return;

	var menu = this.menu;
	var opacity = this.opacity;

	this.setOpacity ();

	if (opacity == 0)
	{
		this.base.startShowing ();
	}

	if (opacity < 100)
	{
		this.opacity += 10;
		cmTimeEffect (menu.id, this.show, this.showSpeed);
	}
	else if (this.show)
	{
		this.base.finishShowing ();
	}
}

// public function to hide the menu
CMFadingEffectInstance.prototype.hideEffect = function (changed)
{
	if (!this.base.canHide (changed))
		return;

	var menu = this.menu;
	var opacity = this.opacity;

	this.setOpacity ();

	if (this.opacity > 0)
	{
		this.opacity -= 10;
		cmTimeEffect (menu.id, this.show, this.hideSpeed);
	}
	else if (!this.show)
	{
		this.base.finishHiding ();
	}
}

// internal functions
CMFadingEffectInstance.prototype.setOpacity = function ()
{
	this.menu.style.opacity = this.opacity / 100;
	/*@cc_on
		this.menu.style.filter = 'alpha(opacity=' + this.opacity + ')';
		//this.menu.style.filter = 'progid:DXImageTransform.Microsoft.Alpha(opacity=' + this.opacity + ')';
	@*/
}

function CMFadingEffect (showSpeed, hideSpeed)
{
	this.showSpeed = showSpeed;
	this.hideSpeed = hideSpeed;
}

CMFadingEffect.prototype.getInstance = function (menu, orient)
{
	return new CMFadingEffectInstance (menu, this.showSpeed, this.hideSpeed);
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久欧美精品sm网站| 成人午夜av电影| 亚洲自拍偷拍九九九| 国产精品久久久久影视| 久久久精品tv| 国产午夜亚洲精品理论片色戒| www国产精品av| 久久久久久久久97黄色工厂| 久久久精品国产免费观看同学| 久久这里只精品最新地址| 久久久久99精品一区| 国产精品人成在线观看免费| 国产精品网站在线观看| 综合久久久久久| 亚洲一二三级电影| 日本91福利区| 国产麻豆日韩欧美久久| 国产美女精品人人做人人爽| 成人高清免费观看| 在线亚洲免费视频| 欧美日韩1区2区| 精品国产亚洲在线| 综合久久国产九一剧情麻豆| 亚洲国产欧美在线| 韩国av一区二区三区| 成人黄页毛片网站| 欧美日韩免费在线视频| 26uuu亚洲| 亚洲欧美视频在线观看视频| 午夜一区二区三区视频| 国产一区二区按摩在线观看| 91碰在线视频| 日韩女优电影在线观看| 日韩理论片网站| 肉丝袜脚交视频一区二区| 国产精品亚洲一区二区三区妖精| 色综合天天综合网国产成人综合天 | 日韩欧美一区二区久久婷婷| 欧美韩国日本一区| 石原莉奈一区二区三区在线观看| 国产成人精品三级麻豆| 欧美日韩精品一区二区天天拍小说| 欧美变态tickling挠脚心| 亚洲免费在线观看| 国产精品18久久久久久久久 | 欧美日韩国产123区| 久久久久久一二三区| 亚洲v精品v日韩v欧美v专区| 国产白丝精品91爽爽久久| 欧美日韩高清一区二区三区| 国产精品传媒入口麻豆| 免费成人在线网站| 欧美天天综合网| 亚洲私人黄色宅男| 国产白丝网站精品污在线入口| 91精品国产手机| 夜色激情一区二区| 91免费看`日韩一区二区| 精品久久久久久综合日本欧美 | 欧美一区二区视频在线观看2022| 综合在线观看色| 国产成人精品aa毛片| 日韩欧美国产一区二区三区| 香蕉av福利精品导航| 欧美亚洲综合另类| 亚洲欧美电影院| 91影视在线播放| 国产精品久久久久久久久久久免费看| 美国十次了思思久久精品导航| 欧美日韩一区二区三区免费看| 椎名由奈av一区二区三区| 成人激情免费电影网址| 国产欧美一区二区精品婷婷| 国产麻豆91精品| 久久久久9999亚洲精品| 国产一区二区三区免费播放| 日韩精品一区二区三区在线观看| 视频一区在线播放| 91麻豆精品国产91久久久更新时间| 一卡二卡欧美日韩| 欧美在线观看你懂的| 一区二区三区影院| 欧美三区在线观看| 日韩中文字幕麻豆| 日韩精品专区在线影院重磅| 久久99热这里只有精品| 久久综合久色欧美综合狠狠| 国产乱淫av一区二区三区| 国产亚洲综合色| 成人国产精品免费网站| 一区二区三区波多野结衣在线观看| 在线免费一区三区| 蜜臀av一级做a爰片久久| 欧美v日韩v国产v| 国产宾馆实践打屁股91| 亚洲人成7777| 5858s免费视频成人| 国产精品一区二区果冻传媒| 国产精品国产三级国产专播品爱网| 97超碰欧美中文字幕| 亚洲444eee在线观看| 精品国产免费人成电影在线观看四季 | 欧美电视剧免费观看| 国产不卡在线播放| 一二三四社区欧美黄| 日韩一区二区免费视频| 东方欧美亚洲色图在线| 亚洲小说欧美激情另类| 精品欧美乱码久久久久久| 972aa.com艺术欧美| 老司机精品视频线观看86| 国产精品美女一区二区| 69堂国产成人免费视频| 成人午夜免费电影| 日本不卡1234视频| 成人免费在线观看入口| 欧美白人最猛性xxxxx69交| 一本色道久久综合精品竹菊| 韩国女主播一区二区三区| 亚洲精品欧美在线| 久久精品人人爽人人爽| 欧美日产在线观看| 91网站黄www| 国产成人午夜99999| 日本欧美一区二区在线观看| 国产精品久久久久久久久果冻传媒 | 91精品欧美福利在线观看| 成人高清视频免费观看| 九九九精品视频| 一区二区三区 在线观看视频| 久久先锋影音av鲁色资源网| 欧美三级中文字幕在线观看| 99热99精品| 国产99久久久久| 精品一区二区在线观看| 亚洲一二三四在线| 一区二区三区四区高清精品免费观看| 欧美精品一区二区不卡 | 国产日韩欧美精品一区| 欧美电影在哪看比较好| 欧美影视一区二区三区| 91免费视频网址| 色综合天天综合色综合av | 欧美三级韩国三级日本一级| 成人免费看视频| 国产不卡视频在线播放| 国模冰冰炮一区二区| 人人爽香蕉精品| 欧美aaaaa成人免费观看视频| 一区二区三区四区亚洲| 日韩伦理电影网| 亚洲日本va午夜在线影院| 中文字幕日本不卡| 中文字幕在线观看一区二区| 国产精品美女久久久久av爽李琼| 国产亚洲综合在线| 国产精品久久久久久久久动漫 | 国产精品区一区二区三| 久久奇米777| 国产亚洲福利社区一区| 国产日韩欧美精品在线| 国产精品成人一区二区艾草| 国产精品久久久久桃色tv| 日韩一区中文字幕| 夜夜嗨av一区二区三区四季av| 亚洲狠狠爱一区二区三区| 午夜精品久久久久久久99樱桃| 亚洲成av人片一区二区三区| 日本色综合中文字幕| 日本不卡在线视频| 国产精品123| 色狠狠一区二区三区香蕉| 欧美在线|欧美| 欧美一区午夜精品| 国产婷婷色一区二区三区在线| 国产精品三级电影| 亚洲成人一区二区在线观看| 日本亚洲电影天堂| 国产成人综合视频| 在线免费观看不卡av| 日韩精品一区二区三区视频| 久久久亚洲高清| 一区二区三区美女视频| 美女脱光内衣内裤视频久久网站| 国产精品一线二线三线精华| av中文字幕一区| 欧美日韩和欧美的一区二区| 日韩女优毛片在线| 亚洲欧美日韩国产综合| 久久精品国产99国产| 成人的网站免费观看| 欧美日韩高清一区二区三区| 国产喂奶挤奶一区二区三区| 一个色在线综合| 顶级嫩模精品视频在线看| 欧美日韩美少妇| 欧美国产精品一区二区| 日韩av一区二区在线影视| 成人黄色大片在线观看| 欧美一区二区在线观看|