js/js.js
// When the user clicks on the button, scroll to the top of the document

When the user clicks on the button, scroll to the top of the document
When the user clicks on the button scroll to the top of the document
function topFunction1() {  
var scrollHeight = $('.frame').prop("scrollHeight");
$('html,body').animate({scrollTop:scrollHeight}, 1200);
var scrollHeight = $('.frame1').prop("scrollHeight");
$('html,body').animate({scrollTop:scrollHeight}, 1200);
$('html,body').animate({scrollTop:$('.tpbr').offset().top},1200);
$('html,body').animate({scrollTop:$('.inputfmf').offset().top},1200);
}
function topFunction1 ( ) { var scrollHeight = $ ( '.frame' ) . prop ( "scrollHeight" ) ; $ ( 'html,body' ) . animate ( { scrollTop : scrollHeight } , 1200 ) ; var scrollHeight = $ ( '.frame1' ) . prop ( "scrollHeight" ) ; $ ( 'html,body' ) . animate ( { scrollTop : scrollHeight } , 1200 ) ; $ ( 'html,body' ) . animate ( { scrollTop : $ ( '.tpbr' ) . offset ( ) . top } , 1200 ) ; $ ( 'html,body' ) . animate ( { scrollTop : $ ( '.inputfmf' ) . offset ( ) . top } , 1200 ) ; }
When the user clicks on the button, scroll to the top of the document
When the user clicks on the button scroll to the top of the document