<%@ page language="C#" autoeventwireup="true" inherits="PartConfig_Style, App_Web_o7zimql7" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>部件属性 - 浮动</title>
    <base target="_self"/>
    <link rel="stylesheet" href="../Style/Common.css" />
    <link rel="stylesheet" href="../Style/Dialog.css" />

    <script type="text/javascript" src="../Script/Common.js"></script>
    <script type="text/javascript">
function Page_Load()
    {
	var ConfigTab = $('ConfigTab');
	var BindTab = $('BindTab');
	var query = location.search;
	ConfigTab.href = 'Setting.aspx' + query;
	StyleTab.href = 'Style.aspx' + query;
	BindTab.href = 'BindColumn.aspx' + query;
    }
//function btnAdvanced_Click()
//    {
//	var sea = location.search;	
//	var sMsg = Common.ShowDialog( 1, 'StyleAdv.aspx'+sea, null, {width:760, height:500, offset:true} );
//	if( /^ok/i.test(sMsg) )
//	    partOp.Fresh( part );
//    }
    </script>
</head>
<body><form id="form1" runat="server">

    <div class="TopArea">
        <h1>部件属性
            <asp:Label ID="lbPartName" runat="server" Text="[]" CssClass="Notes" />
        </h1>
        <div class="HeadLogo"></div>
    </div>

    <div class="TitleBar">
        <table style="width:98%; margin:3px auto;"><tr>
            <td style="width:60px;">启用浮动</td>
            <td>
                <%--<asp:TextBox ID="tbTitleText" runat="server" Width="96%"></asp:TextBox>--%>
                <asp:CheckBox ID="cnkFloat" runat="server" Text="将部件浮动(脱离布局)" Enabled="false" />
            </td>
        </tr></table>
    </div>
    
    <div class="ContentArea">
        <table class="Content" width="99%"><tr>
            <td style="vertical-align:top;">
                浮动方式：<asp:DropDownList ID="lstFloatMode" runat="server" Enabled="false">
                            <asp:ListItem Value="1">绝对定位</asp:ListItem>
                        </asp:DropDownList>
                        <asp:DropDownList ID="lstDirection" runat="server" Enabled="false">
                            <asp:ListItem Value="1">左上角</asp:ListItem>
                            <asp:ListItem Value="2">右上角</asp:ListItem>
                            <asp:ListItem Value="3">左下角</asp:ListItem>
                            <asp:ListItem Value="4">右下角</asp:ListItem>
                        </asp:DropDownList><br /><br />
                位置：水平距 <asp:TextBox ID="tbPosX" runat="server" Enabled="false" /> &nbsp;&nbsp;
                      垂直距 <asp:TextBox ID="tbPosY" runat="server" Enabled="false" /><br />
                大小：宽　度 <asp:TextBox ID="tbWidth" runat="server" Enabled="false" /> &nbsp;&nbsp;
                      高　度 <asp:TextBox ID="tbHeight" runat="server" Enabled="false" />
            </td>
            <td style="width:8px;"></td>
            <td style="width:250px;"></td>
        </tr></table>
    </div>
    
    <div class="BottomArea">
        <span class="LeftBlock">
            <asp:Label ID="lbResult" runat="server" ForeColor="Red"></asp:Label>
        </span>
        <span class="RightBlock">
            <asp:Button ID="btnConfirm" runat="server" CssClass="Button" Text="确定" OnClick="btnConfirm_Click" />
            <input id="btnCancel" type="button" class="Button" value="取消" onclick="window.close();" />
        </span>
    </div>
    
    <%-- 顶部选项卡  放到后面，防止开始时获得焦点 --%>
    <div class="TabArea" style="left:221px; width:360px;">
        <a id="ConfigTab" class="NormalTab"><span>设置</span></a>
        <a id="StyleTab" class="NormalTab"><span>样式</span></a>
        <a id="BindTab" class="NormalTab"><span>内容绑定</span></a>
        <div id="FloatTab" class="ActiveTab"><span>浮动</span></div>
    </div>

</form>
<script type="text/javascript" language="javascript">
try{ Page_Init(); }catch(ex){;}
try{ Page_Resize(); window.onresize=Page_Resize; }catch(ex){;}
try{ Page_Load(); }catch(ex){;}
</script>
</body>
</html>