simple.aspx
上传用户:crystal
上传日期:2022-08-11
资源大小:33k
文件大小:4k
源码类别:

界面编程

开发平台:

C#

  1. <%@ Page language="c#" Inherits="EeekSoft.PopupTest.tst" CodeFile="simple.aspx.cs" %>
  2. <%@ Register TagPrefix="cc1" Namespace="EeekSoft.Web" Assembly="EeekSoft.Web.PopupWin" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <html>
  5.   <head>
  6.     <title>弹出窗口简单测试 - 51aspx.com</title>
  7.     <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  8.     <meta name="CODE_LANGUAGE" Content="C#">
  9.     <meta name=vs_defaultClientScript content="JavaScript">
  10.     <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
  11.   </head>
  12.   <body>
  13.     <form id="Form1" method="post" runat="server"><cc1:PopupWin id="popupLoad" title="Anchor Test" style="Z-INDEX: 100; LEFT: 16px; POSITION: absolute; TOP: 544px" runat="server" Message="Click on link to reopen this window.." Width="200px" Height="85px" ColorStyle="Green" dockmode="BottomLeft" hideafter="4000"></cc1:PopupWin><cc1:PopupWinAnchor id="PopupWinAnchor4" style="Z-INDEX: 114; LEFT: 568px; POSITION: absolute; TOP: 152px" runat="server" LinkedControl="id2" PopupToShow="popupBtn" ChangeTexts="True" NewMessage="You clicked on second button !" NewText="Nothing here :)" NewTitle="第二个按钮"></cc1:PopupWinAnchor><cc1:popupwin id="popupBob" title="Visit CodeProject.Com" style="Z-INDEX: 112; LEFT: 13px; POSITION: absolute; TOP: 17px" runat="server" Message="<img src=&quot;bob.gif&quot; border=&quot;0&quot; align=&quot;right&quot;><p><b>51aspx.com,Asp.net源码下载专业站" Width="216px" linktarget="_blank" Link="http://www.51aspx.com" ActionType="OpenLink" DockMode="BottomRight" LightShadow="255, 192, 128" Shadow="128, 64, 0" TextColor="0, 0, 0" DarkShadow="0, 0, 0" GradientLight="251, 238, 187" GradientDark="255, 153, 0" autoshow="False" hideafter="4000"></cc1:popupwin>
  14.     <input id="id2" style="Z-INDEX: 108; LEFT: 136px; WIDTH: 80px; POSITION: absolute; TOP: 104px; HEIGHT: 24px" type="button" value="Second" name="Button1">
  15.     <asp:hyperlink id="HyperLink1" style="Z-INDEX: 105; LEFT: 16px; POSITION: absolute; TOP: 208px" runat="server" NavigateUrl="default.aspx">测试控件的基本特征</asp:hyperlink><asp:HyperLink id="HyperLink3" style="Z-INDEX: 104; LEFT: 16px; POSITION: absolute; TOP: 232px" runat="server" NavigateUrl="anchor.aspx">高级应用演示</asp:HyperLink><cc1:PopupWinAnchor id="PopupWinAnchor1" style="Z-INDEX: 101; LEFT: 568px; POSITION: absolute; TOP: 16px" runat="server" LinkedControl="reopenGreen" PopupToShow="popupLoad" handledevent="onmouseover"></cc1:PopupWinAnchor><asp:HyperLink id="reopenGreen" style="Z-INDEX: 102; LEFT: 61px; POSITION: absolute; TOP: 280px" runat="server" Width="232px" Height="24px" NavigateUrl="#">鼠标滑过重新打开绿色窗口</asp:HyperLink><asp:HyperLink id="reopenCp" style="Z-INDEX: 103; LEFT: 16px; POSITION: absolute; TOP: 40px" runat="server" NavigateUrl="#">鼠标滑过弹出导航窗口</asp:HyperLink><input id="id1" style="Z-INDEX: 106; LEFT: 40px; WIDTH: 80px; POSITION: absolute; TOP: 104px; HEIGHT: 24px" type="button" value="First">
  16.     <asp:Label id="Label1" style="Z-INDEX: 107; LEFT: 16px; POSITION: absolute; TOP: 72px" runat="server">弹出窗口中也支持html代码</asp:Label><cc1:PopupWin id="popupBtn" style="Z-INDEX: 109; LEFT: 1px; POSITION: absolute; TOP: 12px" runat="server" ColorStyle="Red" AutoShow="False" DockMode="BottomLeft" OffsetY="115" hideafter="3000" Message="显示详细消息"></cc1:PopupWin><cc1:PopupWinAnchor id="PopupWinAnchor3" style="Z-INDEX: 113; LEFT: 568px; POSITION: absolute; TOP: 48px" runat="server" LinkedControl="reopenCp" PopupToShow="popupBob" HandledEvent="onmouseover"></cc1:PopupWinAnchor>
  17.      <cc1:PopupWinAnchor id="PopupWinAnchor2" style="Z-INDEX: 111; LEFT: 568px; POSITION: absolute; TOP: 120px" runat="server" LinkedControl="id1" PopupToShow="popupBtn" ChangeTexts="True" NewMessage="你点击的是第一个按钮 !" NewText="啥也没有!" NewTitle="第一个按钮"></cc1:PopupWinAnchor>
  18.      </form>
  19.   </body>
  20. </html>