riloadr.jquery.js
/*
     * Tells if an image is in the viewport area or not (visible to the user).
     */
Tells if an image is in the viewport area or not (visible to the user).
Tells if an image is in the viewport area or not ( visible to the user ) .
function isInViewport(img, threshold) {
        var $img = $(img);
        return !isBelowTheFold($img, threshold) && !isAboveTheTop($img, threshold) &&
            !isRightOfFold($img, threshold) && !isLeftOfBegin($img, threshold);
    }
function isInViewport ( img , threshold ) { var $img = $ ( img ) ; return ! isBelowTheFold ( $img , threshold ) && ! isAboveTheTop ( $img , threshold ) && ! isRightOfFold ( $img , threshold ) && ! isLeftOfBegin ( $img , threshold ) ; }
Tells if an image is in the viewport area or not (visible to the user).
Tells if an image is in the viewport area or not ( visible to the user ) .