Animate Scroll Not Working In Firefox? April 18, 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 JugaDisable Table-hover On Certain Row In Angular BootstrapSwitching Between Different Inputs In A Form Based On @media Width SizeBootstrap Template Not Getting Displayed Share You may like these postsFirefox/Safari Setting Height As [specified Height - Padding - Border] For Input[type=button]Need Help In Aligning Items Together In Bootstrap Grid LayoutDetect CSS Text-overflow Ellipsis With JQueryEmpty Space Coming Before Table Row When An Another Element In Row With Rowspan Has Bigger Data Post a Comment for "Animate Scroll Not Working In Firefox?"
Post a Comment for "Animate Scroll Not Working In Firefox?"