<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#show_good_items").click(function(){
jQuery(".hidden-items").hide();
jQuery("#good_items.hidden-items").show();
jQuery("hidden-items").removeClass("current");
jQuery(this).addClass("current");
var fixer = jQuery("#header").height();
jQuery('html,body').animate({scrollTop: jQuery("#good_items").offset().top-fixer}, 500);
});
});
</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