I have the following script,
<script>
$(document).ready(function(){
$('#yolloSwag a').click(function(){
$('html, body').animate({scrollTop: $('#Dailyoffers_X69').offset().top}, 999, "easeInOutQuad" );
return false;});
});
</script>
This perfectly works fine and scrolls to the div#Dailyoffers_X69.
But I was wondering if it is possible to define the offset value relative to the div#Dailyoffers_X69, say +-10px etc.