📄 general.htm
字号:
//do nothing function doNothing() { //Nothing } //Layers function showLayer(theLayer) { if (is.ie4up) document.all[theLayer].style.visibility = 'visible'; if (is.nav4up) document.layers[theLayer].visibility = 'visible'; } function hideLayer(theLayer) { if (is.ie4up) document.all[theLayer].style.visibility = 'hidden'; if (is.nav4up) document.layers[theLayer].visibility = 'hidden'; }//Pop-up window //Example: popWin('somepage.html','somepage',400,500,'auto'); //theUrl, theName: as strings //theWidth, theHeight: in pixels //theScrolling: 'yes', 'no' or 'auto' function popWin(theUrl,theName,theWidth,theHeight,theScrolling) { var opts="" ; opts="'left=50,top=50,screenX=50,screenY=50,width="+theWidth+",height="+theHeight+",menubar=no,location=no,resizable=yes,scrollbars="+theScrolling+",status=1'" ; PopUP=window.open(theUrl,theName,opts); PopUP.focus(); }//ImageSwap //Usage: <a href="somewhere" onmouseover="switchThingy('img7','on7')" onmouseout="SwitchThingy('img7','off7')"><img name="img7" id="img7" src="someimage.gif" width="128" height="24" border="0" alt="" /></a> //Images should be preloaded! function switchThingy(imgDocID,imgObjName) { document.images[imgDocID].src = eval(imgObjName + ".src"); }// for use of i selection toolsvar gWfunction showGuide(theClass,isStatic) { gW=window.open('/selectionguides/'+(isStatic?'tables/':'guides/?')+theClass+(isStatic?'.html':''),'gW','left=100,top=50,screenX=100,screenY=50,width=780,height=500,menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=1') gW.focus()}var lWfunction showParamSearch(theFAM) { lW=window.open('','lW','left=0,top=0,screenX=0,screenY=0,width=780,height=520,resizable,scrollbars') lW.location.href="http://stepsearch.semiconductors.philips.com/philips-ps/ss.asp?FAM="+theFAM lW.focus()}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -