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

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

?? tabpane.js

?? 動態增加表格和橫向導航欄
?? JS
字號:
/*----------------------------------------------------------------------------\
|                               Tab Pane 1.02                                 |
|-----------------------------------------------------------------------------|
|                         Created by Erik Arvidsson                           |
|                  (http://webfx.eae.net/contact.html#erik)                   |
|                      For WebFX (http://webfx.eae.net/)                      |
|-----------------------------------------------------------------------------|
|                Copyright (c) 2002, 2003, 2006 Erik Arvidsson                |
|-----------------------------------------------------------------------------|
| Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| use this file except in compliance with the License.  You may obtain a copy |
| of the License at http://www.apache.org/licenses/LICENSE-2.0                |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| Unless  required  by  applicable law or  agreed  to  in  writing,  software |
| distributed under the License is distributed on an  "AS IS" BASIS,  WITHOUT |
| WARRANTIES OR  CONDITIONS OF ANY KIND,  either express or implied.  See the |
| License  for the  specific language  governing permissions  and limitations |
| under the License.                                                          |
|-----------------------------------------------------------------------------|
| 2002-01-?? | First working version                                          |
| 2002-02-17 | Cleaned up for 1.0 public version                              |
| 2003-02-18 | Changed from javascript uri for anchors to return false        |
| 2003-03-03 | Added dispose methods to release IE memory                     |
| 2006-05-28 | Changed license to Apache Software License 2.0.                |
|-----------------------------------------------------------------------------|
| Dependencies: *.css           a css file to define the layout               |
|-----------------------------------------------------------------------------|
| Created 2002-01-?? | All changes are in the log above. | Updated 2006-05-28 |
\----------------------------------------------------------------------------*/

// This function is used to define if the browser supports the needed
// features
function hasSupport() {

	if (typeof hasSupport.support != "undefined")
		return hasSupport.support;
	
	var ie55 = /msie 5\.[56789]/i.test( navigator.userAgent );
	
	hasSupport.support = ( typeof document.implementation != "undefined" &&
			document.implementation.hasFeature( "html", "1.0" ) || ie55 )
			
	// IE55 has a serious DOM1 bug... Patch it!
	if ( ie55 ) {
		document._getElementsByTagName = document.getElementsByTagName;
		document.getElementsByTagName = function ( sTagName ) {
			if ( sTagName == "*" )
				return document.all;
			else
				return document._getElementsByTagName( sTagName );
		};
	}

	return hasSupport.support;
}

///////////////////////////////////////////////////////////////////////////////////
// The constructor for tab panes
//
// el : HTMLElement		The html element used to represent the tab pane
// bUseCookie : Boolean	Optional. Default is true. Used to determine whether to us
//						persistance using cookies or not
//
function WebFXTabPane( el, bUseCookie ) {
	if ( !hasSupport() || el == null ) return;
	
	this.element = el;
	this.element.tabPane = this;
	this.pages = [];
	this.selectedIndex = null;
	this.useCookie = bUseCookie != null ? bUseCookie : true;
	
	// add class name tag to class name
	this.element.className = this.classNameTag + " " + this.element.className;
	
	// add tab row
	this.tabRow = document.createElement( "div" );
	this.tabRow.className = "tab-row";
	el.insertBefore( this.tabRow, el.firstChild );

	var tabIndex = 0;
	if ( this.useCookie ) {
		tabIndex = Number( WebFXTabPane.getCookie( "webfxtab_" + this.element.id ) );
		if ( isNaN( tabIndex ) )
			tabIndex = 0;
	}
	this.selectedIndex = tabIndex;
	
	// loop through child nodes and add them
	var cs = el.childNodes;
	var n;
	for (var i = 0; i < cs.length; i++) {
		if (cs[i].nodeType == 1 && cs[i].className == "tab-page") {
			this.addTabPage( cs[i] );
		}
	}
}

WebFXTabPane.prototype.classNameTag = "dynamic-tab-pane-control";

WebFXTabPane.prototype.setSelectedIndex = function ( n ) {
	if (this.selectedIndex != n) {
		if (this.selectedIndex != null && this.pages[ this.selectedIndex ] != null )
			this.pages[ this.selectedIndex ].hide();
		this.selectedIndex = n;
		this.pages[ this.selectedIndex ].show();
		
		if ( this.useCookie )
			WebFXTabPane.setCookie( "webfxtab_" + this.element.id, n );	// session cookie
	}
};
	
WebFXTabPane.prototype.getSelectedIndex = function () {
	return this.selectedIndex;
};
	
WebFXTabPane.prototype.addTabPage = function ( oElement ) {
	if ( !hasSupport() ) return;
	
	if ( oElement.tabPage == this )	// already added
		return oElement.tabPage;

	var n = this.pages.length;
	var tp = this.pages[n] = new WebFXTabPage( oElement, this, n );
	tp.tabPane = this;
	
	// move the tab out of the box
	this.tabRow.appendChild( tp.tab );
			
	if ( n == this.selectedIndex )
		tp.show();
	else
		tp.hide();
		
	return tp;
};
	
WebFXTabPane.prototype.dispose = function () {
	this.element.tabPane = null;
	this.element = null;		
	this.tabRow = null;
	
	for (var i = 0; i < this.pages.length; i++) {
		this.pages[i].dispose();
		this.pages[i] = null;
	}
	this.pages = null;
};



// Cookie handling
WebFXTabPane.setCookie = function ( sName, sValue, nDays ) {
	var expires = "";
	if ( nDays ) {
		var d = new Date();
		d.setTime( d.getTime() + nDays * 24 * 60 * 60 * 1000 );
		expires = "; expires=" + d.toGMTString();
	}

	document.cookie = sName + "=" + sValue + expires + "; path=/";
};

WebFXTabPane.getCookie = function (sName) {
	var re = new RegExp( "(\;|^)[^;]*(" + sName + ")\=([^;]*)(;|$)" );
	var res = re.exec( document.cookie );
	return res != null ? res[3] : null;
};

WebFXTabPane.removeCookie = function ( name ) {
	setCookie( name, "", -1 );
};








///////////////////////////////////////////////////////////////////////////////////
// The constructor for tab pages. This one should not be used.
// Use WebFXTabPage.addTabPage instead
//
// el : HTMLElement			The html element used to represent the tab pane
// tabPane : WebFXTabPane	The parent tab pane
// nindex :	Number			The index of the page in the parent pane page array
//
function WebFXTabPage( el, tabPane, nIndex ) {
	if ( !hasSupport() || el == null ) return;
	
	this.element = el;
	this.element.tabPage = this;
	this.index = nIndex;
	
	var cs = el.childNodes;
	for (var i = 0; i < cs.length; i++) {
		if (cs[i].nodeType == 1 && cs[i].className == "tab") {
			this.tab = cs[i];
			break;
		}
	}
	
	// insert a tag around content to support keyboard navigation
	
	
	var a = document.createElement( "A" );
	this.aElement = a;
	a.href = "#";
	a.onclick = function () { return false; };
	while ( this.tab.hasChildNodes() )
		a.appendChild( this.tab.firstChild );
	this.tab.appendChild( a );

	
	// hook up events, using DOM0
	var oThis = this;
	this.tab.onclick = function () { oThis.select(); };
	this.tab.onmouseover = function () { WebFXTabPage.tabOver( oThis ); };
	this.tab.onmouseout = function () { WebFXTabPage.tabOut( oThis ); };
}

WebFXTabPage.prototype.show = function () {
	var el = this.tab;
	var s = el.className + " selected";
	s = s.replace(/ +/g, " ");
	el.className = s;
	
	this.element.style.display = "block";
};

WebFXTabPage.prototype.hide = function () {
	var el = this.tab;
	var s = el.className;
	s = s.replace(/ selected/g, "");
	el.className = s;

	this.element.style.display = "none";
};
	
WebFXTabPage.prototype.select = function () {
	this.tabPane.setSelectedIndex( this.index );
};
	
WebFXTabPage.prototype.dispose = function () {
	this.aElement.onclick = null;
	this.aElement = null;
	this.element.tabPage = null;
	this.tab.onclick = null;
	this.tab.onmouseover = null;
	this.tab.onmouseout = null;
	this.tab = null;
	this.tabPane = null;
	this.element = null;
};

WebFXTabPage.tabOver = function ( tabpage ) {
	var el = tabpage.tab;
	var s = el.className + " hover";
	s = s.replace(/ +/g, " ");
	el.className = s;
};

WebFXTabPage.tabOut = function ( tabpage ) {
	var el = tabpage.tab;
	var s = el.className;
	s = s.replace(/ hover/g, "");
	el.className = s;
};


// This function initializes all uninitialized tab panes and tab pages
function setupAllTabs() {
	if ( !hasSupport() ) return;

	var all = document.getElementsByTagName( "*" );
	var l = all.length;
	var tabPaneRe = /tab\-pane/;
	var tabPageRe = /tab\-page/;
	var cn, el;
	var parentTabPane;
	
	for ( var i = 0; i < l; i++ ) {
		el = all[i]
		cn = el.className;

		// no className
		if ( cn == "" ) continue;
		
		// uninitiated tab pane
		if ( tabPaneRe.test( cn ) && !el.tabPane )
			new WebFXTabPane( el );
	
		// unitiated tab page wit a valid tab pane parent
		else if ( tabPageRe.test( cn ) && !el.tabPage &&
					tabPaneRe.test( el.parentNode.className ) ) {
			el.parentNode.tabPane.addTabPage( el );			
		}
	}
}

function disposeAllTabs() {
	if ( !hasSupport() ) return;
	
	var all = document.getElementsByTagName( "*" );
	var l = all.length;
	var tabPaneRe = /tab\-pane/;
	var cn, el;
	var tabPanes = [];
	
	for ( var i = 0; i < l; i++ ) {
		el = all[i]
		cn = el.className;

		// no className
		if ( cn == "" ) continue;
		
		// tab pane
		if ( tabPaneRe.test( cn ) && el.tabPane )
			tabPanes[tabPanes.length] = el.tabPane;
	}
	
	for (var i = tabPanes.length - 1; i >= 0; i--) {
		tabPanes[i].dispose();
		tabPanes[i] = null;
	}
}


// initialization hook up

// DOM2
if ( typeof window.addEventListener != "undefined" )
	window.addEventListener( "load", setupAllTabs, false );

// IE 
else if ( typeof window.attachEvent != "undefined" ) {
	window.attachEvent( "onload", setupAllTabs );
	window.attachEvent( "onunload", disposeAllTabs );
}

else {
	if ( window.onload != null ) {
		var oldOnload = window.onload;
		window.onload = function ( e ) {
			oldOnload( e );
			setupAllTabs();
		};
	}
	else 
		window.onload = setupAllTabs;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩久久久| 91豆麻精品91久久久久久| 成人黄色免费短视频| 欧美性猛片aaaaaaa做受| 精品伦理精品一区| 一二三四区精品视频| 丰满少妇久久久久久久| 日韩午夜av电影| 亚洲一区二区三区三| 成人av电影免费在线播放| 日韩亚洲欧美中文三级| 亚洲一区二区三区视频在线| 99精品视频中文字幕| 2021国产精品久久精品| 美女视频黄免费的久久| 欧美亚洲精品一区| 亚洲欧洲制服丝袜| 成人福利电影精品一区二区在线观看| 日韩精品影音先锋| 午夜精品成人在线| 欧美色精品天天在线观看视频| 亚洲欧洲成人精品av97| 成人三级伦理片| 国产欧美一区二区精品仙草咪| 久久疯狂做爰流白浆xx| 日韩欧美一区在线| 美女脱光内衣内裤视频久久网站 | 日韩欧美专区在线| 亚洲午夜电影网| 欧美优质美女网站| 亚洲一区二区三区四区不卡| 91黄色激情网站| 亚洲一二三区视频在线观看| 91福利资源站| 亚洲va欧美va人人爽| 欧美日韩国产综合视频在线观看 | 精品一二三四在线| 欧美大片拔萝卜| 日本在线观看不卡视频| 欧美一区二区精品在线| 六月丁香婷婷久久| 欧美精品一区二区三区一线天视频| 国产一区二区在线观看免费| 欧美成人综合网站| 国产sm精品调教视频网站| 亚洲欧美一区二区不卡| 欧美亚洲综合一区| 蜜桃久久精品一区二区| 久久网站热最新地址| jizz一区二区| 一区二区三区免费| 欧美一区二区三区四区高清| 国产乱子伦视频一区二区三区 | 成人免费黄色大片| 一区二区在线观看视频| 欧美日韩大陆一区二区| 精品一区在线看| 欧美国产欧美综合| 91福利精品视频| 国产一区二区不卡在线| **欧美大码日韩| 日韩欧美国产综合| 成人av网站在线观看免费| 亚洲香蕉伊在人在线观| 精品久久一二三区| 91视视频在线观看入口直接观看www| 偷拍日韩校园综合在线| 国产欧美1区2区3区| 色综合欧美在线视频区| 久久国产夜色精品鲁鲁99| 国产精品久久网站| 欧美一区永久视频免费观看| 国产91色综合久久免费分享| 婷婷丁香激情综合| 国产精品免费av| 欧美精品在线观看播放| 豆国产96在线|亚洲| 日韩国产精品大片| 亚洲欧美自拍偷拍色图| 精品久久国产字幕高潮| 色999日韩国产欧美一区二区| 麻豆精品一区二区综合av| 亚洲日本乱码在线观看| 久久久青草青青国产亚洲免观| 欧美系列日韩一区| 国产乱码精品一区二区三区av| 亚洲精品视频一区二区| 欧美精品一区男女天堂| 欧美一区二区视频观看视频| 91玉足脚交白嫩脚丫在线播放| 激情综合网天天干| 日韩精品成人一区二区在线| 亚洲另类春色校园小说| 国产欧美一区视频| 精品美女在线播放| 日韩亚洲欧美中文三级| 欧美精品一级二级三级| 欧美在线影院一区二区| 成人黄色一级视频| 国产成人丝袜美腿| 精品一区二区三区久久久| 五月天视频一区| 夜夜精品视频一区二区| 中文字幕一区二区三区四区不卡| 欧美精品一区二| 91精品国产综合久久福利软件| 欧美伊人久久大香线蕉综合69| 成人久久视频在线观看| 国产精品一线二线三线| 精品在线观看免费| 久久爱www久久做| 日本中文字幕不卡| 日韩av一区二区三区| 丝瓜av网站精品一区二区 | 欧美丝袜丝交足nylons| 色婷婷久久久久swag精品| 91网站在线观看视频| 91一区二区三区在线播放| 91蜜桃免费观看视频| 91麻豆国产福利精品| 91精品福利视频| 欧美私模裸体表演在线观看| 欧美日韩精品一区二区天天拍小说| 欧美吻胸吃奶大尺度电影 | 成人一区二区三区| www.色综合.com| 色婷婷综合激情| 欧美猛男gaygay网站| 日韩一级片在线观看| 精品少妇一区二区三区视频免付费| 欧美一级黄色大片| 国产香蕉久久精品综合网| 日本一区二区不卡视频| 亚洲人成精品久久久久| 亚洲成人资源在线| 久久精品国产亚洲高清剧情介绍 | 亚洲成av人**亚洲成av**| 国产一区二区三区香蕉| 国产精品自拍一区| eeuss鲁片一区二区三区在线观看| 色婷婷精品久久二区二区蜜臀av| 欧美日本一道本在线视频| 欧美乱熟臀69xxxxxx| 亚洲精品一区二区三区蜜桃下载 | 91精品国产综合久久福利| 欧美mv日韩mv亚洲| 欧美国产一区视频在线观看| 国产精品久久久久久久久免费桃花| 亚洲一级在线观看| 久久爱另类一区二区小说| 国产电影一区在线| 91国产成人在线| 欧美精品一区二区三区很污很色的| 国产精品三级av| 青青草成人在线观看| 成人avav在线| 欧美xxxxx牲另类人与| 亚洲精品国产第一综合99久久| 免费在线观看视频一区| 波多野洁衣一区| 日韩欧美国产一二三区| 亚洲精品老司机| 国内精品久久久久影院色| 91毛片在线观看| 欧美成人国产一区二区| 亚洲一级二级三级在线免费观看| 久草在线在线精品观看| 色欧美88888久久久久久影院| 日韩一区二区电影| 亚洲国产你懂的| 成人爱爱电影网址| 久久久久久黄色| 日本午夜精品视频在线观看| 不卡一区在线观看| 精品国产免费一区二区三区四区| 夜夜嗨av一区二区三区网页| 国产91在线观看| 精品国产一区久久| 日韩福利视频导航| 91在线视频18| 国产精品美女久久久久久久久 | 日韩欧美国产电影| 亚洲永久免费av| 日韩免费在线观看| 亚洲综合色在线| 91久久精品一区二区三区| 亚洲欧美综合色| 99精品视频免费在线观看| 久久精品在这里| 国产麻豆精品一区二区| 精品国产乱码久久久久久牛牛| 婷婷夜色潮精品综合在线| 欧美午夜一区二区| 亚洲免费在线电影| 99精品久久久久久| 亚洲图片你懂的| av在线综合网| 亚洲欧美色一区| eeuss鲁片一区二区三区在线观看| 国产欧美综合在线观看第十页|