Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(e) {
- $('.tabs a').click(function(){
- $('.tabs a').removeClass('active');
- $(this).addClass('active');
- $('.tab').removeClass('active');
- $('.tab_box .tab').hide();
- $(".tab:eq("+$(this).index()+")").addClass("active").show();
- });
- $('.tab_box .tab').hide();
- $('.tab_box .tab.active').show();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement