Animate Scroll Not Working In Firefox? August 11, 2022 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); return false; }); }); }); Copy Set This ID in The Button id="back-top" Baca JugaDetect Css Text-overflow Ellipsis With JqueryAnimate A Div Background ImageIs It Possible To Apply A Blur Filter To A Background-image Of A Div With Position:fixed, From Another Div Rendered On Top Of It? Share You may like these postsBootstrap Navbar With Variable And Fixed Width Buttons?Bootstrap Align Image With TextHow To Add Row After Every 3 Columns In AngularIndividual Date, Month And Year Dropdowns In Bootstrap Post a Comment for "Animate Scroll Not Working In Firefox?"
Post a Comment for "Animate Scroll Not Working In Firefox?"