?? getdownloadlist.js
字號(hào):
function SetStatus(Obj)
{
if (Obj.value=='0')
{
document.all.MoreLinkArea.style.display="";
}
else
document.all.MoreLinkArea.style.display="none";
}
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 SetMoreLinkStatus()
{
if (document.all.MoreLinkType.value==0)
{document.all.LinkWord.style.display="";
document.all.LinkPic.style.display="none";}
else
{
document.all.LinkWord.style.display="none";
document.all.LinkPic.style.display="";}
}
function SetLabelFlag(Obj)
{
if (Obj.value=='-1')
document.myform.LabelFlag.value=1;
else
document.myform.LabelFlag.value=0;
}
function InsertScriptFun()
{ if (document.myform.LabelName.value=='')
{
alert('請(qǐng)輸入標(biāo)簽名稱');
document.myform.LabelName.focus();
return false
}
// if (document.myform.ClassList.value=='0')
// {
// alert('請(qǐng)選擇下載欄目');
// document.myform.ClassList.focus();
// return false
// }
var ClassList=document.myform.ClassList.value;
var IncludeSubClass=false,NavType=1;
var ShowClassName,DownLoadProperty;
var ShowStyle=document.all.ShowStyle.value;
var OpenType=document.all.OpenType.value;
var DownLoadListNumber=document.myform.DownLoadListNumber.value;
var RowHeight=document.myform.RowHeight.value;
var TitleLen=document.myform.TitleLen.value;
var DownLoadSort='"'+document.myform.DownLoadSort.value+'"';
var ColNumber=document.myform.ColNumber.value;
var Nav,NavType=document.myform.NavType.value;
var MoreLink,MoreLinkType=document.myform.MoreLinkType.value;
var SplitPic='"'+document.myform.SplitPic.value+'"';
var DateRule=document.myform.DateRule.value;
var DateAlign='"'+document.myform.DateAlign.value+'"';
var TitleCss='"'+document.myform.TitleCss.value+'"';
var DateCss='"'+document.myform.DateCss.value+'"';
if (document.myform.IncludeSubClass.checked) IncludeSubClass=true;
for (var i=0;i<document.myform.ShowClassName.length;i++){
var KM = document.myform.ShowClassName[i];
if (KM.checked==true)
ShowClassName = KM.value
}
for (var i=0;i<document.myform.DownLoadProperty.length;i++){
var KM = document.myform.DownLoadProperty[i];
if (KM.checked==true)
DownLoadProperty = KM.value
}
if (DownLoadListNumber=='') DownLoadListNumber=10;
if (RowHeight=='') RowHeight=20
if (TitleLen=='') TitleLen=30;
if (ColNumber=='') ColNumber=1;
if (NavType==0) Nav='"'+document.myform.TxtNavi.value+'"'
else Nav='"'+document.myform.NaviPic.value+'"';
if (MoreLinkType==0) MoreLink='"'+document.myform.MoreLinkWord.value+'"'
else MoreLink='"'+document.myform.MoreLinkPic.value+'"';
document.myform.LabelContent.value= '{$GetDownLoadList("'+ClassList+'",'+IncludeSubClass+','+ShowClassName+','+OpenType+','+DownLoadProperty+','+DownLoadListNumber+','+RowHeight+','+TitleLen+','+DownLoadSort+','+ColNumber+','+ShowStyle+','+NavType+','+Nav+','+MoreLinkType+','+MoreLink+','+SplitPic+','+DateRule+','+DateAlign+','+TitleCss+','+DateCss+')}';
document.myform.submit();
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -