9 lines
No EOL
282 B
JavaScript
9 lines
No EOL
282 B
JavaScript
$(document).on('page:load', buttons_anchor);
|
|
$(document).ready(buttons_anchor);
|
|
|
|
function buttons_anchor(){
|
|
$("#cgu_menu_block").on('click', 'a', function(){
|
|
event.preventDefault();
|
|
$('html,body').animate({scrollTop:$(this.hash).offset().top-80}, 500);
|
|
});
|
|
} |