hello mate,
really nice solution just want to know one thing can i set other tab by default instead of "all"
websamosa () - 7 years ago - Reply 0
Solved :)
<script>
$(document).ready(function(){
var valueOnLoad = "graphic";
$(".filter").not('.'+valueOnLoad).hide('3000');
$(".filter").not('.'+valueOnLoad).hide('3000');
$(".filter-button").click(function(){
var value = $(this).attr('data-filter');
$(".filter").not('.'+value).hide('3000')
$('.filter').filter('.'+value).show('3000')
});
});
</script>
websamosa () - 7 years ago - Reply 0