Changeset 533692
- Timestamp:
- 04/19/2012 07:54:31 PM (14 years ago)
- File:
-
- 1 edited
-
pinterest-scroll-to-top-plugin/trunk/js/script.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pinterest-scroll-to-top-plugin/trunk/js/script.js
r531437 r533692 1 1 /** 2 * @author Paul 2 * @author Paulund 3 3 */ 4 4 if (jQuery) { … … 8 8 $(window).scroll(function(){ 9 9 if ($(this).scrollTop() > 200) { 10 $('.scrollToTop'). fadeIn();10 $('.scrollToTop').css('bottom', '-10px'); 11 11 } else { 12 $('.scrollToTop'). fadeOut();12 $('.scrollToTop').css('bottom', '-100px'); 13 13 } 14 14 });
Note: See TracChangeset
for help on using the changeset viewer.