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

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

?? menu.js

?? 一個asp寫的論壇源代碼,論壇所需要的功能都有
?? JS
字號:
/******************************************************************************
  team Board - modify for Team's daymoon
  Copyright 2005-2006 team studio. (http://www.team5.cn)
*******************************************************************************/

var menuslidetimer = null;

function Popup_Handler() {
	this.open_steps = 2;
	this.open_fade = false;
	this.active = false;
	this.menus = new Array();
	this.activemenu = null;
	this.hidden_selects = new Array();

	this.activate = function(active) {
		this.active = active;
	}

	this.register = function(clickactive, controlkey, noimage) {
		this.menus[controlkey] = new Popup_Menu(clickactive, controlkey, noimage);
		return this.menus[controlkey];
	}

	this.hide = function() {
		if(this.activemenu != null) this.menus[this.activemenu].hide();
	}
}

function Popup_Events() {
	this.controlobj_show = function(e) {
		doane(e);
		clearTimeout(this.slidetimer);
		if(popupmenu.activemenu == null || popupmenu.menus[popupmenu.activemenu].controlkey != this.id)	{popupmenu.menus[this.id].show(this, false, popupmenu.menus[this.id].clickactive);}
	}

	this.controlobj_onclick = function(e) {
		doane(e);
		if(popupmenu.activemenu == null || popupmenu.menus[popupmenu.activemenu].controlkey != this.id)	{popupmenu.menus[this.id].show(this, false, popupmenu.menus[this.id].clickactive);}
		else {popupmenu.menus[this.id].hide();}
	}

	this.controlobj_onmouseover = function(e) {
		doane(e);
		popupmenu.menus[this.id].hover(this);
	}

	this.menuoption_onclick_function = function(e) {
		this.ofunc(e);
		popupmenu.menus[this.controlkey].hide();
	}

	this.menuoption_onclick_link = function(e) {
		popupmenu.menus[this.controlkey].choose(e, this);
	}

	this.menuoption_onmouseover = function(e) {
		this.className = 'popupmenu_highlight';
	}

	this.menuoption_onmouseout = function(e) {
		this.className = 'popupmenu_option';
	}
}

popupmenu = new Popup_Handler();
popupevents = new Popup_Events();

function popupmenu_hide(e) {
	if(e && e.button && e.button != 1 && e.type == 'click')  return true;
	else popupmenu.hide();
}

function Popup_Menu(clickactive, controlkey, noimage) {
	this.controlkey = controlkey;
	this.clickactive = clickactive;
	this.menuname = this.controlkey.split('.')[0] + '_menu';
	if($(this.menuname)) {this.init_menu(clickactive);}
	this.slide_open = (is_opera ? false : true);
	this.open_steps = popupmenu.open_steps;

	this.init_control = function(noimage) {
		this.controlobj = $(this.controlkey);
		this.controlobj.state = false;
		if(this.controlobj.firstChild && (this.controlobj.firstChild.tagName == 'TEXTAREA' || this.controlobj.firstChild.tagName == 'INPUT')) {
		} else {
			if(!this.clickactive && !noimage && !(is_mac && is_ie)) {
				var img = document.createElement('img');
				img.src = 'images/common/jsmenu.gif';
				img.border = 0;
				img.title = '';
				img.alt = '';
				this.controlobj.appendChild(img);
			}
			this.controlobj.unselectable = true;
			if(!noimage) {
				this.controlobj.style.cursor = is_ie ? 'hand' : 'pointer';
			}
			if(clickactive) {
				this.controlobj.onclick = popupevents.controlobj_onclick;
				this.controlobj.onmouseover = popupevents.controlobj_onmouseover;
			} else {
				this.controlobj.onmouseover = popupevents.controlobj_show;
			}
		}
	}

	this.init_control( noimage);

	this.init_menu = function() {
		this.menuobj = $(this.menuname);
		if(this.menuobj && !this.menuobj.initialized) {
			this.menuobj.initialized = true;
			this.menuobj.onclick = ebygum;
			this.menuobj.style.position = 'absolute';
			if(!this.clickactive) {
				this.menuobj.onmouseover = function() {
					clearTimeout(menuslidetimer);
				}
				this.menuobj.onmouseout = function() {
					menuslidetimer = setTimeout("menuhide()",500);
				}
			}
			this.menuobj.style.zIndex = 50;
			if(is_ie && !is_mac) {
				this.menuobj.style.filter += "progid:DXImageTransform.Microsoft.shadow(direction=135,color=#CCCCCC,strength=2)";
			}
			this.init_menu_contents();
		}
	}

	this.init_menu_contents = function() {
		var tds = findtags(this.menuobj, 'td');
		for(var i = 0; i < tds.length; i++) {
			if(tds[i].className == 'popupmenu_option' || tds[i].className == 'editor_colornormal') {
				if(is_ie && !is_mac) {
					tds[i].style.filter += "progid:DXImageTransform.Microsoft.Alpha(opacity=85,finishOpacity=100,style=0)";
				}
				tds[i].style.opacity = 0.85;
				if(tds[i].title && tds[i].title == 'nohighlight') {
					tds[i].title = '';
				} else {
					tds[i].controlkey = this.controlkey;
					if(tds[i].className != 'editor_colornormal') {
						tds[i].onmouseover = popupevents.menuoption_onmouseover;
						tds[i].onmouseout = popupevents.menuoption_onmouseout;
					}
					if(typeof tds[i].onclick == 'function') {
						tds[i].ofunc = tds[i].onclick;
						tds[i].onclick = popupevents.menuoption_onclick_function;
					} else {
						tds[i].onclick = popupevents.menuoption_onclick_link;
					}
					if(!is_saf && !is_kon)	{
						try {
							links = findtags(tds[i], 'a');
							for(var j = 0; j < links.length; j++) {
								if(typeof links[j].onclick  == 'undefined') links[j].onclick = ebygum;
							}
						}
						catch(e) {}
					}
				}
			}
		}
	}

	this.show = function(obj, instant) {
		if(!popupmenu.active){return false;}
		else if(!this.menuobj)	{this.init_menu();}
		if(!this.menuobj) {return false;}
		if(popupmenu.activemenu != null) {popupmenu.menus[popupmenu.activemenu].hide();}
		popupmenu.activemenu = this.controlkey;
		this.menuobj.style.display = '';
		if(popupmenu.slide_open) {this.menuobj.style.clip = 'rect(auto, auto, auto, auto)';}
		this.pos = this.fetch_offset(obj);
		this.leftpx = this.pos['left'];
		this.toppx = this.pos['top'] + obj.offsetHeight;
		if((this.leftpx + this.menuobj.offsetWidth) >= document.body.clientWidth && (this.leftpx + obj.offsetWidth - this.menuobj.offsetWidth) > 0) {
			this.leftpx = this.leftpx + obj.offsetWidth - this.menuobj.offsetWidth;
			this.direction = 'right';
		} else {this.direction = 'left';}
		this.menuobj.style.left = this.leftpx + 'px';
		this.menuobj.style.top  = this.toppx + 'px';
		if(!instant && this.slide_open) {
			this.intervalX = Math.ceil(this.menuobj.offsetWidth / this.open_steps);
			this.intervalY = Math.ceil(this.menuobj.offsetHeight / this.open_steps);
			this.slide((this.direction == 'left' ? 0 : this.menuobj.offsetWidth), 0, 0);
		} else if(this.menuobj.style.clip && popupmenu.slide_open) {
			this.menuobj.style.clip = 'rect(auto, auto, auto, auto)';
		}
		this.handle_overlaps(true);
		if(this.menuobj.scrollHeight > 400) {
			this.menuobj.style.height = '400px';
			if(is_ie || is_opera) {
				this.menuobj.style.width = this.menuobj.scrollWidth + 18;
			}
			if(is_opera) {
				this.menuobj.style.overflow = 'scroll';
			} else {
				this.menuobj.style.overflowY = 'scroll';
			}
		}
	}

	this.hide = function(e) {
		if(e && e.button && e.button != 1) {return true;}
		this.stop_slide();
		this.menuobj.style.display = 'none';
		this.handle_overlaps(false);
		popupmenu.activemenu = null;
	}

	this.slidehide = function() {
		popupmenu.menus[popupmenu.activemenu].hide()
	}

	this.hover = function(obj, clickactive) {
		if(popupmenu.activemenu != null) {
			if(popupmenu.menus[popupmenu.activemenu].controlkey != this.id) {this.show(obj, true, clickactive);}
		}
	}

	this.choose = function(e, obj) {
		var links = findtags(obj, 'a');
		if(links[0]) {
			if(is_ie) {
				links[0].click();
				window.event.cancelBubble = true;
			} else {
				if(e.shiftKey) {
					window.open(links[0].href);
					e.stopPropagation();
					e.preventDefault();
				} else {
					window.location = links[0].href;
					e.stopPropagation();
					e.preventDefault();
				}
			}
			this.hide();
		}
	}

	this.slide = function(clipX, clipY, opacity) {
		if(this.direction == 'left' && (clipX < this.menuobj.offsetWidth || clipY < this.menuobj.offsetHeight)) {
			if(popupmenu.open_fade && is_ie) {
				opacity += 10;
				this.menuobj.filters.item('DXImageTransform.Microsoft.alpha').opacity = opacity;
			}
			clipX += this.intervalX;
			clipY += this.intervalY;
			this.menuobj.style.clip = "rect(auto, " + clipX + "px, " + clipY + "px, auto)";
			this.slidetimer = setTimeout("popupmenu.menus[popupmenu.activemenu].slide(" + clipX + ", " + clipY + ", " + opacity + ");", 0);
		} else if(this.direction == 'right' && (clipX > 0 || clipY < this.menuobj.offsetHeight)) {
			if(popupmenu.open_fade && is_ie) {
				opacity += 10;
				menuobj.filters.item('DXImageTransform.Microsoft.alpha').opacity = opacity;
			}
			clipX -= this.intervalX;
			clipY += this.intervalY;
			this.menuobj.style.clip = "rect(auto, " + this.menuobj.offsetWidth + "px, " + clipY + "px, " + clipX + "px)";
			this.slidetimer = setTimeout("popupmenu.menus[popupmenu.activemenu].slide(" + clipX + ", " + clipY + ", " + opacity + ");", 0);
		} else {this.stop_slide();}
	}

	this.stop_slide = function() {
		clearTimeout(this.slidetimer);
		this.menuobj.style.clip = 'rect(auto, auto, auto, auto)';
		if(popupmenu.open_fade && is_ie) {this.menuobj.filters.item('DXImageTransform.Microsoft.alpha').opacity = 100;}
	}

	this.fetch_offset = function(obj) {
		var left_offset = obj.offsetLeft;
		var top_offset = obj.offsetTop;
		while ((obj = obj.offsetParent) != null) {
			left_offset += obj.offsetLeft;
			top_offset += obj.offsetTop;
		}
		return { 'left' : left_offset, 'top' : top_offset };
	}

	this.overlaps = function(obj, m) {
		var s = new Array();
		var pos = this.fetch_offset(obj);
		s['L'] = pos['left'];
		s['T'] = pos['top'];
		s['R'] = s['L'] + obj.offsetWidth;
		s['B'] = s['T'] + obj.offsetHeight;
		if(s['L'] > m['R'] || s['R'] < m['L'] || s['T'] > m['B'] || s['B'] < m['T']) {return false;}
		return true;
	}

	this.handle_overlaps = function(dohide) {
		if(is_ie) {
			var selects = findtags(document, 'select');
			if(dohide) {
				var menuarea = new Array(); menuarea = {
					'L' : this.leftpx,
					'R' : this.leftpx + this.menuobj.offsetWidth,
					'T' : this.toppx,
					'B' : this.toppx + this.menuobj.offsetHeight
				};
				for(var i = 0; i < selects.length; i++) {
					if(this.overlaps(selects[i], menuarea)) {
						var hide = true;
						var s = selects[i];
						while (s = s.parentNode) {
							if(s.className == 'popupmenu_popup') {
								hide = false;
								break;
							}
						}
						if(hide) {
							selects[i].style.visibility = 'hidden';
							arraypush(popupmenu.hidden_selects, i);
						}
					}
				}
			} else {
				while (true) {
					var i = arraypop(popupmenu.hidden_selects);
					if(typeof i == 'undefined' || i == null) break;
					else selects[i].style.visibility = 'visible';
				}
			}
		}
	}
}

function doane(eventobj) {
	if(!eventobj || is_ie)	{
		window.event.returnValue = false;
		window.event.cancelBubble = true;
		return window.event;
	} else {
		eventobj.stopPropagation();
		eventobj.preventDefault();
		return eventobj;
	}
}

function ebygum(eventobj) {
	if(!eventobj || is_ie) {
		window.event.cancelBubble = true;
		return window.event;
	} else {
		if(eventobj.target.type == 'submit')  eventobj.target.form.submit();
		eventobj.stopPropagation();
		return eventobj;
	}
}

function menuregister(clickactive, controlid, noimage, datefield) {
	if(typeof popupmenu == 'object') {
		popupmenu.register(clickactive, controlid, noimage);
	}
}

function menuhide() {
	if(popupmenu.activemenu != null) {
		popupmenu.menus[popupmenu.activemenu].slidehide();
	}
}

if(typeof popupmenu == 'object') {
	if(window.attachEvent && !is_saf) {
		document.attachEvent('onclick', popupmenu_hide);
		window.attachEvent('onresize', popupmenu_hide);
	} else if(document.addEventListener && !is_saf) {
		document.addEventListener('click', popupmenu_hide, false);
		window.addEventListener('resize', popupmenu_hide, false);
	} else {
		window.onclick = popupmenu_hide;
		window.onresize = popupmenu_hide;
	}
	popupmenu.activate(true);
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
老司机午夜精品| 欧美唯美清纯偷拍| 欧美日韩三级在线| 国产精品久久久久三级| 久久精品国产亚洲高清剧情介绍| 91美女蜜桃在线| 精品欧美久久久| 午夜精品久久久久久久| 成人精品视频一区二区三区| 欧美mv日韩mv国产网站app| 亚洲精品亚洲人成人网在线播放| 国内成人免费视频| 制服丝袜成人动漫| 一级日本不卡的影视| 成人精品小蝌蚪| 久久美女艺术照精彩视频福利播放 | 亚洲综合在线免费观看| 国产精品一卡二| 精品国产91洋老外米糕| 日韩精品乱码免费| 欧美日本在线播放| 亚洲 欧美综合在线网络| 一本一道久久a久久精品| 亚洲国产精品高清| www.欧美精品一二区| 国产免费观看久久| av中文字幕在线不卡| 国产精品久久久久久妇女6080| 国产成人午夜视频| 亚洲国产高清不卡| 不卡视频免费播放| 亚洲人成亚洲人成在线观看图片 | 欧美日韩国产免费一区二区| 亚洲私人黄色宅男| 99久久免费国产| 亚洲视频资源在线| 色婷婷av一区二区三区gif| 亚洲色图视频网| 欧日韩精品视频| 日韩精品午夜视频| 日韩一区二区三区电影在线观看 | 久久久久久久一区| 国产精品性做久久久久久| 国产欧美日本一区二区三区| 成人美女视频在线看| 亚洲欧美区自拍先锋| 欧美亚一区二区| 丝袜美腿高跟呻吟高潮一区| 制服.丝袜.亚洲.中文.综合| 韩国女主播成人在线观看| 国产日韩一级二级三级| 91在线porny国产在线看| 一区二区三区在线播| 欧美精品电影在线播放| 精品在线一区二区三区| 亚洲国产精品黑人久久久| 色哦色哦哦色天天综合| 丝袜美腿亚洲一区二区图片| 欧美精品一区二区在线播放| caoporn国产精品| 亚洲v精品v日韩v欧美v专区| 日韩欧美国产综合在线一区二区三区 | 亚洲精品高清视频在线观看| 555夜色666亚洲国产免| 国产综合成人久久大片91| 中文字幕色av一区二区三区| 欧美日韩国产一区| 国产精品一区三区| 一区二区三区欧美在线观看| 日韩一区二区免费高清| 国产成人在线视频网址| 一区二区三区四区不卡在线 | 6080亚洲精品一区二区| 国产成人午夜片在线观看高清观看| 亚洲人成人一区二区在线观看 | 久久疯狂做爰流白浆xx| 中文字幕第一区| 欧美疯狂做受xxxx富婆| 国产成人亚洲综合色影视| 午夜精品爽啪视频| 日本一区二区三区dvd视频在线| 在线观看av一区二区| 国产麻豆精品视频| 图片区小说区国产精品视频| 久久一日本道色综合| 欧美夫妻性生活| 日本韩国一区二区| 成人动漫视频在线| 韩国视频一区二区| 日韩不卡免费视频| 亚洲国产精品自拍| 国产精品福利影院| 久久久久久97三级| 欧美一区二区三区免费视频 | 亚洲综合色网站| 国产精品久久综合| 久久久91精品国产一区二区精品| 欧美日韩国产综合视频在线观看| 91美女片黄在线观看91美女| 国产精品亚洲一区二区三区在线| 日韩成人伦理电影在线观看| 亚洲成人久久影院| 亚洲黄色小视频| 国产精品欧美一区二区三区| 精品福利二区三区| 日韩欧美你懂的| 欧美大片免费久久精品三p| 欧美视频一区二区三区四区| 91视频91自| 91在线你懂得| 色婷婷久久久亚洲一区二区三区 | 国产一区二区三区电影在线观看| 日韩激情中文字幕| 日韩精品电影在线| 麻豆精品一二三| 久久99精品一区二区三区三区| 欧美96一区二区免费视频| 舔着乳尖日韩一区| 奇米一区二区三区| 日日夜夜一区二区| 免费成人在线影院| 国产露脸91国语对白| 国产精品小仙女| 成人av午夜影院| 99re成人在线| 欧美三级在线看| 欧美一区二区三区免费视频| 欧美大尺度电影在线| 精品欧美一区二区久久 | 国产麻豆视频一区| 大桥未久av一区二区三区中文| 成人一区二区三区视频 | 日韩精品一区二区三区视频播放| 欧美日韩精品一区二区三区四区| 欧美丰满少妇xxxbbb| 精品毛片乱码1区2区3区| 久久精品亚洲精品国产欧美kt∨| 国产精品第13页| 一区二区三区中文字幕电影| 奇米色777欧美一区二区| 精品在线亚洲视频| 成人看片黄a免费看在线| 欧美亚洲另类激情小说| 精品少妇一区二区三区| 国产精品九色蝌蚪自拍| 午夜精品视频一区| 国产91色综合久久免费分享| 91在线视频播放地址| 日韩一二三区不卡| 国产精品久久久久桃色tv| 日本不卡一区二区三区| 国产电影一区在线| 欧美婷婷六月丁香综合色| 精品福利在线导航| 一级做a爱片久久| 国产激情一区二区三区四区| 欧美日韩中字一区| 中文字幕国产精品一区二区| 日本系列欧美系列| 99在线视频精品| 欧美大片在线观看| 一区二区三国产精华液| 国产一区二区日韩精品| 日韩三级电影网址| 自拍av一区二区三区| 精品一区二区在线播放| 欧美亚洲丝袜传媒另类| 欧美国产日韩a欧美在线观看| 午夜视频一区在线观看| 成人午夜电影网站| 日韩欧美一级片| 亚洲一区视频在线| 99久久综合精品| 久久久久久久久久久久电影 | 亚洲乱码国产乱码精品精可以看| 久色婷婷小香蕉久久| 欧美伦理电影网| 亚洲日本va午夜在线影院| 国产一区在线观看麻豆| 欧美一区二区三区男人的天堂| 亚洲另类色综合网站| 成人午夜在线视频| 久久精品水蜜桃av综合天堂| 蜜桃视频在线观看一区二区| 欧美三级中文字| 亚洲一区二区3| 色哟哟在线观看一区二区三区| 欧美激情在线免费观看| 国产高清精品在线| 久久综合久久鬼色中文字| 人人狠狠综合久久亚洲| 欧美日韩第一区日日骚| 亚洲一区日韩精品中文字幕| 97精品久久久久中文字幕| 中文字幕在线免费不卡| youjizz久久| 国产精品久久久久久久第一福利 | 亚洲乱码国产乱码精品精的特点 | 成人一区二区三区在线观看| 久久这里只有精品6|