zoukankan      html  css  js  c++  java
  • AjaxControlToolkit——AlwaysVisibleControl

    http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AlwaysVisibleControl/AlwaysVisibleControl.aspx

    <body>
        
    <form id="form1" runat="server">
            
    <asp:ScriptManager ID="ScriptManager1" runat="server">
            
    </asp:ScriptManager>
            
    <div>
                
    <pre>
            漂浮效果
            HorizontalOffset,VerticalOffset:水平,垂直坐标
            ScrollEffectDuration:滚动时间
            
    </pre>
                
    <div id="d" runat="server" style="background-color: Red;  300px;">
                    飘: The AlwaysVisibleControl is a simple extender allowing you to pin controls to
                    the page so that they appear to float over the background body content when it is
                    scrolled or resized. It targets any ASP.NET control and always keeps the position
                    a specified distance from the desired horizontal and vertical sides.
                
    </div>
                
    <cc1:AlwaysVisibleControlExtender ID="AlwaysVisibleControlExtender1" runat="server"
                    TargetControlID
    ="d" HorizontalOffset="200" VerticalOffset="200" HorizontalSide="center"
                    VerticalSide
    ="middle" ScrollEffectDuration="0.01">
                
    </cc1:AlwaysVisibleControlExtender>
                
    <div style="height: 800px;">
                TargetControlID;ID只能为服务器端控件ID
                
    </div>
            
    </div>
        
    </form>
    </body>

    TargetControlID;ID只能为服务器端控件ID
  • 相关阅读:
    不能访问windows installer服务
    clr/c++自定线程安全集合
    Electron-Vue工程初始化,以及需要掌握的相关知识
    Windows下启动.Net Core程序脚本
    Electron打包
    .Net Core入门与.Net需要注意的地方
    winfrom 点击按钮button弹框显示颜色集
    获取计算机的网卡及打印机信息
    winfrom 界面时间动态加载
    c# winfrom 界面设计
  • 原文地址:https://www.cnblogs.com/htht66/p/1097911.html
Copyright © 2011-2022 走看看