<script type="text/javascript">
jQuery(document).ready(function($){
$('.click-item').click(function(){
$(".click-item").removeClass("current");
$(this).addClass("current");
$('.hidden-block').removeClass('active-block');
var dataUID = $(this).data('uid');
$('.hidden-block[data-uid="' + dataUID + '"]').addClass('active-block');
});
});
</script>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter