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

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

?? xmenu.js

?? 本源代碼為turboshop提供的免費的j2ee框架的網絡商城系統
?? JS
字號:
// check browsers
var ua = navigator.userAgent;
var opera = /opera [56789]|opera\/[56789]/i.test(ua);
var ie = !opera && /MSIE/.test(ua);
var ie50 = ie && /MSIE 5\.[01234]/.test(ua);
var ie6 = ie && /MSIE [6789]/.test(ua);
var ieBox = ie && (document.compatMode == null || document.compatMode != "CSS1Compat");
var moz = !opera && /gecko/i.test(ua);
var nn6 = !opera && /netscape.*6\./i.test(ua);

// define the default values
webfxMenuDefaultWidth			= 100;

webfxMenuDefaultBorderLeft		= 1;
webfxMenuDefaultBorderRight		= 1;
webfxMenuDefaultBorderTop		= 1;
webfxMenuDefaultBorderBottom	= 1;
webfxMenuDefaultPaddingLeft		= 1;
webfxMenuDefaultPaddingRight	= 1;
webfxMenuDefaultPaddingTop		= 1;
webfxMenuDefaultPaddingBottom	= 1;

webfxMenuDefaultShadowLeft		= 0;
webfxMenuDefaultShadowRight		= ie && !ie50 && /win32/i.test(navigator.platform) ? 4 :0;
webfxMenuDefaultShadowTop		= 0;
webfxMenuDefaultShadowBottom	= ie && !ie50 && /win32/i.test(navigator.platform) ? 4 : 0;

webfxMenuItemDefaultHeight		= 18;
webfxMenuItemDefaultText		= "Untitled";
webfxMenuItemDefaultHref		= "javascript:void(0)";

webfxMenuSeparatorDefaultHeight	= 6;

webfxMenuDefaultEmptyText		= "Empty";

webfxMenuDefaultUseAutoPosition	= nn6 ? false : true;

// other global constants
webfxMenuImagePath				= root.path;

webfxMenuUseHover				= opera ? true : false;
webfxMenuHideTime				= 500;
webfxMenuShowTime				= 200;

var webFXMenuHandler = {
	idCounter		:	0,
	idPrefix		:	"webfx-menu-object-",
	getId			:	function () { return this.idPrefix + this.idCounter++; },
	overMenuItem	:	function (oItem) {
		var jsItem = this.all[oItem.id];
		if (jsItem.subMenu) {
			jsItem.parentMenu.hideAllSubs();
			jsItem.subMenu.show();
		}
		else
			jsItem.parentMenu.hideAllSubs();
	},
	blurMenu		:	function (oMenuItem) {
		window.setTimeout("webFXMenuHandler.all[\"" + oMenuItem.id + "\"].subMenu.hide();", 200);
	},
	all				:	{}
};


function WebFXMenu() {
	this._menuItems	= [];
	this._subMenus	= [];
	this.id			= webFXMenuHandler.getId();
	this.top		= 0;
	this.left		= 0;
	this.shown		= false;
	this.parentMenu	= null;
	webFXMenuHandler.all[this.id] = this;
}

function hideAll(){
  var menuLayers = document.all.tags("DIV");
  for (i=0; i<menuLayers.length; i++) {
    if (menuLayers[i].id.indexOf("webfx-menu") != -1) {
      hideObject(menuLayers[i].id);
    }
  }	

}
function hideAllEX(){
	if(window.event.srcElement.className!="webfxmenuroot"){
	  var menuLayers = document.all.tags("DIV");
	  for (i=0; i<menuLayers.length; i++) {
	    if (menuLayers[i].id.indexOf("webfx-menu") != -1) {
	      hideObject(menuLayers[i].id);
	    }
	  }	
  }
}
function hideObject(obj) {
  document.all[obj].style.visibility = "hidden"; 
}

WebFXMenu.prototype.width			= webfxMenuDefaultWidth;
WebFXMenu.prototype.emptyText		= webfxMenuDefaultEmptyText;
WebFXMenu.prototype.useAutoPosition	= webfxMenuDefaultUseAutoPosition;

WebFXMenu.prototype.borderLeft		= webfxMenuDefaultBorderLeft;
WebFXMenu.prototype.borderRight		= webfxMenuDefaultBorderRight;
WebFXMenu.prototype.borderTop		= webfxMenuDefaultBorderTop;
WebFXMenu.prototype.borderBottom	= webfxMenuDefaultBorderBottom;

WebFXMenu.prototype.paddingLeft		= webfxMenuDefaultPaddingLeft;
WebFXMenu.prototype.paddingRight	= webfxMenuDefaultPaddingRight;
WebFXMenu.prototype.paddingTop		= webfxMenuDefaultPaddingTop;
WebFXMenu.prototype.paddingBottom	= webfxMenuDefaultPaddingBottom;

WebFXMenu.prototype.shadowLeft		= webfxMenuDefaultShadowLeft;
WebFXMenu.prototype.shadowRight		= webfxMenuDefaultShadowRight;
WebFXMenu.prototype.shadowTop		= webfxMenuDefaultShadowTop;
WebFXMenu.prototype.shadowBottom	= webfxMenuDefaultShadowBottom;

WebFXMenu.prototype.add = function (menuItem) {
	this._menuItems[this._menuItems.length] = menuItem;
	if (menuItem.subMenu) {
		this._subMenus[this._subMenus.length] = menuItem.subMenu;
		menuItem.subMenu.parentMenu = this;
	}

	menuItem.parentMenu = this;
};

WebFXMenu.prototype.show = function (relObj, sDir) {
	if (this.useAutoPosition)
		this.position(relObj, sDir);

	var divElement = document.getElementById(this.id);
	divElement.style.left = opera ? this.left : this.left + "px";
	divElement.style.top = opera ? this.top : this.top + "px";
	divElement.style.visibility = "visible";
	this.shown = true;
	if (this.parentMenu)
	{
		this.parentMenu.show();
	}
};

WebFXMenu.prototype.hide = function () {
	this.hideAllSubs();
	var divElement = document.getElementById(this.id);
	divElement.style.visibility = "hidden";
	this.shown = false;
};

WebFXMenu.prototype.hideAllSubs = function () {
	for (var i = 0; i < this._subMenus.length; i++) {
		if (this._subMenus[i].shown)
			this._subMenus[i].hide();
	}
};
WebFXMenu.prototype.toString = function () {
	var top = this.top + this.borderTop + this.paddingTop;
	var str = "<div id='" + this.id + "' class='webfx-menu' style='" +
	"width:" + (!ieBox  ?
		this.width - this.borderLeft - this.paddingLeft - this.borderRight - this.paddingRight  :
		this.width) + "px;" +
	(this.useAutoPosition ?
		"left:" + this.left + "px;" + "top:" + this.top + "px;" :
		"") +
	(ie50 ? "filter: none;" : "") +
	"'>";

	if (this._menuItems.length == 0) {
		str +=	"<span class='webfx-menu-empty'>" + this.emptyText + "</span>";
	}
	else {
		// loop through all menuItems
		for (var i = 0; i < this._menuItems.length; i++) {
			var mi = this._menuItems[i];
			str += mi;
			if (!this.useAutoPosition) {
				if (mi.subMenu && !mi.subMenu.useAutoPosition)
					mi.subMenu.top = top - mi.subMenu.borderTop - mi.subMenu.paddingTop;
				top += mi.height;
			}
		}

	}

	str += "</div>";

	for (var i = 0; i < this._subMenus.length; i++) {
		this._subMenus[i].left = this.left + this.width - this._subMenus[i].borderLeft;
		str += this._subMenus[i];
	}

	return str;
};

// WebFXMenu.prototype.position defined later
function WebFXMenuItem(sText, sHref, sToolTip, oSubMenu) {
	this.text = sText || webfxMenuItemDefaultText;
	this.href = (sHref == null || sHref == "") ? webfxMenuItemDefaultHref : sHref;
	this.subMenu = oSubMenu;
	if (oSubMenu)
		oSubMenu.parentMenuItem = this;
	this.toolTip = sToolTip;
	this.id = webFXMenuHandler.getId();
	webFXMenuHandler.all[this.id] = this;
};
WebFXMenuItem.prototype.height = webfxMenuItemDefaultHeight;
WebFXMenuItem.prototype.toString = function () {
	return	"<a" +
			" id='" + this.id + "'" +
			" href='" + this.href + "'" +
			(this.toolTip ? " title='" + this.toolTip + "'" : "") +
			" onmouseover='webFXMenuHandler.overMenuItem(this)'" +
			">" +
			(this.subMenu ? "<img class='arrow' src='" + webfxMenuImagePath + "images/arrow.right.gif'>" : "") +
			this.text + 
			"</a>";
};


function WebFXMenuSeparator() {
	this.id = webFXMenuHandler.getId();
	webFXMenuHandler.all[this.id] = this;
};
WebFXMenuSeparator.prototype.height = webfxMenuSeparatorDefaultHeight;
WebFXMenuSeparator.prototype.toString = function () {
	return "<div></div>"
};

function WebFXMenuBar() {
	this._parentConstructor = WebFXMenu;
	this._parentConstructor();
}
WebFXMenuBar.prototype = new WebFXMenu;
WebFXMenuBar.prototype.toString = function () {
	var str = "<div id='" + this.id + "' class='webfx-menu-bar'>";
	
	// loop through all menuButtons
	for (var i = 0; i < this._menuItems.length; i++)
		str += this._menuItems[i];
	
	str += "</div>";

	for (var i = 0; i < this._subMenus.length; i++)
		str += this._subMenus[i];
	
	return str;
};

function WebFXMenuButton(sText, sHref, sToolTip, oSubMenu) {
	this._parentConstructor = WebFXMenuItem;
	this._parentConstructor(sText, sHref, sToolTip, oSubMenu);
}
WebFXMenuButton.prototype = new WebFXMenuItem;
WebFXMenuButton.prototype.toString = function () {
	return	"<a" +
			" id='" + this.id + "'" +
			" href='" + this.href + "'" +
			(this.toolTip ? " title='" + this.toolTip + "'" : "") +
			(opera ? (
				" onoperafocus='webFXMenuHandler.overMenuItem(this)'" +
				(this.subMenu ? " onoperablur='webFXMenuHandler.blurMenu(this)'" : "")
			) : (
				" onfocus='webFXMenuHandler.overMenuItem(this)'" +
				(this.subMenu ? " onblur='webFXMenuHandler.blurMenu(this)'" : "")
			)) +
			">" +
			this.text + 
			(this.subMenu ? " <img class='arrow' src='" + webfxMenuDefaultImagePath + "arrow.down.gif' align='absmiddle'>" : "") +				
			"</a>";
};


/* Position functions */

function getInnerLeft(el) {
	if (el == null) return 0;
	if (ieBox && el == document.body || !ieBox && el == document.documentElement) return 0;
	return getLeft(el) + getBorderLeft(el);
}

function getLeft(el) {
	if (el == null) return 0;
	return el.offsetLeft + getInnerLeft(el.offsetParent);
}

function getInnerTop(el) {
	if (el == null) return 0;
	if (ieBox && el == document.body || !ieBox && el == document.documentElement) return 0;
	return getTop(el) + getBorderTop(el);
}

function getTop(el) {
	if (el == null) return 0;
	return el.offsetTop + getInnerTop(el.offsetParent);
}

function getBorderLeft(el) {
	return ie ?
		el.clientLeft :
		parseInt(window.getComputedStyle(el, null).getPropertyValue("border-left-width"));
}

function getBorderTop(el) {
	return ie ?
		el.clientTop :
		parseInt(window.getComputedStyle(el, null).getPropertyValue("border-top-width"));
}

function opera_getLeft(el) {
	if (el == null) return 0;
	return el.offsetLeft + opera_getLeft(el.offsetParent);
}

function opera_getTop(el) {
	if (el == null) return 0;
	return el.offsetTop + opera_getTop(el.offsetParent);
}

function getOuterRect(el) {
	return {
		left:	(opera ? opera_getLeft(el) : getLeft(el)),
		top:	(opera ? opera_getTop(el) : getTop(el)),
		width:	el.offsetWidth,
		height:	el.offsetHeight
	};
}

// mozilla bug! scrollbars not included in innerWidth/height
function getDocumentRect(el) {
	return {
		left:	0,
		top:	0,
		width:	(ie ?
					(ieBox ? document.body.clientWidth : document.documentElement.clientWidth) :
					window.innerWidth
				),
		height:	(ie ?
					(ieBox ? document.body.clientHeight : document.documentElement.clientHeight) :
					window.innerHeight
				)
	};
}

function getScrollPos(el) {
	return {
		left:	(ie ?
					(ieBox ? document.body.scrollLeft : document.documentElement.scrollLeft) :
					window.pageXOffset
				),
		top:	(ie ?
					(ieBox ? document.body.scrollTop : document.documentElement.scrollTop) :
					window.pageYOffset
				)
	};
}

/* end position functions */

WebFXMenu.prototype.position = function (relEl, sDir) {
	var dir = sDir;
	// find parent item rectangle, piRect
	var piRect;
	if (!relEl) {
		var pi = this.parentMenuItem;
		if (!this.parentMenuItem)
			return;

		relEl = document.getElementById(pi.id);
		if (dir == null)
			dir = pi instanceof WebFXMenuButton ? "vertical" : "horizontal";

		piRect = getOuterRect(relEl);
	}
	else if (relEl.left != null && relEl.top != null && relEl.width != null && relEl.height != null) {	// got a rect
		piRect = relEl;
	}
	else
		piRect = getOuterRect(relEl);

	var menuEl = document.getElementById(this.id);
	var menuRect = getOuterRect(menuEl);
	var docRect = getDocumentRect();
	var scrollPos = getScrollPos();
	var pMenu = this.parentMenu;

	if (dir == "vertical") {
		if (piRect.left + menuRect.width - scrollPos.left <= docRect.width)
			this.left = piRect.left;
		else if (docRect.width >= menuRect.width)
			this.left = docRect.width + scrollPos.left - menuRect.width;
		else
			this.left = scrollPos.left;

		if (piRect.top + piRect.height + menuRect.height <= docRect.height + scrollPos.top)
			this.top = piRect.top + piRect.height;
		else if (piRect.top - menuRect.height >= scrollPos.top)
			this.top = piRect.top - menuRect.height;
		else if (docRect.height >= menuRect.height)
			this.top = docRect.height + scrollPos.top - menuRect.height;
		else
			this.top = scrollPos.top;
	}
	else {
		if (piRect.top + menuRect.height - this.borderTop - this.paddingTop <= docRect.height + scrollPos.top)
			this.top = piRect.top - this.borderTop - this.paddingTop;
		else if (piRect.top + piRect.height - menuRect.height + this.borderTop + this.paddingTop >= 0)
			this.top = piRect.top + piRect.height - menuRect.height + this.borderBottom + this.paddingBottom + this.shadowBottom;
		else if (docRect.height >= menuRect.height)
			this.top = docRect.height + scrollPos.top - menuRect.height;
		else
			this.top = scrollPos.top;

		var pMenuPaddingLeft = pMenu ? pMenu.paddingLeft : 0;
		var pMenuBorderLeft = pMenu ? pMenu.borderLeft : 0;
		var pMenuPaddingRight = pMenu ? pMenu.paddingRight : 0;
		var pMenuBorderRight = pMenu ? pMenu.borderRight : 0;

		if (piRect.left + piRect.width + menuRect.width + pMenuPaddingRight +
			pMenuBorderRight - this.borderLeft + this.shadowRight <= docRect.width + scrollPos.left)
			this.left = piRect.left + piRect.width + pMenuPaddingRight + pMenuBorderRight - this.borderLeft;
		else if (piRect.left - menuRect.width - pMenuPaddingLeft - pMenuBorderLeft + this.borderRight + this.shadowRight >= 0)
			this.left = piRect.left - menuRect.width - pMenuPaddingLeft - pMenuBorderLeft + this.borderRight + this.shadowRight;
		else if (docRect.width >= menuRect.width)
			this.left = docRect.width  + scrollPos.left - menuRect.width;
		else
			this.left = scrollPos.left;
	}
};

/* add onfocus/blur for anchors in opera
 * Opera 5.10 seems to support focus and blur but in reality it is even worse
 */
if (opera) {
	document.onmousedown = function(e) {
		var a = e.target;
		while (a != null && a.tagName != "A") a = a.parentNode;

		if (document._oldFocus && document._oldFocus != a) {
			if (typeof document._oldFocus.onoperablur == "string") {
				var f = new Function ("event", document._oldFocus.onoperablur);
				document._oldFocus.onFakeBlur = f;
			}
			if (typeof document._oldFocus.onFakeBlur == "function") 
				document._oldFocus.onFakeBlur(e);
		}

		if (a && a != document._oldFocus) {
			document._oldFocus = a;
			if (typeof a.onoperafocus == "string") {
				var f = new Function ("event", a.onoperafocus);
				a.onFakeFocus = f;
			}
			if (typeof a.onFakeFocus == "function") 
				a.onFakeFocus(e);
		}
		else
			document._oldFocus = null;
	};
}
document.onclick=hideAllEX;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国内精品伊人久久久久av影院 | 久久久久久免费网| 日本丰满少妇一区二区三区| 成人福利电影精品一区二区在线观看 | 日韩成人av影视| 亚洲大片一区二区三区| 亚洲伊人色欲综合网| 婷婷成人综合网| 同产精品九九九| 久久精品国产999大香线蕉| 日韩一区精品视频| 精品一区二区久久久| 久久不见久久见免费视频1| 国产传媒日韩欧美成人| 成人av网站在线| 欧美综合视频在线观看| 91精品国产麻豆国产自产在线| 日韩天堂在线观看| 国产视频一区二区在线| 亚洲婷婷综合色高清在线| 樱花影视一区二区| 久久精品久久99精品久久| 国产成人精品综合在线观看| 99re这里只有精品首页| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 欧美日韩专区在线| 久久久久久久久久久久久女国产乱| www.爱久久.com| 成人av在线一区二区| 欧美视频在线一区二区三区| 91精品国产福利在线观看| 久久综合九色综合欧美亚洲| 日韩国产一二三区| 男男视频亚洲欧美| 波多野结衣精品在线| 色婷婷av一区二区三区软件 | 日韩二区在线观看| 不卡的电影网站| 日韩欧美第一区| 亚洲欧美一区二区三区极速播放 | 成人高清免费观看| 7777精品伊人久久久大香线蕉 | 国产一区二区中文字幕| 一本大道av伊人久久综合| 欧美一区二区美女| 国产精品久久久久7777按摩| 免费成人在线影院| 91麻豆福利精品推荐| 91精品国产一区二区| 亚洲男人天堂一区| 国产精品资源站在线| 3d成人h动漫网站入口| 国产精品乱码一区二三区小蝌蚪| 婷婷国产v国产偷v亚洲高清| 色呦呦国产精品| 国产亚洲一本大道中文在线| 日韩专区欧美专区| 欧美亚洲综合在线| 综合网在线视频| 成人网在线免费视频| 精品国产三级电影在线观看| 日韩影院在线观看| 欧美丝袜丝交足nylons图片| 亚洲欧洲美洲综合色网| 高清不卡在线观看| 国产色产综合色产在线视频| 国产曰批免费观看久久久| 欧美人xxxx| 香港成人在线视频| 欧美日韩高清一区二区不卡| 亚洲欧美日韩国产综合在线| 99在线热播精品免费| 国产精品成人免费精品自在线观看 | 亚洲老司机在线| 成人app软件下载大全免费| 精品国产91久久久久久久妲己 | 波多野结衣中文字幕一区二区三区 | 全国精品久久少妇| 日韩手机在线导航| 精品一区二区三区av| 精品日韩99亚洲| 蜜臀av亚洲一区中文字幕| 91精品国产欧美一区二区成人| 日本91福利区| 久久婷婷一区二区三区| 成人小视频免费在线观看| 中文在线一区二区| 91一区二区三区在线观看| 亚洲另类一区二区| 欧美天堂一区二区三区| 亚洲444eee在线观看| 欧美精品vⅰdeose4hd| 丝瓜av网站精品一区二区| 91精品午夜视频| 国产东北露脸精品视频| 亚洲私人影院在线观看| 色婷婷av久久久久久久| 奇米一区二区三区av| 国产日韩欧美高清在线| 色综合天天做天天爱| 亚洲综合成人在线| 欧美一卡二卡三卡| av成人免费在线| 日韩国产一二三区| 日韩伦理电影网| 欧美成人国产一区二区| av色综合久久天堂av综合| 一区二区三区日韩| 成人美女视频在线看| 五月婷婷另类国产| 日本欧美一区二区三区| 国产成人免费视频| 亚洲视频每日更新| 日韩精品一区在线| 成人免费毛片aaaaa**| 午夜欧美一区二区三区在线播放| 精品国产电影一区二区| 欧美性色aⅴ视频一区日韩精品| 美女国产一区二区三区| 亚洲人成亚洲人成在线观看图片 | 久久99国产精品久久| 国产三级久久久| 欧美三级电影在线看| 国产成人午夜精品影院观看视频 | 欧美综合欧美视频| 国产成人精品三级| 日韩国产成人精品| 亚洲精品视频免费观看| 国产视频一区二区在线| 日韩亚洲欧美在线| 欧美性受极品xxxx喷水| 成人综合在线视频| 国产精品自拍毛片| 韩国av一区二区三区在线观看| 亚洲va欧美va国产va天堂影院| 国产精品乱人伦| 亚洲国产精品精华液ab| 久久天天做天天爱综合色| 日韩一级片在线观看| 欧美日本免费一区二区三区| 91麻豆免费视频| 不卡电影一区二区三区| 成人精品在线视频观看| 国产一区二区三区黄视频 | 国产精品影音先锋| 久久精品国产亚洲高清剧情介绍| 亚洲成在人线免费| 亚洲在线成人精品| 亚洲一区二区三区视频在线| 亚洲女与黑人做爰| 一区二区视频在线| 亚洲一区二区三区免费视频| 亚洲午夜av在线| 亚洲国产精品自拍| 亚洲国产一区视频| 天堂成人国产精品一区| 日韩成人dvd| 久久99精品视频| 国产不卡在线一区| 99国产麻豆精品| 色婷婷激情综合| 8x福利精品第一导航| 欧美大片日本大片免费观看| 精品国产污网站| 国产精品国产自产拍高清av王其 | 欧美日韩国产综合视频在线观看 | 欧美一区二区三区在线电影| 欧美精品在线一区二区| 日韩视频在线永久播放| 国产欧美一区视频| 悠悠色在线精品| 免费的国产精品| 成人av在线资源网| 欧美精品一卡两卡| 亚洲精品一区二区三区福利 | 日韩欧美国产不卡| 国产亚洲一区二区在线观看| 亚洲日本电影在线| 蜜桃精品视频在线| 成人18精品视频| 欧美日韩免费一区二区三区 | 91麻豆免费看| 欧美高清www午色夜在线视频| 欧美mv日韩mv国产网站app| 国产精品你懂的在线欣赏| 一区二区在线看| 加勒比av一区二区| 91久久国产最好的精华液| 欧美电视剧在线观看完整版| 亚洲视频综合在线| 成人黄色小视频在线观看| 欧美日韩www| 欧美激情一区在线| 日本大胆欧美人术艺术动态| 国产999精品久久| 欧美一级理论片| 一区二区三区电影在线播| 国产剧情一区二区三区| 欧美福利视频导航| 亚洲女人****多毛耸耸8|