📄 classlink.js
字号:
if(window.location.href.indexOf("/catalog/")!=-1)
{
var strs =window.location.href.split("/");
for (i = 0; i < strs.length; i++){if(strs[i]=="catalog"){theregionid=strs[i+1];}}
}
if(window.location.href.indexOf("regionid=")!=-1)
{
var strs = window.location.href.substring(window.location.href.indexOf("?")+1).split("&");
for(var i=0;i<strs.length;i++){
if(strs[i].indexOf("regionid")!=-1)
theregionid=strs[i].substring(strs[i].indexOf("=")+1);
}
}
if(document.getElementById("thelp_regionid"))
{
for(i = 0; i < thelp_regionid.length; i++){if(thelp_regionid.options[i].value==theregionid){thelp_regionid.options[i].selected=true;}}
}
function writelist(a){for(i=0; i<=thestr[a].length-2; i=i+2){document.write("<li><a href="+httlink+"catalog/"+theregionid+"/"+thestr[a][i]
+"/index.shtml>·"+thestr[a][i+1]+"</a></li>");}}
function thelp_selectRegion(lt_obj){var thelp_innerstr=pricetd.innerHTML;
with(lt_obj){while(thelp_innerstr.indexOf("/"+theregionid+"/")>0)
{thelp_innerstr=thelp_innerstr.replace("/"+theregionid+"/","/"+thelp_regionid.value+"/");}
theregionid=thelp_regionid.value;}pricetd.innerHTML=thelp_innerstr;}
function theshows(i){
document.getElementById("listL"+i).style.visibility='visible';
document.getElementById("ab"+i).style.backgroundColor=ovcolor;
}
function thehides(i){
document.getElementById("listL"+i).style.visibility='hidden';
document.getElementById("ab"+i).style.backgroundColor='';
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -