Animate Scroll Not Working In Firefox? June 28, 2023 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 JugaSyntaxerror: Unexpected Identifier 'typeit'. Import Call Expects Exactly One ArgumentSet Cookie Value In Javascript And Displaying It With PhpHow To Unable Button If Textbox Suddenly Have Values Share You may like these postsHTML Errors When Truncating?Catch The Window.open From JavascriptHow To Create A Dollar Amount Input Field In An HTML Form?Check If Div With Specific Class Exists In The Page Post a Comment for "Animate Scroll Not Working In Firefox?"
Post a Comment for "Animate Scroll Not Working In Firefox?"