⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 createlabel_list.aspx

📁 最好用的站点内容管理系统 全部源代码都有
💻 ASPX
📖 第 1 页 / 共 3 页
字号:
                <asp:ListItem Value="">滚动方向</asp:ListItem>
                <asp:ListItem Value="up">上</asp:ListItem>
                <asp:ListItem Value="down">下</asp:ListItem>
                <asp:ListItem Value="left">左</asp:ListItem>
                <asp:ListItem Value="right">右</asp:ListItem>
              </asp:DropDownList></td>
          </tr>
          <tr class="TR_BG_list" id="TrMarqSpeed" style="display:none;">
            <td align="right" class="navi_link" style="width:105px">滚动速度</td>
            <td align="left" class="navi_link">
                <asp:TextBox ID="MarqSpeed" runat="server" CssClass="form" Width="190px"></asp:TextBox><span id="sapnMarqSpeed"></span></td>
          </tr>
          <tr class="TR_BG_list" id="TrMarqwidth" style="display:none;">
            <td align="right" class="navi_link" style="width:105px">宽度</td>
            <td align="left" class="navi_link">
                <asp:TextBox ID="Marqwidth" runat="server" CssClass="form" Width="190px"></asp:TextBox><span id="sapnMarqwidth"></span></td>
          </tr>
          <tr class="TR_BG_list" id="TrMarqheight" style="display:none;">
            <td align="right" class="navi_link" style="width:105px">高度</td>
            <td align="left" class="navi_link">
                <asp:TextBox ID="Marqheight" runat="server" CssClass="form" Width="190px"></asp:TextBox><span id="sapnMarqheight"></span></td>
          </tr>
          
          <tr class="TR_BG_list" id="TrSubNaviCSS" style="display:none;">
            <td align="right" class="navi_link" style="width:105px">副新闻导航文字或图片</td>
            <td align="left" class="navi_link">
            <asp:TextBox ID="SubNaviCSS" runat="server" CssClass="form" Width="190px" />
            <img src="../../sysImages/folder/s.gif" style="cursor:pointer;" title="选择图片"  onclick="selectFile('pic',document.ListLabel.SubNaviCSS,380,400);document.ListLabel.SubNaviCSS.focus();" />
            </td>
          </tr>
          
          <tr class="TR_BG_list">
            <td align="right" class="navi_link" style="width:105px">调用图片</td>
            <td align="left" class="navi_link">
            <asp:DropDownList ID="isPic" runat="server" CssClass="form" Width="100px">
                <asp:ListItem Value="">是否调用</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
                <asp:ListItem Value="false">否</asp:ListItem>
              </asp:DropDownList>
               排列方式
                <asp:DropDownList ID="DescType" runat="server" CssClass="form" Width="100px">
                <asp:ListItem Value="">排序方式</asp:ListItem>
                <asp:ListItem Value="id">自动编号</asp:ListItem>
                <asp:ListItem Value="date">添加日期</asp:ListItem>
                <asp:ListItem Value="click">点击次数</asp:ListItem>
                <asp:ListItem Value="pop">权重</asp:ListItem>
                <asp:ListItem Value="digg">digg(顶客)</asp:ListItem>
              </asp:DropDownList>    
                排序顺序
                <asp:DropDownList ID="Desc" runat="server" CssClass="form" Width="100px">
                <asp:ListItem Value="">排序顺序</asp:ListItem>
                <asp:ListItem Value="desc">desc(降序)</asp:ListItem>
                <asp:ListItem Value="asc">asc(升序)</asp:ListItem>
              </asp:DropDownList>         
              </td>
          </tr>

          <tr class="TR_BG_list" style="display:;">
            <td align="right" class="navi_link" style="width:105px">在标题前加导航</td>
            <td align="left" class="navi_link">
             <asp:DropDownList ID="ShowNavi" runat="server" CssClass="form" Width="100px" onchange="javascript:selectShowNavi(this.value);">
                <asp:ListItem Value="">是否加导航</asp:ListItem>
                <asp:ListItem Value="1">数字导航(1,2,3...)</asp:ListItem>
                <asp:ListItem Value="2">字母导航(A,B,C...)</asp:ListItem>
                <asp:ListItem Value="3">字母导航(a,b,c...)</asp:ListItem>
                <asp:ListItem Value="4">自定义图片</asp:ListItem>
              </asp:DropDownList>
              <span class="reshow">div+CSS格式,如果设置此项会前台生成变形!建议在CSS里控制li等的属性</span>
              <label id="TrNaviCSS" style="display:none;">导航CSS:<asp:TextBox ID="NaviCSS" title="如果为空,可以在前台CSS里控制<dd>的属性" Width="80" CssClass="form" runat="server"></asp:TextBox></label>
              <label id="TrNaviPic" style="display:none;">导航图片地址:<asp:TextBox ID="NaviPic" runat="server" CssClass="form" Width="120px" ReadOnly="true"></asp:TextBox>
               <img src="../../sysImages/folder/s.gif" style="cursor:pointer;" title="选择图片"  onclick="selectFile('pic',document.ListLabel.NaviPic,280,380);document.ListLabel.NaviPic.focus();" /></label>            </td>
          </tr>
 
          <tr class="TR_BG_list">
            <td align="right" class="navi_link" style="width:105px">行参数控制</td>
            <td align="left" class="navi_link">
             奇数行背景CSS:<asp:TextBox ID="css1" Width="50" CssClass="form" runat="server"></asp:TextBox>&nbsp;偶数行背景CSS:<asp:TextBox ID="css2" CssClass="form" Width="50" runat="server"></asp:TextBox>
            </td>
          </tr>
          <tr class="TR_BG_list">
            <td align="right" class="navi_link" style="width:105px"></td>
            <td align="left" class="navi_link">&nbsp;<span class="reshow">子类新闻只允许输出div+CSS方式</span><br /><input class="form" type="button" value=" 确 定 "  onclick="javascript:ReturnDivValue();" />&nbsp;<input class="form" type="button" value=" 关 闭 "  onclick="javascript:CloseDiv();" /></td>
          </tr>
        </table>

    </form>
</body>
</html>
<script language="javascript" type="text/javascript">
function getNaviNumber(obj)
{
    if(obj=="false")
   {
        document.getElementById("TRNaviNumber").style.display="none";
   } 
   else
   {
        document.getElementById("TRNaviNumber").style.display="";
   }
}

function selectNewsType(type)
{
    switch(type)
    {
        case "Special":
            document.getElementById("TrSpecialID").style.display="";
            document.getElementById("TrClassId").style.display="none";
            document.getElementById("TrMarqDirec").style.display="none";
            document.getElementById("TrMarqSpeed").style.display="none";
            document.getElementById("TrMarqwidth").style.display="none";
            document.getElementById("TrMarqheight").style.display="none";
            document.getElementById("span_isSub").style.display="";
            document.getElementById("span_classnamestyle").style.display="none";
            document.ListLabel.ClassStyle.value="";
           break;
//        case "MarQuee":
//            document.getElementById("TrMarqDirec").style.display="";
//            document.getElementById("TrMarqSpeed").style.display="";
//            document.getElementById("TrMarqwidth").style.display="";
//            document.getElementById("TrMarqheight").style.display="";
//            document.getElementById("TrClassId").style.display="";
//            document.getElementById("TrSpecialID").style.display="none";
//            document.getElementById("span_isSub").style.display="";
//            document.getElementById("span_classnamestyle").style.display="none";
//            document.ListLabel.ClassStyle.value="";
//            break;
        case "SubNews":
            document.getElementById("TrMarqDirec").style.display="none";
            document.getElementById("TrMarqSpeed").style.display="none";
            document.getElementById("TrMarqwidth").style.display="none";
            document.getElementById("TrMarqheight").style.display="none";
            document.getElementById("TrClassId").style.display="none";
            document.getElementById("span_isSub").style.display="none";
            document.getElementById("span_classnamestyle").style.display="";
            document.ListLabel.isSub.value="";
            break;
        default:
            document.getElementById("TrClassId").style.display="";
            document.getElementById("TrSpecialID").style.display="none";
            document.getElementById("TrMarqDirec").style.display="none";
            document.getElementById("TrMarqSpeed").style.display="none";
            document.getElementById("TrMarqwidth").style.display="none";
            document.getElementById("TrMarqheight").style.display="none";
            document.getElementById("span_isSub").style.display="";
            document.getElementById("span_classnamestyle").style.display="none";
            document.ListLabel.ClassStyle.value="";
            break;
    }
}
function selectisDiv(type)
{
    if(type=="true")
    {
        document.getElementById("TrulID").style.display="";
        document.getElementById("TrulClass").style.display="";
    }
    else
    {
        document.getElementById("TrulID").style.display="none";
        document.getElementById("TrulClass").style.display="none";
    }
}
function selectShowSubNavi(type)
{
    if(type=="true")
    {
       document.getElementById("TrSubNaviCSS").style.display=""; 
    }
    else
    {
       document.getElementById("TrSubNaviCSS").style.display="none"; 
    }
}
function selectShowNavi(type)
{
    if(type=="4")
    {
        document.getElementById("TrNaviPic").style.display="";
        document.getElementById("TrNaviCSS").style.display="none";
    }
    else
    {
        if(type=="")
        {
            document.getElementById("TrNaviCSS").style.display="none";
            document.getElementById("TrNaviPic").style.display="none";
        }
        else
        {
            document.getElementById("TrNaviCSS").style.display="";
            document.getElementById("TrNaviPic").style.display="none";
        }
    }
}
function selectRoot(type)

⌨️ 快捷键说明

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