Horje
how to add back to top button in html Code Example
how to add back to top button in html
// BACK TO TOP BUTTON WITH JQUERY //
const win = $(window);
const b2t = $('.back-top');
const html_body = $('html, body');
//back to top fadetoogle//
win.scroll(() => win.scrollTop() > 100 ? b2t.fadeIn() : b2t.fadeOut());
//back to top effect//
b2t.click(() => html_body.animate({scrollTop: 0}, 2500));




Html

Related
wordpress customizer sections default Code Example wordpress customizer sections default Code Example
wire:click with value Code Example wire:click with value Code Example
change required message html Code Example change required message html Code Example
react native force light mode Code Example react native force light mode Code Example
compile haml to html Code Example compile haml to html Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9