Plugin Directory

Changeset 871759


Ignore:
Timestamp:
03/08/2014 10:15:14 AM (12 years ago)
Author:
shariarbd
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scroll-top-and-bottom/trunk/tandb.php

    r860870 r871759  
    3131           
    3232                   $('.scroll-to-top ').click(function(){
    33                       $("html,documentElement").animate({ scrollTop: 0 }, 1000);
     33                      $("html,body").animate({ scrollTop: 0 }, 1000);
    3434                      return false;
    3535                   });
    3636                   $('.scroll-to-bottom').click(function(){
    37                       $('html,documentElement').animate({scrollTop: $(document).height()}, 1000);
     37                      $('html,body').animate({scrollTop: $(document).height()}, 1000);
    3838                      return false;
    3939                   });
Note: See TracChangeset for help on using the changeset viewer.