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

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

    先用好锤子、斧头,再去改造。
    英文看的真的很吃力,也很迷糊。

    <body>
        
    <form id="form1" runat="server">
            
    <asp:ScriptManager ID="ScriptManager1" runat="server">
            
    </asp:ScriptManager>
            
    <div>
                
    <pre>
        伸缩控件的使用
        Font-Strikeout:改变字体;
        FramesPerSecond:每秒帧数;
        TransitionDuration:动画过渡时间;
        AutoSize:限制容器pane的大小
        RequireOpenedPane:false时点击标题会显示其内容
        TransitionDuration:渐变效果
        
    </pre>
                
    <cc1:Accordion ID="Accordion1" runat="server" Font-Strikeout="false" FramesPerSecond="200"
                    AutoSize
    ="None" TransitionDuration="250" SuppressHeaderPostbacks="false" RequireOpenedPane="false">
                    
    <Panes>
                        
    <cc1:AccordionPane ID="AccordionPane1" runat="server" BackColor="red" Height="200">
                            
    <Header>
                                
    <img src="1.gif" onmouseover="this.src='2.gif';" onmouseout="this.src='1.gif';" />
                            
    </Header>
                            
    <Content>
                                
    <table>
                                    
    <tr>
                                        
    <td>
                                            ·白日依山尽
    </td>
                                    
    </tr>
                                    
    <tr>
                                        
    <td>
                                            ·欲穷千里目
    </td>
                                    
    </tr>
                                    
    <tr>
                                        
    <td>
                                            ·更上一层楼
    </td>
                                    
    </tr>
                                
    </table>
                            
    </Content>
                        
    </cc1:AccordionPane>
                        
    <cc1:AccordionPane ID="AccordionPane2" runat="server" BackColor="yellow" Height="200">
                            
    <Header>
                                
    <img src="1.gif" onmouseover="this.src='2.gif';" onmouseout="this.src='1.gif';" />
                            
    </Header>
                            
    <Content>
                                
    <table>
                                    
    <tr>
                                        
    <td>
                                            ·lightly come,lightly go
    </td>
                                    
    </tr>
                                    
    <tr>
                                        
    <td>
                                            ·It's all these for a reason
    </td>
                                    
    </tr>
                                    
    <tr>
                                        
    <td>
                                            ·ss
    </td>
                                    
    </tr>
                                
    </table>
                            
    </Content>
                        
    </cc1:AccordionPane>
                    
    </Panes>
                
    </cc1:Accordion>
            
    </div>
        
    </form>
    </body>

    经常看见导航使用伸缩效果。
    人的一生应该这样度过:当他回首往事的时候,不会因为虚度年华而悔恨,也不会因为碌碌无为而羞愧。
  • 相关阅读:
    Alcatraz的安装和使用
    TableView didSelectRowAtIndexPath 不执行
    iphone6 plus 为什么打印出的宽度是375
    GCD的同步异步串行并行、NSOperation和NSOperationQueue一级用dispatch_once实现单例
    strcmp传入nil导致崩溃
    修改工程名称
    Mac OS X 系统12个常用的文本编辑快捷键(移动、选中)
    删除配置文件解决OS X各种WiFi无法连接的顽固问题,解决MAC无法连接wif的情况 Preferences
    textViewDidChange: crashes in iOS 7
    iOS7隐藏状态栏 statusBar
  • 原文地址:https://www.cnblogs.com/htht66/p/1097863.html
Copyright © 2011-2022 走看看