I have a list of links in div elements and I am using dropcontent.js to load content into another div when a link is clicked. I would now like to a
div
Here is how you scroll the link to the top:
$('.work a').click(function() { $('html,body').animate({scrollTop: $(this).offset().top}, 500); });