Changeset 871759
- Timestamp:
- 03/08/2014 10:15:14 AM (12 years ago)
- File:
-
- 1 edited
-
scroll-top-and-bottom/trunk/tandb.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
scroll-top-and-bottom/trunk/tandb.php
r860870 r871759 31 31 32 32 $('.scroll-to-top ').click(function(){ 33 $("html, documentElement").animate({ scrollTop: 0 }, 1000);33 $("html,body").animate({ scrollTop: 0 }, 1000); 34 34 return false; 35 35 }); 36 36 $('.scroll-to-bottom').click(function(){ 37 $('html, documentElement').animate({scrollTop: $(document).height()}, 1000);37 $('html,body').animate({scrollTop: $(document).height()}, 1000); 38 38 return false; 39 39 });
Note: See TracChangeset
for help on using the changeset viewer.