JAVASCRIPT   36

form js

Guest on 28th June 2022 04:41:07 AM

  1. $(window).on('load', function(){
  2.         var target = $('#top_message').offset().top - 100;
  3.         $('html,body').animate( { scrollTop:target } , 200);
  4.         return false;
  5. });

Raw Paste


Login or Register to edit or fork this paste. It's free.