Changeset 534395
- Timestamp:
- 04/21/2012 09:00:43 AM (14 years ago)
- File:
-
- 1 edited
-
pinterest-scroll-to-top-plugin/trunk/js/script.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pinterest-scroll-to-top-plugin/trunk/js/script.js
r533692 r534395 8 8 $(window).scroll(function(){ 9 9 if ($(this).scrollTop() > 200) { 10 $('.scrollToTop'). css('bottom', '-10px');10 $('.scrollToTop').animate({'bottom':'-10px'}, 350); 11 11 } else { 12 $('.scrollToTop'). css('bottom', '-100px');12 $('.scrollToTop').animate({'bottom':'-100px'}, 350); 13 13 } 14 14 });
Note: See TracChangeset
for help on using the changeset viewer.