Activate section of a jQuery Accordion


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <script type="text/javascript">
  2. jQuery().ready(function(){
  3.  
  4. jQuery("#shopNavigation").activate("#future_menu");
  5.  
  6. //Put the ID of the link that is the current area here
  7. $("#thruster").addClass("current");
  8. });
  9. </script>

URL: http://bassistance.de/jquery-plugins/jquery-plugin-accordion/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.