So this is the current code I have
$(document).ready(function() { $(\'.abouta\').click(function(){ $(\'html, body\').animate({scrollTop:308}, \'s
instead of
$('html, body').animate({scrollTop:xxx}, 'slow');
use
$('html, body').animate({scrollTop:$('#div_id').position().top}, 'slow');
this will return the absolute top position of whatever element you select as #div_id
#div_id