Difference between revisions of "Team:WashU StLouis"

m
m
Line 198: Line 198:
 
     $('[class^="quotes_container"]').each(function () {
 
     $('[class^="quotes_container"]').each(function () {
 
                 //console.log($(window).scrollTop() + $(window).height() - $(this).offset().top - $(this).height());
 
                 //console.log($(window).scrollTop() + $(window).height() - $(this).offset().top - $(this).height());
var bottomMargin = ($(window).scrollTop() + $(window).height() - $(this).offset().top - $(this).height());
+
var bottomMargin = ($(window).scrollTop() + $(window).height() - $(this).offset().top);
console.log($(window).scrollTop());
+
//console.log($(window).scrollTop());
console.log($(window).height());
+
//console.log($(window).height());
console.log($(this).offset().top);
+
//console.log($(this).offset().top);
console.log($(this).height());
+
 
console.log(bottomMargin);
 
console.log(bottomMargin);
 
         if (($(this).offset().top - $(window).scrollTop()) < 500) {
 
         if (($(this).offset().top - $(window).scrollTop()) < 500) {

Revision as of 16:53, 8 August 2016

SUPER CELLS

WashU and PSU

"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."

"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."

"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."

"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."