Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Here is your code:
$(".tabs_header .wrapper .tab").click(function() {
$(".tabs_header .wrapper .tab").removeClass("active").eq($(this).index()).addClass("active");
$(".tabs_header .tab_item").hide().eq($(this).index()).fadeIn()
}).eq(0).addClass("active");
.tabs_header .tab_item:first-of-type {
display: block;
}
.tabs_header .tab_item {
display: none;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question