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

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

?? spmenu.js

?? 一種Portal的實現源碼
?? JS
?? 第 1 頁 / 共 4 頁
字號:

		var oMenu = spm_getById("tbl" + sID);
    //var oMenu = spm_getById("td" + sID);

		if (oMenu != null)
		{
			if (oMenu.style.display == '')
			{
				this.hideAllMenus();		
				spm_showElement("SELECT");
			}
			else
			{
				spm_positionMenu(this, oMenu, oCell);
				
				this.doTransition(oMenu);
				oMenu.style.display = "";
				this._m_aOpenMenuID[0] = sID;
				spm_hideElement("SELECT",oMenu);
			}
		}
		
    this.fireEvent('onMenuBarClick', oCell);
    
    oMenu = spm_getById("td" + sID);
    if (spm_getAttr(oMenu, "menuclick", '').length)
    {
      eval(spm_getAttr(oMenu, "menuclick", ''));
      this.hideAllMenus();
    }
		spm_stopEventBubbling(evt);
	}
	
  //--- menubar mousedown event ---//
	SolpartMenu.prototype.onMBMD = function (e)
	{
		var oCell = e; //event.srcElement;
		this.applyBorder(oCell, 1, this.shColor, this.hlColor);
	}
  
  //--- menubar mouseup event ---//
	SolpartMenu.prototype.onMBMU = function (e)
	{
		var oCell = e; //event.srcElement;
		this.applyBorder(oCell, 1, this.hlColor, this.shColor);
	}
  
  //--- menubar mouseover event ---//
	SolpartMenu.prototype.onMBMO = function (e)
	{
		var oCell = e; //event.srcElement;
		
		if (oCell.id.length == 0) //cancelBubble
		  return;
		var sID = oCell.id.substr(2);
		var oMenu = spm_getById("tbl" + sID);

		if (this._m_aOpenMenuID.length || this.moExpand != '0')
		{
			//--- if menu is shown then mouseover triggers the showing of all menus ---//
			this.hideAllMenus();

			if (oMenu != null)
			{
				spm_positionMenu(this, oMenu, oCell);
				this.doTransition(oMenu);
				oMenu.style.display = "";
				this._m_aOpenMenuID[0] = sID;
				spm_hideElement("SELECT",oMenu);
			}
			this.applyBorder(oCell, 1, this.shColor, this.hlColor);
		}
		else
		{
			this.applyBorder(oCell, 1, this.hlColor, this.shColor);
		}
		oCell.className =  spm_fixCSSForMac(this.getIntCSSName('spmitmsel spmbar') + this.cssMenuBar + ' ' + this.cssMenuItemSel);
		
		this._m_dHideTimer = null;
		
		this.fireEvent('onMenuBarMouseOver', oCell);
		
	}
  //--- menubar mouseout event ---//
	SolpartMenu.prototype.onMBMOUT = function (e)
	{
		var oCell = e; //event.srcElement;
		var sID = oCell.id.substr(2);
		this.applyBorder(oCell, 1, spm_getCellBackColor(oCell), spm_getCellBackColor(oCell), "none");	
		this._m_dHideTimer = new Date();
		//setTimeout(this.hideMenuTime, this.moutDelay);
		if (this.moutDelay != 0)
		  setTimeout('m_oSolpartMenu["' + this._m_sNSpace + '"].hideMenuTime()', this.moutDelay);
		  
    oCell.className = spm_fixCSSForMac(this.getIntCSSName('spmbar spmitm') + this.cssMenuBar + ' ' + this.cssMenuItem + spm_getAttr(e, 'savecss', ''));
    this.stopTransition();
    
    this.fireEvent('onMenuBarMouseOut', oCell);
	}
	
  //--- menuitem click ---//
	SolpartMenu.prototype.onMBIC = function (e, evt)
	{
		var oRow = spm_getSourceTR(e, this._m_sNSpace);  //event.srcElement
		var sID = oRow.id.substr(2);
		if (spm_itemHasChildren(sID, this._m_sNSpace) == false)
			this.hideAllMenus();

		this.fireEvent('onMenuItemClick', oRow);

    if (spm_getAttr(oRow, "menuclick", '').length)
    {
      eval(spm_getAttr(oRow, "menuclick", ''));
      this.hideAllMenus();
		}
		//window.event.cancelBubble = true;
		spm_stopEventBubbling(evt);
	}

  //--- menuitem mouseover event ---//
	SolpartMenu.prototype.onMBIMO = function (e)
	{		
		this.handlembi_mo(spm_getSourceTR(e, this._m_sNSpace)); //event.srcElement
		this._m_dHideTimer = null;
	}
  //--- menuitem mouseout event ---//
	SolpartMenu.prototype.onMBIMOUT = function (e)
	{	
		this.handlembi_mout(spm_getSourceTR(e, this._m_sNSpace));  //event.srcElement
		this._m_dHideTimer = new Date;
		//setTimeout(this.hideMenuTime, this.moutDelay);
		if (this.moutDelay != 0)
		  setTimeout('m_oSolpartMenu["' + this._m_sNSpace + '"].hideMenuTime()', this.moutDelay);
	}
	
/*
	function menuhook_KeyPress()
	{
    //not yet
	}
	function menuhook_KeyDown()
	{
    //not yet
	}
	
	function menuhook_MenuFocus()
	{
		var tbl = event.srcElement;
		mb_c(tbl.rows[0].cells[0]);
	}
*/
/*	
	function __menuhook_MouseMove(e) 
	{
		var iNewLeft=0, iNewTop = 0

if (this._m_bMoving)
{
			if (spm_browserType() == 'ie')
			{
//		if ((event.button==1)) 
//		{
			  this.hideAllMenus();
			  if (this._m_oTblMenuBar.startLeft == null)
				  this._m_oTblMenuBar.startLeft = this._m_oTblMenuBar.offsetLeft;
			  iNewLeft=event.clientX - this._m_oTblMenuBar.startLeft - 3;
			  this._m_oTblMenuBar.style.pixelLeft= iNewLeft;
			  if (this._m_oTblMenuBar.startTop == null)
				  this._m_oTblMenuBar.startTop = this._m_oTblMenuBar.offsetTop;
			  iNewTop=event.clientY - this._m_oTblMenuBar.startTop;
			  this._m_oTblMenuBar.style.pixelTop = iNewTop - 10;
			  event.returnValue = false
			  event.cancelBubble = true
//      }
		}
    else
    {
			this.hideAllMenus();
  		
			if (this._m_oTblMenuBar.startLeft == null)
				this._m_oTblMenuBar.startLeft = this._m_oTblMenuBar.offsetLeft;

			iNewLeft=e.clientX - this._m_oTblMenuBar.startLeft - 3;
  		    
			//if (iNewLeft<0) 
			//	iNewLeft=0;
  		
			this._m_oTblMenuBar.style.left = iNewLeft;
  					    
			if (this._m_oTblMenuBar.startTop == null)
				this._m_oTblMenuBar.startTop = this._m_oTblMenuBar.offsetTop;

			iNewTop=e.clientY - this._m_oTblMenuBar.startTop;
			//if (iNewTop<0) 
			//	iNewTop=0;
  			
			this._m_oTblMenuBar.style.top = iNewTop - 10;    
    }
}

	}
	function __menuhook_MouseDown()
	{
		this._m_bMoving = true;
	}
	function __menuhook_MouseUp()
	{
	  this._m_bMoving = false;
	}
	function __document_MouseMove(e)
	{
		if (this._m_bMoving)
		{
			this.menuhook_MouseMove(e);
	  }
	}
	function __document_MouseDown()
	{
		//this._m_bMoving = null;
	}
	function __document_MouseUp()
	{
		this._m_bMoving=false;
	}
*/

	SolpartMenu.prototype.bodyclick = function()
	{
		this.hideAllMenus();
	}

  //--- handles display of newly opened menu ---//
	SolpartMenu.prototype.handleNewItemSelect = function (sID)
	{
		var i;
		var iNewLength=-1;
		var bDeleteRest=false; 
		for (i=0; i<this._m_aOpenMenuID.length; i++)
		{		
			if (bDeleteRest)
				spm_getById("tbl" + this._m_aOpenMenuID[i]).style.display = "none";
			if (this._m_aOpenMenuID[i] == this._m_sNSpace + sID)
			{
				bDeleteRest=true;
				iNewLength = i;
			}				
		}
		if (iNewLength != -1)
			this._m_aOpenMenuID.length = iNewLength+1;
	}
	
  //--- hides all menus that are currently displayed ---//
	SolpartMenu.prototype.hideAllMenus = function ()
	{
		var i;
		for (i=0; i<this._m_aOpenMenuID.length; i++)
		{		
			spm_getById("tbl" + this._m_aOpenMenuID[i]).style.display = "none";
		}
		this._m_aOpenMenuID.length = 0;
		spm_showElement("SELECT");
	}		
  
  
  function SolpartMenuTransitionObject()
  {
    this.id=null;
    this.stop = false;
  } 

  //--- stops menu transition effect ---//
  SolpartMenu.prototype.stopTransition = function ()
  {
    this.SolpartMenuTransitionObject.stop = true;
    this.doFilter();
    this.SolpartMenuTransitionObject = new SolpartMenuTransitionObject();
  }
  
  //--- starts menu transition effect ---//
  SolpartMenu.prototype.doTransition = function (oMenu)
  {
    if (this.menuTransition == 'None' || spm_browserType() != 'ie')
      return;

    var sID = this.SolpartMenuTransitionObject.id;
    
    switch (this.menuTransition)
    {
      case 'AlphaFade':
      {
        if (this.SolpartMenuTransitionObject.id != oMenu.id) 
        {
          this.SolpartMenuTransitionObject.id = oMenu.id;
          this.SolpartMenuTransitionObject.opacity = 0;
          this.doFilter();
        }
        break;
      }
      case 'Wave':
      {
        if (this.SolpartMenuTransitionObject.id != oMenu.id) 
        {        
          this.SolpartMenuTransitionObject.id = oMenu.id;
          this.SolpartMenuTransitionObject.phase = 0;
          this.doFilter();
        }
        break;
      }
      case 'ConstantWave':
      {
        if (sID != oMenu.id) 
        {        
          this.SolpartMenuTransitionObject.id = oMenu.id;
          this.SolpartMenuTransitionObject.phase = 0;
          this.SolpartMenuTransitionObject.constant=true;
          this.doFilter();
        }
        break;
      }
      case 'Inset': case 'RadialWipe': case 'Slide': case 'Spiral': case 'Stretch': case 'Strips': case 'Wheel': case 'GradientWipe': case 'Zigzag': case 'Barn': case 'Blinds': case 'Checkerboard': case 'Fade': case 'Iris': case 'RandomBars':
      {
        oMenu.filters('DXImageTransform.Microsoft.' + this.menuTransition).apply();
        oMenu.filters('DXImageTransform.Microsoft.' + this.menuTransition).duration = this.menuTransitionLength;
        oMenu.filters('DXImageTransform.Microsoft.' + this.menuTransition).play();
        break;
      }
    }
  }

  //--- applys transition filter ---//
  SolpartMenu.prototype.doFilter = function (bStop) 
  {      
    if (this.SolpartMenuTransitionObject.id == null)
      return;
      
    var o = spm_getById(this.SolpartMenuTransitionObject.id);
    window.status = new Date();
    switch (this.menuTransition)
    {
      case 'AlphaFade':
      {
        if (this.SolpartMenuTransitionObject.stop)
        {
          o.filters('DXImageTransform.Microsoft.Alpha').opacity = 100;
        }
        else
        {
          o.filters('DXImageTransform.Microsoft.Alpha').opacity = this.SolpartMenuTransitionObject.opacity;
          if (this.SolpartMenuTransitionObject.opacity < 100)
          {
            setTimeout('m_oSolpartMenu["' + this._m_sNSpace + '"].doFilter()', 50);
            this.SolpartMenuTransitionObject.opacity += (100/20* this.menuTransitionLength);
          }
        }
        break;
      }
      case 'Wave': case 'ConstantWave':
      {
        if (this.SolpartMenuTransitionObject.stop)
        {
            o.filters("DXImageTransform.Microsoft.Wave").freq = 0;
            o.filters("DXImageTransform.Microsoft.Wave").lightstrength = 0;
            o.filters("DXImageTransform.Microsoft.Wave").strength = 0;
            o.filters("DXImageTransform.Microsoft.Wave").phase = 0;
        }
        else
        {
          o.filters("DXImageTransform.Microsoft.Wave").freq = 1;
          o.filters("DXImageTransform.Microsoft.Wave").lightstrength = 20;
          o.filters("DXImageTransform.Microsoft.Wave").strength = 5;
          o.filters("DXImageTransform.Microsoft.Wave").phase = this.SolpartMenuTransitionObject.phase;

          if (this.SolpartMenuTransitionObject.phase < 100 * this.menuTransitionLength || this.SolpartMenuTransitionObject.constant == true)
          {
            setTimeout('m_oSolpartMenu["' + this._m_sNSpace + '"].doFilter()', 50);
            this.SolpartMenuTransitionObject.phase += 5;
          }
          else
          {
            o.filters("DXImageTransform.Microsoft.Wave").freq = 0;
            o.filters("DXImageTransform.Microsoft.Wave").lightstrength = 0;
            o.filters("DXImageTransform.Microsoft.Wave").strength = 0;
            o.filters("DXImageTransform.Microsoft.Wave").phase = 0;
          }
        }
        break;
      }
    }
  }          
  



  //--- handles mouseover for menu item ---//
	SolpartMenu.prototype.handlembi_mo = function (oRow)
	{
		var sID = oRow.id.substr(2);
		//oRow.className = 'spmitmsel';
		spm_getById("icon" + sID).className = spm_fixCSSForMac(this.getIntCSSName('spmitmsel spmicn') + this.cssMenuIcon + ' ' + this.cssMenuItemSel);
		spm_getById("td" + sID).className = spm_fixCSSForMac(this.getIntCSSName('spmitmsel') + this.cssMenuItemSel);
		spm_getById("arrow" + sID).className = spm_fixCSSForMac(this.getIntCSSName('spmitmsel spmarw') + this.cssMenuItemSel + ' ' + this.cssMenuArrow);
		
		//oRow.style.backgroundColor = this.selColor;
		//oRow.style.color = this.selForeColor;
		//oRow.style.color = this.selForeColor;
    //setClassColor(oRow, 'spmitm', this.selForeColor);
    
		//spm_getById("icon" + sID).style.backgroundColor = this.selColor;
		spm_applyRowBorder(oRow, 1, this.selBorderColor, true);

		//if (this._m_aOpenMenuID.join(',').indexOf(oRow.id.replace('tr', '')) == -1)
		if (this._m_aOpenMenuID[this._m_aOpenMenuID.length - 1] != oRow.id.replace('tr', ''))
		{
			this.handleNewItemSelect(spm_getAttr(oRow, "parentID", ""));
		
			if (spm_getById("tbl" + sID) != null)
			{
				oMenu = spm_getById("tbl" + sID);
        //oMenu.style.position = "absolute";  //CSS FIX!				
				oMenu.style.left = spm_elementLeft(oRow) + oRow.offsetWidth;
				oMenu.style.top = spm_elementTop(oRow);
				
				this.doTransition(oMenu);

				oMenu.style.display = "";
				if (spm_elementLeft(oRow) + oRow.offsetWidth + oMenu.offsetWidth > document.body.clientWidth)
				{
					oMenu.style.left = spm_elementLeft(oRow) - oMenu.offsetWidth;
					//oMenu.style.top = spm_elementTop(oRow);					
				}

			  if (spm_elementTop(oMenu) + oMenu.offsetHeight > document.body.clientHeight)
			  {
				  oMenu.style.top = document.body.clientHeight - oMenu.offsetHeight;
			  }
				this._m_aOpenMenuID[this._m_aOpenMenuID.length] = sID;
				spm_hideElement("SELECT",oMenu);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区欧美二区| 精品国产三级a在线观看| 91啪亚洲精品| 成人av电影在线播放| 成人国产亚洲欧美成人综合网| 激情综合色播激情啊| 国产乱妇无码大片在线观看| 国产一区三区三区| 国产91丝袜在线播放九色| 国产成人99久久亚洲综合精品| 国产传媒久久文化传媒| 不卡的电影网站| 91麻豆精品在线观看| 欧美三级电影精品| 欧美一区二区三区免费视频| 精品久久人人做人人爱| 久久久久9999亚洲精品| 亚洲欧洲精品一区二区三区| 亚洲日本在线天堂| 亚洲影视在线观看| 美腿丝袜亚洲色图| 丁香六月久久综合狠狠色| 99久久精品国产一区二区三区| 91国产免费观看| 91精品国产美女浴室洗澡无遮挡| 久久综合国产精品| 亚洲图片你懂的| 五月婷婷色综合| 国产精品一区二区无线| 91热门视频在线观看| 欧美三级日韩三级| 精品日韩一区二区三区免费视频| 国产女主播一区| 亚洲综合偷拍欧美一区色| 蜜桃视频在线观看一区| 大尺度一区二区| 欧美久久久久久蜜桃| 国产欧美日韩激情| 亚洲综合久久av| 久久99久久久欧美国产| 97精品国产露脸对白| 日韩欧美在线影院| 中文字幕一区二区三区在线观看| 香蕉成人啪国产精品视频综合网| 精久久久久久久久久久| 91麻豆高清视频| 欧美电视剧免费全集观看| 中文天堂在线一区| 亚洲电影欧美电影有声小说| 国产精品一区二区三区99| 在线观看日韩国产| 国产日产欧产精品推荐色| 亚洲成国产人片在线观看| 国产麻豆视频精品| 69堂成人精品免费视频| 中文字幕一区日韩精品欧美| 久久99久国产精品黄毛片色诱| 97久久久精品综合88久久| 欧美电影免费观看高清完整版在线 | 国产精品一级黄| 欧美亚洲国产bt| 中文字幕第一页久久| 日本一不卡视频| 色婷婷综合久久久久中文一区二区 | 日本成人在线视频网站| 91香蕉视频污| 国产日韩精品一区二区三区在线| 视频在线观看一区二区三区| av一区二区三区| 久久综合久久久久88| 视频在线在亚洲| 欧美视频日韩视频在线观看| 国产精品久99| 国产成人av在线影院| 欧美tk—视频vk| 日本最新不卡在线| 欧美在线视频全部完| 中文字幕一区二区三区不卡在线| 国产真实乱偷精品视频免| 欧美一区二区人人喊爽| 亚洲成av人片| 91久久精品一区二区| 中文字幕一区二区三中文字幕| 狠狠色伊人亚洲综合成人| 91精品在线一区二区| 亚洲一区免费视频| 色婷婷久久久久swag精品| 中文字幕亚洲一区二区av在线| 国产乱人伦精品一区二区在线观看| 欧美肥胖老妇做爰| 视频在线在亚洲| 欧美肥大bbwbbw高潮| 午夜精彩视频在线观看不卡| 色婷婷av一区二区三区软件| 亚洲人成精品久久久久久| 972aa.com艺术欧美| 国产精品色在线| av在线综合网| 一区二区三区精品在线观看| 色久综合一二码| 一区二区在线观看免费| 色八戒一区二区三区| 亚洲天堂福利av| 91小视频在线免费看| 一区二区欧美国产| 一本大道av伊人久久综合| 亚洲精品免费一二三区| 在线一区二区三区做爰视频网站| 一区二区在线观看不卡| 欧美在线你懂得| 午夜精品一区二区三区电影天堂| 欧美男生操女生| 久久成人综合网| 国产亚洲成年网址在线观看| 国v精品久久久网| 亚洲另类在线制服丝袜| 欧美午夜寂寞影院| 欧美aⅴ一区二区三区视频| 精品久久久久久久久久久久包黑料| 蜜臀国产一区二区三区在线播放 | 亚洲国产精品一区二区www | 91麻豆精品国产91久久久| 另类专区欧美蜜桃臀第一页| 欧美变态tickling挠脚心| 国产麻豆欧美日韩一区| 亚洲丝袜另类动漫二区| 欧美伊人久久久久久久久影院 | jiyouzz国产精品久久| 亚洲乱码国产乱码精品精小说 | 色综合av在线| 日韩福利电影在线观看| 欧美成人一区二区三区在线观看| 国产精品一区二区男女羞羞无遮挡 | 亚洲同性同志一二三专区| 欧美性一二三区| 另类调教123区| 国产精品另类一区| 欧美日韩免费一区二区三区视频| 开心九九激情九九欧美日韩精美视频电影 | 国产呦萝稀缺另类资源| 国产精品国模大尺度视频| 欧美视频在线观看一区二区| 久久99国产精品久久99 | 免费的国产精品| 国产精品免费视频网站| 欧美日韩你懂的| 国产aⅴ综合色| 亚洲最新在线观看| 精品999在线播放| 色94色欧美sute亚洲线路二 | 91丨九色丨蝌蚪富婆spa| 三级成人在线视频| 国产精品美女一区二区三区| 欧美天天综合网| 国产精品456露脸| 天堂一区二区在线| 国产精品久久看| 日韩一区二区三区观看| 99re这里只有精品6| 加勒比av一区二区| 亚洲一区二区三区中文字幕 | 久久99在线观看| 一区二区三区日韩精品视频| 久久综合国产精品| 欧美日韩精品一区二区| 波多野结衣视频一区| 另类调教123区| 五月天欧美精品| 亚洲欧美一区二区久久| 久久亚洲影视婷婷| 在线电影院国产精品| 91一区一区三区| 国产成人免费在线视频| 日本在线不卡视频一二三区| 亚洲女同一区二区| 欧美高清一级片在线观看| 日韩精品一区二区三区在线播放 | 亚洲一区在线观看视频| 亚洲欧洲美洲综合色网| 久久久久久久综合| 欧美亚洲国产一区二区三区| 91丨porny丨国产| 成人伦理片在线| 福利一区二区在线| 国产一区久久久| 精品一区二区三区久久久| 无码av中文一区二区三区桃花岛| 亚洲男同1069视频| 成人免费在线播放视频| 欧美激情一区在线观看| 久久精品人人做人人爽人人| 精品少妇一区二区三区日产乱码 | 欧美一区二区大片| 欧美日韩国产在线观看| 在线免费观看一区| 色综合咪咪久久| 972aa.com艺术欧美| 99vv1com这只有精品| 成人激情电影免费在线观看| 国产成人精品一区二区三区四区 |