topmenu.htm

来自「飞利浦D12USB通信接口芯片的开发套件,包括使用手册,电路图等.」· HTM 代码 · 共 34 行

HTM
34
字号
var specialnavigation = false;var specialsub;var topmenu = new Array;topmenu['78']=new Array;topmenu['78'][0]=new Array("News Center","/news/",'120');topmenu['78'][1]=new Array("Markets","/markets/",'419');topmenu['78'][2]=new Array("Key Technologies","/technologies/",'420');topmenu['78'][3]=new Array("Products","/products/",'114');topmenu['78'][4]=new Array("Platforms","/platforms/",'421');topmenu['78'][5]=new Array("Jobs","/jobs/",'92');topmenu['78'][6]=new Array("Company Profile","/profile/",'84');	menusLength = 7;	if (document.formUrl) {		previewmenuUrl = this.location.hostname + formUrl; // import from perl !!!	} else {		previewmenuUrl ='';	}	for (var i=0; i<menusLength; i++) {		menuLocation = this.location.hostname + topmenu['78'][i][1];		if (this.location.href.indexOf(menuLocation) != -1 || previewmenuUrl.indexOf(menuLocation) != -1) {			if ((i != 1) || (this.location.href == "http://" + this.location.hostname + "/markets/")) {					specialnavigation = true;					specialsub = i;			}			document.write(' <a class="yellowred" id="' + topmenu['78'][i][0] + '" href="' + topmenu['78'][i][1] + '">' + topmenu['78'][i][0] + '</a> |');		} else {			document.write(' <a class="yellow" id="' + topmenu['78'][i][0] + '" href="' + topmenu['78'][i][1] + '">' + topmenu['78'][i][0] + '</a> |');		}	}	if ((this.location.href.indexOf('career') != -1 )&&(this.location.href.indexOf('my') == -1 )) {		specialnavigation = true;		specialsub = 5;	}//

⌨️ 快捷键说明

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