Plugin Directory

Changeset 533692


Ignore:
Timestamp:
04/19/2012 07:54:31 PM (14 years ago)
Author:
paulund
Message:

Updated JS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pinterest-scroll-to-top-plugin/trunk/js/script.js

    r531437 r533692  
    11/**
    2  * @author Paul
     2 * @author Paulund
    33 */
    44if (jQuery) {
     
    88        $(window).scroll(function(){
    99            if ($(this).scrollTop() > 200) {
    10                 $('.scrollToTop').fadeIn();
     10                $('.scrollToTop').css('bottom', '-10px');
    1111            } else {
    12                 $('.scrollToTop').fadeOut();
     12                $('.scrollToTop').css('bottom', '-100px');
    1313            }
    1414        });
Note: See TracChangeset for help on using the changeset viewer.