Posted By

albertomori on 01/16/09


Tagged

toggle jquery


Versions (?)

jQuery scrip to make H5 toggable


 / Published in: JavaScript
 

  1. <script type="text/javascript" src="/operascroce/misc/ui/ui.core.js"></script>
  2. <script type="text/javascript" src="/operascroce/misc/ui/ui.accordion.js"></script>
  3. <p>
  4. <link rel="stylesheet" href="/operascroce/misc/demos.css" type="text/css" />
  5. <script type="text/javascript">
  6. jQuery(document).ready(function(){
  7. $("#accordion h5").click(function() {
  8. $(this).next().toggle("slow");
  9. }).next().hide();
  10. });
  11. </script></p>

Report this snippet  

You need to login to post a comment.