<%@ page language="C#" masterpagefile="~/SiteServer/MasterPage/PageTemplate.Master" autoeventwireup="true" inherits="SiteServer_Plugin_Bcastr, v5star.Web" title="Untitled Page" theme="Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="Server">

    <script type="text/javascript">
function SelectColor(sEL,form){
    var dEL = document.getElementById(sEL.id);
    var url = 'SelColor.htm?color='+encodeURIComponent(sEL);
    var arr = showModalDialog(url,window,'dialogWidth:280px;dialogHeight:250px;help:no;scroll:no;status:no');
    if (arr) {
        form.value=arr;
        sEL.style.backgroundColor=arr;
        form.style.backgroundColor=arr;
        form.style.color=arr;
    }
}
    </script>

    <aspx:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server" HeadOPTxt="编辑"
        HeadTitleTxt="插件管理-幻灯片新闻">
    </aspx:HeadMenuWebControls>
    <aspx:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <aspx:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="参数设置">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                <tr id="TopTr" runat="server">
                    <td class="table_body" align="right">
                        图片的圆角：</td>
                    <td class="table_none">
                        <asp:TextBox ID="TextBox1" runat="server" Width="40px" title="只能填数字，否则出错。">0</asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        图片切换时间：</td>
                    <td class="table_none">
                        <asp:TextBox ID="TextBox2" runat="server" Width="40px" title="默认值是8，单位秒">8</asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        图片缩小是否采用高质量的方法：</td>
                    <td class="table_none">
                        <asp:CheckBox ID="CheckBox4" runat="server" Text="是" /></td>
                </tr>
                <tr>
                    <td class="table_body" style="height: 30px" align="right">
                        图片的混合模式：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:DropDownList ID="DropDownList1" runat="server">
                            <asp:ListItem Value="normal">正常</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        图片在切换过程中的时间：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox3" runat="server" Width="40px" title="默认值1，单位秒">1</asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        连接的打开方式：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:DropDownList ID="DropDownList2" runat="server">
                            <asp:ListItem Value="_blank">新窗口</asp:ListItem>
                            <asp:ListItem Value="_self">本窗口</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        按钮的位置，文字的位置：</td>
                    <td class="table_none" style="height: 30px" title="按钮的位置，文字的位置，用了css的margin概念，默认值”auto 5 5 auto”，四个数值代表 上 右 下 左 相对于播放器的距离，不需具体数值用”auto”填写 ，比如左上对齐并都有10像素的距离可以写 “10 auto auto 10″, 右下角对齐是”auto 10 10 auto”"">
                        上：
                        <asp:TextBox ID="TextBox4" runat="server" Width="40px"></asp:TextBox>右：
                        <asp:TextBox ID="TextBox5" runat="server" Width="40px"></asp:TextBox>下：
                        <asp:TextBox ID="TextBox6" runat="server" Width="40px"></asp:TextBox>左：
                        <asp:TextBox ID="TextBox7" runat="server" Width="40px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        每个按钮的距离：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox8" runat="server" Width="40px" title="每个按钮的距离，默认值20">20</asp:TextBox>
                        px
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        标题背景的颜色：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox9" runat="server" Width="60px"></asp:TextBox><img id="Img2"
                            src="../../../Images/color1.gif" border="0" alt="选择颜色" onmouseover="src='../../../Images/color2.gif'"
                            onmouseout="src='../../../Images/color1.gif'" onclick='SelectColor(this,ctl00_PageBody_TextBox9)'
                            style="vertical-align: middle;" /></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        标题文字的颜色：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox10" runat="server" Width="60px"></asp:TextBox><img id="Img1"
                            src="../../../Images/color1.gif" border="0" alt="选择颜色" onmouseover="src='../../../Images/color2.gif'"
                            onmouseout="src='../../../Images/color1.gif'" onclick='SelectColor(this,ctl00_PageBody_TextBox10)'
                            style="vertical-align: middle;" /></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        标题背景的透明度：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox11" runat="server" Width="40px" title="标题背景的透明度，默认0.75">0.75</asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        标题文字的字体：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:DropDownList ID="DropDownList3" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        标题背景动画的时间：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox12" runat="server" Width="40px" title="标题背景动画的时间，默认值1，单位秒">1</asp:TextBox>
                        单位（秒）</td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        按钮的透明度：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox13" runat="server" Width="40px" title="按钮的透明度，默认值0.7">0.7</asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        按钮文字的颜色：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox14" runat="server" Width="60px"></asp:TextBox><img id="Img3"
                            src="../../../Images/color1.gif" border="0" alt="选择颜色" onmouseover="src='../../../Images/color2.gif'"
                            onmouseout="src='../../../Images/color1.gif'" onclick='SelectColor(this,ctl00_PageBody_TextBox14)'
                            style="vertical-align: middle;" /></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        按钮的默认颜色：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox15" runat="server" Width="60px"></asp:TextBox><img id="Img4"
                            src="../../../Images/color1.gif" border="0" alt="选择颜色" onmouseover="src='../../../Images/color2.gif'"
                            onmouseout="src='../../../Images/color1.gif'" onclick='SelectColor(this,ctl00_PageBody_TextBox15)'
                            style="vertical-align: middle;" /></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        滑过按钮的默认颜色：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox16" runat="server" Width="60px"></asp:TextBox><img id="Img5"
                            src="../../../Images/color1.gif" border="0" alt="选择颜色" onmouseover="src='../../../Images/color2.gif'"
                            onmouseout="src='../../../Images/color1.gif'" onclick='SelectColor(this,ctl00_PageBody_TextBox16)'
                            style="vertical-align: middle;" /></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        按钮当前颜色：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:TextBox ID="TextBox17" runat="server" Width="60px"></asp:TextBox><img id="Img6"
                            src="../../../Images/color1.gif" border="0" alt="选择颜色" onmouseover="src='../../../Images/color2.gif'"
                            onmouseout="src='../../../Images/color1.gif'" onclick='SelectColor(this,ctl00_PageBody_TextBox17)'
                            style="vertical-align: middle;" /></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        切换图片的方法：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:DropDownList ID="DropDownList4" runat="server">
                            <asp:ListItem Value="click">点击切换图片</asp:ListItem>
                            <asp:ListItem Value="hover">鼠标悬停就切换图片</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        是否显示按钮：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:CheckBox ID="CheckBox1" runat="server" Checked="True" Text="是" /></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        是否显示标题：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:CheckBox ID="CheckBox2" runat="server" Checked="True" Text="是" /></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        图片放缩模式：</td>
                    <td class="table_none" style="height: 30px" title="图片放缩模式: 默认值是”noBorder”“showAll”: 可以看到全部图片,保持比例,可能上下或者左右“exactFil”: 放缩图片到舞台的尺寸,可能比例失调“noScale”: 图片的原始尺寸,无放缩“noBorder”: 图片充满播放器,保持比例,可能会被裁剪”">
                        <asp:DropDownList ID="DropDownList5" runat="server">
                            <asp:ListItem Value="showAll">等比例放缩</asp:ListItem>
                            <asp:ListItem Value="exactFil">自适应放缩</asp:ListItem>
                            <asp:ListItem Value="noScale">无放缩</asp:ListItem>
                            <asp:ListItem Value="noBorder">充满</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        图片变换模式：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:DropDownList ID="DropDownList7" runat="server">
                            <asp:ListItem Value="alpha">透明度淡入淡出</asp:ListItem>
                            <asp:ListItem Value="blur">模糊淡入淡出</asp:ListItem>
                            <asp:ListItem Value="left">左方图片滚动</asp:ListItem>
                            <asp:ListItem Value="right">右方图片滚动</asp:ListItem>
                            <asp:ListItem Value="top">上方图片滚动</asp:ListItem>
                            <asp:ListItem Value="bottom">下方图片滚动</asp:ListItem>
                            <asp:ListItem Value="breathe">有一点点地放缩的淡入淡出</asp:ListItem>
                            <asp:ListItem Value="breatheBlur">有一点点地放缩的模糊淡入淡出</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" class="table_body" style="height: 30px">
                        是否显示关于信息：</td>
                    <td class="table_none" style="height: 30px">
                        <asp:CheckBox ID="CheckBox3" runat="server" Checked="True" Text="是" /></td>
                </tr>
                <tr id="SubmitTr" runat="server">
                    <td colspan="2" align="right" style="height: 26px">
                        <asp:Button ID="Save" runat="server" CssClass="button_bak" Text="确定" OnClick="Save_Click" />
                        <input id="Reset1" class="button_bak" type="reset" value="重填" />&nbsp;
                    </td>
                </tr>
            </table>
        </aspx:TabOptionItem>
    </aspx:TabOptionWebControls>
</asp:Content>
