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 A Button In The First Child DivSimulate An "include_once" For JqueryJquery Is Unable To Select Cells Outside Table Share You may like these postsAre There Any Good Jquery Drag And Drop File Upload Plugins?Sorting Divs Using JqueryHtml5 Canvas Filltext Disappears With Sketch.jsJquery Ajax Post To Mysql Table For Dynamic Table Data- Am I Doing This In Anything Like The Right Way? Post a Comment for "Animate Scroll Not Working In Firefox?"
Post a Comment for "Animate Scroll Not Working In Firefox?"