Animate Scroll Not Working In Firefox? June 11, 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 JugaHiding Empty Column In Html Table Using Jquery .. Doesn't Work :\Get Dimensions And Position Of An Element Using Pure JavascriptHtml5 Geolocation - Not Working All The Time On Ios Share You may like these postsJavascript Dateformat For Different TimezonesXterm.js: How To Hide Xterm-helper-textarea?How To Download A Big File From Dropbox With Node.js?Access Object From Javascript Devexpress Post a Comment for "Animate Scroll Not Working In Firefox?"
Post a Comment for "Animate Scroll Not Working In Firefox?"