Welcome to KIT-Kyoto Wiki Page!
This is our wiki page.
Line 218: | Line 218: | ||
$(window).scroll(function() { | $(window).scroll(function() { | ||
// If this section is in view | // If this section is in view | ||
- | if (($window.scrollTop() + $window.height()) > offsetCoords.top | + | if (($window.scrollTop() + $window.height()) > offsetCoords.top ){if((offsetCoords.top + $self.height()) > $window.scrollTop())) { |
var yPos = -($window.scrollTop() / 8); | var yPos = -($window.scrollTop() / 8); | ||
if ($self.attr('id') != 'top-first') { | if ($self.attr('id') != 'top-first') { | ||
Line 232: | Line 232: | ||
$sprite.css('top', yPos); | $sprite.css('top', yPos); | ||
}); | }); | ||
- | } | + | }} |
}); | }); | ||
}); | }); |
KIT-Kyoto
This is our wiki page.
About our team members,our university,and so on...
You want to know our project details, click here.
Modeling