Answers for "accordian menu"

1

html faq

<html>
  <body bgcolor="E1C699">
  <ul>
    <li><strong>What is (WEBSITE)?</strong> <br> <br><em><strong>(WEBSITE)</strong> is a/an (DEATILS).</em><br></li>
    <br><li><strong>How do I post a (na)</strong> <br> <br><em>To create a (na), simply, go to the <strong>(website) homepage</strong> and click "Create a (na)"</em></li>
  </ul>
<style>
        body {
          background-color: navy;
        }
      </style>
  </body>
</html>
Posted by: Guest on June-21-2020
-2

jquery accordion

<script> 

  $(function() { 

    $('.faqAnswer').slideUp();    // for content 

    $(".faqTitle").on( "click", function() {  // for title 

      var x = $(this).next(); 

      $('.faqAnswer').not(x).slideUp();           

      $(this).next().slideToggle(200); 

    }); 

  }); 

</script>
Posted by: Guest on December-17-2020

Browse Popular Code Answers by Language