Animate Scroll Not Working In Firefox? September 16, 2024 Post a Comment html: Solution 1: Try this code$(document).ready(function () { // hide #back-top first $("#back-top").hide(); // fade in #back-top $(function () { $(window).scroll(function () { if ($(this).scrollTop() > 100) { $('#back-top').fadeIn(); } else { $('#back-top').fadeOut(); } }); // scroll body to 0px on click $('#topanimated a').click(function () { $('body,html').animate({ scrollTop: 0 }, 800); returnfalse; }); }); }); CopySet This ID in The Button id="back-top" Baca JugaIncrease Or Grow A Div Tag Width From Right To LeftHow Can I Send A File To Mail In Html Form Using Http Request In Nodejs Server Code?Html Template + Json Vs Server Html Share You may like these postsHow To Avoid Tab Stop On The Link?Jquery Autocomplete Suggestion Box Hidden Behind Bootstrap Nav BarPhp With Bootstrap CarouselTwitter Bootstrap Selectpicker Onchange Function Not Being Called Post a Comment for "Animate Scroll Not Working In Firefox?"
Post a Comment for "Animate Scroll Not Working In Firefox?"