Created
January 14, 2019 05:07
-
-
Save kenzo-tanaka/333bfd880aafb34b19a7d8e03da3d7be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
//この記事を書いた人の実装 | |
$('.ts-fab-latest-posts-link').click(function(){ | |
$('#ts-fab-bio-above').removeClass('show').addClass('hide'); | |
$('.profiletab').removeClass('active'); | |
$('#ts-fab-latest-posts-above').removeClass('hide').addClass('show'); | |
$(this).addClass('active'); | |
}); | |
$('.profiletab').click(function(){ | |
$('#ts-fab-bio-above').removeClass('hide').addClass('show'); | |
$('#ts-fab-latest-posts-above').removeClass('show').addClass('hide'); | |
$(this).addClass('active'); | |
$('.ts-fab-latest-posts-link').removeClass('active'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment