<ul class="accordion" data-accordion=""> <li class="accordion-navigation"> <a href="#demo" style="text-decoration:none;">Accordion 1</a> <div id="demo" class="content active"> Demo 1 - Lorem ipsum dolor sit amet.... </div> </li> <li class="accordion-navigation"> <a href="#demo2" style="text-decoration:none;">Accordion 2</a> <div id="demo2" class="content"> Demo 2 - Lorem ipsum dolor sit amet.... </div> </li> <li class="accordion-navigation"> <a href="#demo3" style="text-decoration:none;">Accordion 3</a> <div id="demo3" class="content"> Demo 3 - Lorem ipsum dolor sit amet.... </div> </li> </ul> <!-- 初始化 Foundation JS --> <script> $(document).ready(function() { $(document).foundation(); }) </script>