COL·LECTIU AGENTS MEDIAMBIENTALS
Comunitat Valenciana

VOLVER ARRIBA

Click para subir - See more at: http://www.masquewordpress.com/scroll-con-jquery-sin-plugins/#sthash.oZaYRafX.dpuf $('document').ready(function(){ $('.top').click(function() { var elementClicked = $(this).attr("href"); var destination = $("."+elementClicked).offset().top; $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-20}, 500 ); return false; }); }); - See more at: http://www.masquewordpress.com/scroll-con-jquery-sin-plugins/#sthash.oZaYRafX.dpuf