Animate Scroll Not Working In Firefox? March 05, 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 JugaMy Captcha Image Not Showing On My Page When The Captcha.php Is CalledCss Animation Rotate3d Not Working In SafariHow To Set The Background Color Of The Whole Page In Css Share You may like these postsSet Of Radio Buttons In "javascript"Scroll To Section By SectionPositioning Nav Bar At The Bottom Of The Viewport Which Also Always Remains At The Bottom Of The DivChanging Google Maps V3 Maker Icon The Correct Way? Post a Comment for "Animate Scroll Not Working In Firefox?"
Post a Comment for "Animate Scroll Not Working In Firefox?"