⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frame_navigatorbar.asp

📁 易方4.0程序+邮局接口+序列号+销售系统
💻 ASP
📖 第 1 页 / 共 3 页
字号:
<!-- #include file="../inc_config.asp" -->
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	<meta name="Module" content="">
	<Script Language="JavaScript">
	<!--
	
	//function killErrors() {
	//        return true;
		//}
	//window.onerror = killErrors;
	
		var aCssColor = new Array( 3 ) ;
		aCssColor [ 0 ] = "normal" ;
		aCssColor [ 1 ] = "blue" ;
		aCssColor [ 2 ] = "green" ;
		function vfnWorkAreaInbox ( strURL )
		{
			document.parentWindow.parent.contentarea.document.all.workingareaframe.src = strURL ;
		}
		///////////////////////////////////////////////////////////////////////
		// Global variables declaration segment                           //
		///////////////////////////////////////////////////////////////////////
		// Global enviorenment variables setup
		var doc = document ;
		var IsNS4 = ( doc.layers ) ? true : false ;
		var IsIE4 = ( doc.all ) ? true : false ;
		var FirstIndex = 0 ;

		var imgBtn1Color = new Image ( ) ;
		var imgBtn2Color = new Image ( ) ;
		var imgBtn3Color = new Image ( ) ;
		var imgBtn4Color = new Image ( ) ;
		var imgBtn1Gray = new Image ( ) ;
		var imgBtn2Gray = new Image ( ) ;
		var imgBtn3Gray = new Image ( ) ;
		var imgBtn4Gray = new Image ( ) ;
		var imgBookOpen = new Image ( ) ;
		var imgBookClose = new Image ( ) ;

		imgBtn1Color.src = "images/buttonicon_manage.gif" ;
		imgBtn2Color.src = "images/buttonicon_personal.gif" ;
		imgBtn3Color.src = "images/buttonicon_setup.gif" ;
		imgBtn4Color.src = "images/buttonicon_help.gif" ;
		imgBtn1Gray.src = "images/buttonicon_manageg.gif" ;
		imgBtn2Gray.src = "images/buttonicon_personalg.gif" ;
		imgBtn3Gray.src = "images/buttonicon_setupg.gif" ;
		imgBtn4Gray.src = "images/buttonicon_helpg.gif" ;
		imgBookOpen.src = "images/navigator_helpo.gif" ;
		imgBookClose.src = "images/navigator_helpc.gif" ;

		///////////////////////////////////////////////////////////////////////
		// Function declaration segment                                   //
		///////////////////////////////////////////////////////////////////////

		function getIndex ( el )
		{   //for NS4
			for ( i = 0 ; i < doc.layers.length ; i ++ )
			{
				if ( doc.layers [ i ].id == el )
				{
					break ;
				}
			}

			return i ;
		}

		function showAll ( )
		{   //for NS4
			for ( i = FirstIndex ; i < doc.layers.length ; i ++ )
			{
				doc.layers [ i ].visibility = "show" ;
			}
		}


		function expand ( el )
		{
			if ( IsIE4 )
			{
				expandIE ( el ) ;
			}
			else
			{
				expandNS ( el ) ;
			}
		}


		function expandIE ( el )
		{
			var Obj = eval ( "el" + el + "Child" ) ;
			var whichEl = ( event ) ? event.srcElement : false ;

			if ( ! whichEl.name )
			{
				whichEl = eval ( "document.all.img" + el ) ;
			}
			if ( Obj.style.display == "none" )
			{
				Obj.style.display = "block" ;
				//whichEl.src = imgOpen.src ;
			}
			else
			{
				Obj.style.display = "none" ;
				//whichEl.src = imgClose.src ;
			}

			if ( event )
			{
				window.event.cancelBubble = true ;
			}
			return( true ) ;
		}

		function expandNS ( el )
		{   //for NS4
			var Obj = eval ( "document.el" + el + "Child" ) ;
			var whichEl = eval ( "document.el" + el + "Parent.document.images['img" + el + "']" ) ;

			if ( Obj.visibility == "hide" )
			{
				Obj.visibility = "show" ;
				//whichEl.src = imgOpen.src ;
			}
			else
			{
				Obj.visibility = "hide" ;
				//whichEl.src = imgClose.src ;
			}

			arrange ( ) ;
		}

		function arrange ( )
		{   //for NS4
			if ( doc.layers.length == 0 )
			{
				return ;
			}

			var nextY = doc.layers [ FirstIndex ].pageY + doc.layers [ FirstIndex ].document.height ;

			for ( i = FirstIndex + 1 ; i < doc.layers.length ; i ++ )
			{
				var Obj = doc.layers [ i ] ;
				if ( Obj.visibility != "hide" )
				{
					Obj.pageY = nextY ;
					nextY += Obj.document.height ;
				}
			}
		}

		function expandAll ( isBot , toExpand )
		{
			//var newSrc = ( toExpand ) ? imgOpen.src : imgClose.src ;
			if ( IsNS4 )
			{
				// Maybe have some problem
				for ( i = FirstIndex ; i < doc.layers.length ; i ++ )
				{
					var Obj = doc.layers [ i ] ;
					if ( Obj.id.indexOf ( "Parent" ) != -1 )
					{
						Obj.document.images [ "imEx" ].src = newSrc ;
					}
					if ( Obj.id.indexOf ( "Child" ) != -1 )
					{
						Obj.visibility = ( toExpand ) ? "show" : "hide" ;
					}
				}

				arrange ( ) ;
				if ( isBot && ! toExpand )
				{
					scrollTo ( 0 , doc.layers [ FirstIndex ].pageY ) ;
				}
			}
			else
			{
				var divColl = doc.all.tags ( "DIV" ) ;
				for ( i = 0 ; i < divColl.length ; i ++ )
				{
					if ( divColl ( i ).className == "child" )
					{
						divColl ( i ).style.display = ( toExpand ) ? "block" : "none" ;
					}
				}
				var imColl = doc.images ;
				/*
				for ( i = 1 ; i < imColl.length - 4 ; i ++ )
				{
					imColl(i).src = newSrc ;
				}
				*/
			}
		}

		function init ( )
		{
			if ( IsNS4 )
			{
				FirstIndex = getIndex ( "el1Parent" ) ;
				showAll ( ) ;
				for ( i = 0 ; i < doc.layers.length - 6 ; i ++ )
				{
					var Obj = doc.layers [ i ] ;
					if ( Obj.id.indexOf ( "Child" ) != -1 )
					{
						Obj.visibility = "hide" ;
					}
				}

				arrange ( ) ;
			}
			else
			{
				var tempColl = doc.all.tags ( "DIV" ) ;
				for ( i = 0 ; i < tempColl.length - 6 ; i ++ )
				{
					if ( tempColl ( i ).className == "child" )
					{
						tempColl ( i ).style.display = "none" ;
					}
				}
			}
		}

		function fn_ShowExtApp ( strAppName )
		{
			form_ShowExtApp.target = strAppName ;
			form_ShowExtApp.application_name.value = strAppName ;
			fn_OpenNewWindow ( "#nowhere" , strAppName ) ;
			form_ShowExtApp.submit() ;
		}

		function fn_OpenNewWindow ( strUrl , strName )
		{
			window.open( strUrl , strName , "height=400,width=600,status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes" ) ;
		}

		function fn_BtnOver ( nBtnID )
		{
			objBtnArea = eval ( "buttonarea" + nBtnID ) ;
			objBtnImage = eval ( "buttonimage" + nBtnID ) ;
			imgBtnColor = eval ( "imgBtn" + nBtnID + "Color" ) ;
			imgBtnGray = eval ( "imgBtn" + nBtnID + "Gray" ) ;

			objBtnArea.className = "MenuButton" ;
			objBtnImage.src = imgBtnColor.src ;
		}

		function fn_BtnOut ( nBtnID )
		{
			objBtnArea = eval ( "buttonarea" + nBtnID ) ;
			objBtnImage = eval ( "buttonimage" + nBtnID ) ;
			imgBtnColor = eval ( "imgBtn" + nBtnID + "Color" ) ;
			imgBtnGray = eval ( "imgBtn" + nBtnID + "Gray" ) ;

			objBtnArea.className = "MenuButton" ;
			objBtnImage.src = imgBtnGray.src ;
		}

		function fn_BtnDown ( nBtnID )
		{
			objBtnArea = eval ( "buttonarea" + nBtnID ) ;
			objBtnImage = eval ( "buttonimage" + nBtnID ) ;
			imgBtnColor = eval ( "imgBtn" + nBtnID + "Color" ) ;
			imgBtnGray = eval ( "imgBtn" + nBtnID + "Gray" ) ;

			objBtnArea.className = "MenuButtonDown" ;
			objBtnImage.src = imgBtnColor.src ;
		}

		function fn_ExpandHelp ( oThis )
		{
			var oDivs = document.all.tags( "DIV" ) ;
			var oThisChildren = oThis.children ;
			var oItems ;
			for ( var i = 0 ; i < oDivs.length ; i++ )
			{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -