Default.aspx
上传用户:crystal
上传日期:2022-08-11
资源大小:33k
文件大小:6k
- <%@ Page language="c#" Inherits="EeekSoft.PopupTest.Default" validaterequest="false" CodeFile="default.aspx.cs" %>
- <%@ Register TagPrefix="cc1" Namespace="EeekSoft.Web" Assembly="EeekSoft.Web.PopupWin" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <html>
- <head>
- <title>弹出窗口测试 - C#|-51aspx.com</title>
- <meta content="Microsoft Visual Studio .NET 7.1" name=GENERATOR>
- <meta content=C# name=CODE_LANGUAGE>
- <meta content=JavaScript name=vs_defaultClientScript>
- <meta content=http://schemas.microsoft.com/intellisense/ie5 name=vs_targetSchema>
- </head>
- <body style="margin:0px">
- <form id=Form1 method=post runat="server"><asp:button id=btnPopup style="Z-INDEX: 100; LEFT: 120px; POSITION: absolute; TOP: 280px" runat="server" text="弹出" onclick="btnPopup_Click"></asp:button><asp:label id=Label1 style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 16px" runat="server">显示文本:</asp:label><asp:textbox id=textMsg style="Z-INDEX: 102; LEFT: 120px; POSITION: absolute; TOP: 16px" runat="server" columns="50" width="336px">会显示在弹出窗口的标题上</asp:textbox><asp:label id=Label2 style="Z-INDEX: 103; LEFT: 16px; POSITION: absolute; TOP: 168px" runat="server">窗口内显示的内容</asp:label><asp:textbox id=textFull style="Z-INDEX: 104; LEFT: 120px; POSITION: absolute; TOP: 192px" runat="server" columns="39" width="336px" rows="4" textmode="MultiLine" height="80px">This very long text will be displayed in new window. To open this window click on "Show Popup" button and then click on popup window.</asp:textbox>
- <cc1:popupwin id=popupWin style="Z-INDEX: 105; LEFT: 296px; POSITION: absolute; TOP: 528px" runat="server" width="230px" height="100px" windowsize="300, 200" windowscroll="False" dockmode="BottomLeft" colorstyle="Blue" gradientdark="210, 200, 220" textcolor="0, 0, 3" shadow="125, 90, 160" lightshadow="185, 170, 200" darkshadow="128, 0, 102" visible="False" showlink="True" offsetx="150">
- </cc1:popupwin><asp:textbox id=textTitle style="Z-INDEX: 106; LEFT: 120px; POSITION: absolute; TOP: 48px" runat="server" columns="50" Width="336px">这里是标题</asp:textbox><asp:label id=Label3 style="Z-INDEX: 107; LEFT: 16px; POSITION: absolute; TOP: 48px" runat="server">标题:</asp:label><asp:dropdownlist id=clrStyle style="Z-INDEX: 108; LEFT: 120px; POSITION: absolute; TOP: 80px" runat="server" Width="336px">
- <asp:ListItem Value="Red">Red</asp:ListItem>
- <asp:ListItem Value="Green">Green</asp:ListItem>
- <asp:ListItem Value="Blue" Selected="True">Blue</asp:ListItem>
- <asp:ListItem Value="Violet">Violet</asp:ListItem>
- </asp:dropdownlist><asp:label id=Label4 style="Z-INDEX: 109; LEFT: 16px; POSITION: absolute; TOP: 80px" runat="server">演示样式:</asp:label><asp:button id=btn4Ever style="Z-INDEX: 110; LEFT: 169px; POSITION: absolute; TOP: 280px" runat="server" Text="不自动隐藏" onclick="btn4Ever_Click"></asp:button><asp:dropdownlist id=popDocking style="Z-INDEX: 111; LEFT: 120px; POSITION: absolute; TOP: 112px" runat="server" Width="336px">
- <asp:ListItem Value="Bottom - Left">Bottom - Left</asp:ListItem>
- <asp:ListItem Value="Bottom - Right" Selected="True">Bottom - Right</asp:ListItem>
- </asp:dropdownlist><asp:label id=Label5 style="Z-INDEX: 112; LEFT: 16px; POSITION: absolute; TOP: 112px" runat="server">弹出位置:</asp:label>
- <cc1:popupwin id=popupWin2 title="Second window" style="Z-INDEX: 113; LEFT: 584px; POSITION: absolute; TOP: 528px" runat="server" text="Text to display in new window. <br><b>This text is from second window...</b>" width="230px" dockmode="BottomRight" gradientdark="225, 225, 208" textcolor="0, 50, 0" shadow="160, 180, 140" lightshadow="208, 221, 195" darkshadow="50, 100, 50" visible="False" actiontype="RaiseEvents" gradientlight="255, 255, 255" message="You can have more than one popup window ! <br/><br/><b>This has custom color scheme</b>" hideafter="8000" offsety="130" onpopupclosed="popupWin2_PopupClose" onlinkclicked="popupWin2_LinkClick"></cc1:popupwin>
- <asp:button id=btnTwo style="Z-INDEX: 114; LEFT: 283px; POSITION: absolute; TOP: 280px" runat="server" Text="弹出两个" onclick="btnTwo_Click"></asp:button><asp:label id=lblMsg style="Z-INDEX: 115; LEFT: 120px; POSITION: absolute; TOP: 320px" runat="server" Width="336px" Visible="False" ForeColor="Red">Label</asp:label><cc1:popupwin id=popupBob title="Visit 51aspx.Com" style="Z-INDEX: 116; LEFT: 16px; POSITION: absolute; TOP: 528px" runat="server" Width="216px" Visible="False" linktarget="_blank" Link="http://www.51aspx.com" ActionType="OpenLink" DockMode="BottomLeft" Message="<img src="bob.gif" border="0" align="right"><p><b>THE CODE <span style="color:#00a000;">51aspx</span></b><br><br>Asp.net源码下载专业站</p>" LightShadow="255, 192, 128" Shadow="128, 64, 0" TextColor="0, 0, 0" DarkShadow="0, 0, 0" GradientLight="251, 238, 187" GradientDark="255, 153, 0"></cc1:popupwin><asp:button id=btnBob style="Z-INDEX: 117; LEFT: 396px; POSITION: absolute; TOP: 280px" runat="server" Text="导航条" onclick="btnBob_Click"></asp:button><asp:HyperLink id="HyperLink1" style="Z-INDEX: 119; LEFT: 16px; POSITION: absolute; TOP: 376px" runat="server" NavigateUrl="anchor.aspx">高级测试</asp:HyperLink><asp:HyperLink id="HyperLink2" style="Z-INDEX: 120; LEFT: 16px; POSITION: absolute; TOP: 352px" runat="server" NavigateUrl="simple.aspx">简单播放控制演示</asp:HyperLink>
- <asp:label id="Label6" runat="server" style="Z-INDEX: 121; LEFT: 16px; POSITION: absolute; TOP: 144px">可拖动</asp:label><asp:DropDownList id="dropDrag" style="Z-INDEX: 122; LEFT: 120px; POSITION: absolute; TOP: 144px" runat="server" Width="336px">
- <asp:ListItem Value="Enable Drag&drop" Selected="True">Enable Drag&drop</asp:ListItem>
- <asp:ListItem Value="Disable Drag&drop">Disable Drag&drop</asp:ListItem>
- </asp:DropDownList>
- </form>
- <div style="HEIGHT:2000px"></div>
- </body>
- </html>