本文介绍了Accordian在Ajax ToolKit Dosent上点击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.accordion {
           width: 400px;
       }

       .accordionHeader {
           border: 1px solid #2F4F4F;
           color: white;
           background-color: #2E4d7B;
           font-family: Arial, Sans-Serif;
           font-size: 12px;
           font-weight: bold;
           padding: 5px;
           margin-top: 5px;
           cursor: pointer;
       }

       .accordionHeaderSelected {
           border: 1px solid #2F4F4F;
           color: white;
           background-color: #5078B3;
           font-family: Arial, Sans-Serif;
           font-size: 12px;
           font-weight: bold;
           padding: 5px;
           margin-top: 5px;
           cursor: pointer;
       }

       .accordionContent {
           background-color: #D3DEEF;
           border: 1px dashed #2F4F4F;
           border-top: none;
           padding: 5px;
           padding-top: 10px;
       }

<asp:Accordion   
    ID="Accordion1"   
    CssClass="accordion"  
    HeaderCssClass="accordionHeader"  
    HeaderSelectedCssClass="accordionHeaderSelected"  
    ContentCssClass="accordionContent"   
    runat="server">  
<panes>  
    <asp:AccordionPane ID="AccordionPane1" runat="server">  
        <Header>Employee</Header>  
        <content>  
     
         ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna.  
        Nunc viverra imperdiet enim. Fusce est. Vivamus a tellus.  
        Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin pharetra nonummy pede. Mauris et orci.              
        </content>  
      
    <asp:AccordionPane ID="AccordionPane2" runat="server">  
        <Header>Pane 2</Header>  
        <content>  
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna.  
        Nunc viverra imperdiet enim. Fusce est. Vivamus a tellus.  
        Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin pharetra nonummy pede. Mauris et orci.  
        </content>  
      
    <asp:AccordionPane ID="AccordionPane3" runat="server">  
        <Header>Pane 3</Header>  
        <content>  
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna.  
        Nunc viverra imperdiet enim. Fusce est. Vivamus a tellus.  
        Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin pharetra nonummy pede. Mauris et orci.  
        </content>  
      
</panes>  

推荐答案


这篇关于Accordian在Ajax ToolKit Dosent上点击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 17:53