Posted By

oxxfreddyxxo on 06/01/12


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

BrockSamsom


Acordeon jQuery (normal)


 / Published in: jQuery
 

Acordeon jQuery normal

  1. <!-- Acordeon -->
  2. <script type="text/javascript">
  3. $(document).ready(function(){
  4. $("dd.uno").hide();
  5. $("#primero").slideToggle("slow");
  6. $("dt.uno a").click(function(){
  7. $(this).parent().next().siblings("dd.uno:visible").slideUp("slow");
  8. $(this).parent().next().slideToggle("fast");
  9. $(this).parent().siblings("dt.uno").addClass("current");
  10. $(this).parent().next().siblings("dt.uno").toggleClass("current");
  11. return false;
  12. });
  13. });
  14. </script>
  15. <!-- Fin Acordeon -->

Report this snippet  

You need to login to post a comment.