亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? usinganimations.aspx

?? 一個包含AJAX所有功能的示例網(wǎng)站以及源代碼,非常好學習!
?? ASPX
?? 第 1 頁 / 共 2 頁
字號:
<%@ Page
    Language="C#"
    MasterPageFile="~/DefaultMaster.master"
    Title="Using Animations" %>
<%@ Register
    Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="ajaxToolkit" %>
<asp:Content ContentPlaceHolderID="SampleContent" Runat="Server">
    <ajaxToolkit:ToolkitScriptManager runat="Server" ID="ScriptManager1" />
    <div class="walkthrough">
    <div class="heading">Using Animations</div>
    <p>
        While the AJAX Control Toolkit is focused primarily on providing great AJAX controls and extenders, it also
        includes a powerful animation framework which you can use to add awesome visual effects on your pages.
        This walkthrough describes the basics of using this framework to create declarative animations.
    </p>
    <p></p>
    
    
    
    <div class="subheading">Generic XML Animations</div>
    <p>
        The animations are implemented in JavaScript as an ASP.NET AJAX class hierarchy and can be invoked via JavaScript
        by calling the Animation's <span class="codeReference">play</span> function.  This is very
        useful when writing to the animation classes from code, but writing complex animations ends up being time consuming and error prone.
        To make it very easy to use the animation framework without writing any JavaScript, the Toolkit provides the
        ability to declare animations via XML markup.
    </p>
    <p></p>
    <p>
        Extenders with animation support, like the <span class="codeReference">AnimationExtender</span>, expose various
        events, like <span class="codeReference">OnClick</span>, that can be associated with a generic XML animation declaration.  
        Within this declaration, you specify which types of animation effects you would like to occur.
        For example, to make a <span class="codeReference">Panel</span> with <span class="codeReference">ID = "MyPanel"</span> disappear
        from the page when clicked, you could add an <span class="codeReference">AnimationExtender</span> like this:
        <pre>
&lt;ajaxToolkit:AnimationExtender id="MyExtender"
  runat="server" TargetControlID="MyPanel"&gt;
  &lt;Animations&gt;
    &lt;OnClick&gt;
      &lt;FadeOut Duration=".5" Fps="20" /&gt;
    &lt;/OnClick&gt;
  &lt;/Animations&gt;
&lt;/ajaxToolkit:AnimationExtender&gt;</pre>
        Let's take a closer look at exactly what's going on in the XML above.  The <span class="codeReference">AnimationExtender</span>
        is used to indicate that we want to make our animation target
        the control with <span class="codeReference">ID = "MyPanel"</span>.  The <span class="codeReference">Animations</span>
        section is where all generic animations are declared.  <span class="codeReference">OnClick</span> indicates that when
        the target is clicked we will play the animation nested inside it.  Finally, <span class="codeReference">FadeOut</span>
        defines the specific animation that will be played and sets the values of its <span class="codeReference">Duration</span>
        and <span class="codeReference">Fps</span> properties.  Here's the example in action:
    </p>
    
    <center>
        <asp:Panel ID="Example1A" runat="server" style="width: 100px; background-color: #FFFFFF; border: solid 1px #666666; padding: 10px; cursor: pointer;">
            <h2>Click me to fade out!</h2>
        </asp:Panel>
        <asp:LinkButton ID="Example1B" runat="server" OnClientClick="return false;" Style="visibility: hidden;">Reset</asp:LinkButton>
    </center>
    <ajaxToolkit:AnimationExtender ID="AnimationExample1A" runat="server" TargetControlID="Example1A">
        <Animations>
            <OnClick>
                <Sequence>
                    <FadeOut Duration=".5" Fps="20" />
                    <StyleAction AnimationTarget="ctl00_SampleContent_Example1B" Attribute="visibility" Value="visible" />
                </Sequence>
            </OnClick>
        </Animations>
    </ajaxToolkit:AnimationExtender>
    <ajaxToolkit:AnimationExtender ID="AnimationExample1B" runat="server" TargetControlID="Example1B">
        <Animations>
            <OnClick>
                <Sequence>
                    <StyleAction Attribute="visibility" Value="hidden" />
                    <OpacityAction AnimationTarget="ctl00_SampleContent_Example1A" Opacity="1" />
                </Sequence>
            </OnClick>
        </Animations>
    </ajaxToolkit:AnimationExtender>
    <p>
        The events associated with animations vary from extender to extender.  The <a href="../Animation/Animation.aspx"><span class="codeReference">AnimationExtender</span></a>
        has events for <span class="codeReference">OnLoad</span>, <span class="codeReference">OnClick</span>, <span class="codeReference">OnMouseOver</span>,
        <span class="codeReference">OnMouseOut</span>, <span class="codeReference">OnHoverOver</span>, and <span class="codeReference">OnHoverOut</span>.
        The <a href="../UpdatePanelAnimation/UpdatePanelAnimation.aspx"><span class="codeReference">UpdatePanelAnimationExtender</span></a> has events for
        <span class="codeReference">OnUpdating</span> and <span class="codeReference">OnUpdated</span>.  It is <b>important</b> to note that each event can only have
        one child XML node associated with it but you can use the using the <span class="codeReference">Sequence</span> and <span class="codeReference">Parallel</span>
        animations to arbitrarily nest and group animations, which is discussed in detail below.
        </p>
        <br />
        <p>
        
        Below is an example which uses <span class="codeReference">OnHoverOver</span> and <span class="codeReference">OnHoverOut</span> to fade
        a <span class="codeReference">Panel</span> in and out when the mouse moves over it.  We use the <span class="codeReference">FadeIn</span> and
        <span class="codeReference">FadeOut</span> animations and set their <span class="codeReference">MinimumOpacity</span> and
        <span class="codeReference">MaximumOpacity</span> properties.
    </p>
    <center>
        <asp:Panel ID="Example2A" runat="server" style="width: 100px; background-color: #FFFFFF; border: solid 1px #666666; padding: 10px; cursor: pointer;">
            <h2>Hover over me to fade in!</h2>
        </asp:Panel>
    </center>
    <ajaxToolkit:AnimationExtender ID="AnimationExample2A" runat="server" TargetControlID="Example2A">
        <Animations>
            <OnLoad>
                <OpacityAction Opacity=".2" />
            </OnLoad>
            <OnHoverOver>
                <FadeIn Duration=".25" Fps="20" MinimumOpacity=".2" MaximumOpacity=".8" />
            </OnHoverOver>
            <OnHoverOut>
                <FadeOut Duration=".25" Fps="20" MinimumOpacity=".2" MaximumOpacity=".8" />
            </OnHoverOut>
        </Animations>
    </ajaxToolkit:AnimationExtender>
    <p></p>
    <p>
        Each animation corresponds to a JavaScript class (for example, <span class="codeReference">FadeIn</span> is mapped to the
        <span class="codeReference">AjaxControlToolkit.Animation.FadeInAnimation</span> class).  The name of the animation is used
        as the generic XML animation declaration's tag and its properties, which correspond to the properties on the JavaScript class,
        are attributes of that tag.  For example, to change the size of an element we could use <span class="codeReference">Resize</span>
        which has properties <span class="codeReference">Width</span>, <span class="codeReference">Height</span>, and <span class="codeReference">Unit</span>.
     </p>
     <br />
     <p> 
        We would declare it as:
        
        <code>&lt;Resize Width="200" Height="300" Unit="px" /&gt;</code>
        
        The name of the animation and properties are case insensitive in generic XML animation declarations.
        Since the animation framework is based on a hierarchy of animation classes, all the animations have the properties
        <span class="codeReference">Duration</span> (in seconds) and <span class="codeReference">Fps</span> (frames per second).
        All the animations and their properties are described in the <a href="AnimationReference.aspx">Animation Reference</a>.
    </p>
    <p></p>
    <div class="subheading">Composing Animations</div>
    <p>
        Some of the animations are used to aggregate and combine other animations.  Examples include <span class="codeReference">Parallel</span> Animation
        which will run its child animations simultaneously and <span class="codeReference">Sequence</span> which runs its child animations sequentially, waiting for each to finish before starting the next.  
        To use these animations in the generic XML animation declaration syntax, we include their child animations as nested XML elements.
        For example, to have an element pulse and then fade out while scaling its size by 500%, we could declare the following:
        <pre>
&lt;Sequence&gt;
  &lt;Pulse Duration=".1" /&gt;
  &lt;Parallel Duration=".5" Fps="30"&gt;
    &lt;FadeOut /&gt;
    &lt;Scale ScaleFactor="5" Unit="px" Center="true"
      ScaleFont="true" FontUnit="pt" /&gt;
  &lt;/Parallel&gt;
&lt;/Sequence&gt;</pre>      
        Here is what this animation would do if associated with the <span class="codeReference">OnClick</span> event:
    </p>
    
    <center>
        <div style="width: 100px; height: 100px;">
            <asp:Panel ID="Example3A" runat="server" style="font-size: 16px; font-weight: bold; width: 100px; height: 100px; background-color: #FFFFFF; border: solid 1px #666666; padding: 10px; cursor: pointer;">

                
                    <table style="height: 100%; width: 100%;">
                        <tr valign="middle">
                            <td valign="middle"><center>Explode!</center></td>
                        </tr>
                    </table>
                

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
无码av免费一区二区三区试看| 在线播放中文一区| 欧美亚洲国产bt| 久久综合九色综合欧美98| 国模大尺度一区二区三区| 99精品视频在线免费观看| 精品国产污网站| 日本vs亚洲vs韩国一区三区二区| 色天使久久综合网天天| 日韩国产在线观看| 国产精品久久夜| 91精品久久久久久蜜臀| 国产真实乱对白精彩久久| 亚洲精品国产精华液| 精品国内二区三区| 精品1区2区3区| 亚洲久草在线视频| 在线看不卡av| 日韩av一区二区在线影视| 91精品国产高清一区二区三区| 天天综合色天天| 精品成人免费观看| 成人ar影院免费观看视频| 亚洲综合免费观看高清完整版在线| 在线国产亚洲欧美| 亚洲成av人片一区二区三区| 91精品婷婷国产综合久久性色| 蜜桃av噜噜一区| 国产三区在线成人av| 色猫猫国产区一区二在线视频| 亚洲成人高清在线| 亚洲天堂久久久久久久| 欧美高清一级片在线| 粉嫩av一区二区三区| 精品在线你懂的| 日日噜噜夜夜狠狠视频欧美人| 亚洲欧美一区二区不卡| 欧美极品少妇xxxxⅹ高跟鞋| 欧美一区二区视频免费观看| 欧美日韩精品欧美日韩精品一| 色哟哟国产精品| 99精品国产91久久久久久 | 国产女主播一区| 日韩亚洲欧美中文三级| 欧美挠脚心视频网站| 欧美男人的天堂一二区| 欧洲av在线精品| 欧美日韩午夜在线| 欧美日韩精品福利| 欧美一区二区三区性视频| 欧美福利一区二区| 91精品久久久久久蜜臀| 日韩一区二区三区视频在线观看| 欧美一区二区三区小说| 日韩美女视频在线| 久久综合给合久久狠狠狠97色69| 欧美mv日韩mv国产网站app| 欧美videos大乳护士334| 日韩精品一区二区在线| 国产欧美视频一区二区| 国产天堂亚洲国产碰碰| 中文字幕第一区二区| 欧美久久久久久蜜桃| 日本韩国一区二区三区| 国产丶欧美丶日本不卡视频| 午夜在线成人av| 日韩国产在线观看一区| 亚洲色图欧洲色图| 欧洲一区在线观看| 欧美激情一区不卡| av男人天堂一区| 亚洲综合久久久| 91麻豆精品91久久久久同性| 美日韩一区二区三区| 国产偷国产偷亚洲高清人白洁| 欧美午夜一区二区| 欧美午夜精品一区二区蜜桃| 日本高清不卡视频| 欧美精品日韩精品| 欧美一级久久久| 久久久久国产成人精品亚洲午夜| 久久精品亚洲精品国产欧美kt∨| 国产欧美一区二区精品仙草咪| 久久久美女毛片| 亚洲欧美在线另类| 亚洲一区二区精品3399| 日韩国产精品久久| 国产高清一区日本| 欧美伊人久久大香线蕉综合69| 9191精品国产综合久久久久久 | 国产真实乱偷精品视频免| 国产精品一二三四| 91福利精品视频| 精品日韩在线观看| 亚洲欧美一区二区三区国产精品| 亚洲大片免费看| 国产成人av电影在线播放| 欧美亚洲国产bt| 久久久高清一区二区三区| 亚洲乱码国产乱码精品精小说| 日韩经典中文字幕一区| 国产精品亚洲专一区二区三区| 色婷婷综合久久久久中文一区二区 | 亚洲精品免费电影| av在线不卡观看免费观看| 91久久一区二区| 久久精品男人天堂av| 亚洲妇女屁股眼交7| 国产精品系列在线播放| 5566中文字幕一区二区电影| 国产精品剧情在线亚洲| 伦理电影国产精品| 91国偷自产一区二区三区成为亚洲经典| 日韩一区二区三区观看| 亚洲午夜一区二区三区| 色综合中文综合网| 成人午夜私人影院| 久久先锋影音av| 免费成人在线网站| 4438成人网| 亚洲电影一区二区三区| 99精品热视频| 久久久久久久久久美女| 美女免费视频一区二区| 91麻豆精品国产自产在线观看一区 | 日韩午夜精品视频| 日韩av中文字幕一区二区| 欧美日韩一区二区欧美激情| 亚洲嫩草精品久久| 99久久er热在这里只有精品66| 国产欧美一区二区精品婷婷 | 激情图片小说一区| 欧美成人精品二区三区99精品| 丝袜亚洲另类丝袜在线| 91久久线看在观草草青青| 久久精品视频免费观看| 成人免费视频播放| 中文字幕第一区二区| gogogo免费视频观看亚洲一| 国产精品国产三级国产专播品爱网| 成人少妇影院yyyy| 亚洲免费观看高清完整版在线观看 | 国产精品第一页第二页第三页| 99久久国产综合色|国产精品| 亚洲伦理在线免费看| 911精品国产一区二区在线| 欧美高清在线一区二区| 欧美视频在线不卡| 美女视频黄频大全不卡视频在线播放| 久久综合色8888| 色婷婷综合久久| 蜜臀av一级做a爰片久久| 亚洲国产精品v| 欧美亚洲综合在线| 韩国成人福利片在线播放| 亚洲欧洲av色图| 欧美一区国产二区| av电影天堂一区二区在线观看| 亚洲成人av一区二区| 日本一区二区三区四区在线视频 | 日本韩国欧美三级| 久久91精品国产91久久小草| 亚洲三级在线免费| 91精品综合久久久久久| 国产在线精品一区在线观看麻豆| 亚洲视频图片小说| 久久精品网站免费观看| 欧美一区三区二区| 欧美色大人视频| 91在线一区二区三区| 国产成人免费视频精品含羞草妖精| 亚洲综合另类小说| 亚洲婷婷国产精品电影人久久| 欧美精品一区二区三区蜜臀| 欧美美女一区二区在线观看| 成人成人成人在线视频| 国产在线精品一区二区不卡了| 亚洲国产精品久久一线不卡| 国产蜜臀av在线一区二区三区| 精品欧美久久久| 欧美一区二区福利视频| 欧美日韩国产系列| 在线观看一区二区视频| 99久久婷婷国产精品综合| 精品一区二区三区香蕉蜜桃 | 91精品国产综合久久小美女| 欧美在线影院一区二区| 在线视频一区二区三区| 色综合久久综合中文综合网| 91小视频免费观看| 一本色道久久综合狠狠躁的推荐| 91视频免费播放| 一本到高清视频免费精品| 色视频成人在线观看免| 欧洲精品一区二区| 91.成人天堂一区| 精品国产伦一区二区三区免费| 精品欧美一区二区在线观看| 国产欧美日韩久久| 亚洲视频你懂的|