This is my sidebar:
<ul id="sidebarupcoming">
<li><a href="#week36">WEEK 36 </a></li>
<li><a href="#week37">WEEK 37 </a></li>
<li><a href="#week38">WEEK 38 </a></li>
</ul>
And I tried to hide it with this script
<!– Scroll –>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="http://static.tumblr.com/fgfmpgh/Qqfkzalyi/jquery.scroll.pack.js"></script>
<script type="text/javascript" src="http://static.tumblr.com/fgfmpgh/7xukzalz8/jquery.easing.js"></script>
<script type="text/javascript">
$(function() {
$("#sidebarupcoming").scrollToTop({speed:500,start:700});
});
</script>
<!– / Scroll –>
With this script the 'show on scroll' function works, but when you click on the links the 'jump to name tag' won't work, instead, the page will jump to the top. When I remove the script, jumping to the name tag works, but the sidebar isn't hidden anymore. How do I get this to work? (that this, sidebar 'showing on scroll' and jumping to the right name tag?)