📄 getlocation.js
字号:
function SetNavStatus()
{
if (document.all.NavType.value==0)
{document.all.NavWord.style.display="";
document.all.NavPic.style.display="none";}
else
{
document.all.NavWord.style.display="none";
document.all.NavPic.style.display="";}
}
function InsertScriptFun(Obj)
{ if (document.myform.LabelName.value=='')
{
alert('请输入标签名称');
document.myform.LabelName.focus();
return false
}
if (document.myform.StartTag.value=='')
{
alert('请输入位置导航的开始标志');
document.myform.StartTag.focus();
return false
}
var StartTag='"'+document.myform.StartTag.value+'"';
var Bold=false;
var OpenType='"'+document.myform.OpenType.value+'"';
var Nav,NavType=document.myform.NavType.value;
var TitleCss='"'+document.myform.TitleCss.value+'"';
if (document.myform.Bold.checked) Bold=true;
if (NavType==0) Nav='"'+document.myform.TxtNavi.value+'"'
else Nav='"'+document.myform.NaviPic.value+'"';
document.myform.LabelContent.value= '{$GetLocation('+Bold+','+StartTag+','+NavType+','+Nav+','+OpenType+','+TitleCss+')}';
document.myform.submit();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -