Team:KIT-Kyoto/Test

From 2014.igem.org

(Difference between revisions)
Line 210: Line 210:
$(".logo").css({"left":"0"});
$(".logo").css({"left":"0"});
$(".top-content").css({"height":"800px"});
$(".top-content").css({"height":"800px"});
-
         $("#top-third img").css({width:"280px",height:"175px"});
+
         $("#top-third img").css({width:"280px",height:"175px",left:'0px'});
         $("#top-first article").css({width:"80%"});
         $("#top-first article").css({width:"80%"});
         $("#top-second article").css({width:"80%",left:'0px'});
         $("#top-second article").css({width:"80%",left:'0px'});
Line 255: Line 255:
         $(window).scroll(function() {
         $(window).scroll(function() {
-
            // 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()) {
                 if((offsetCoords.top + $self.height()) > $window.scrollTop()) {
Line 265: Line 264:
                 $self.css('backgroundPosition', coords);
                 $self.css('backgroundPosition', coords);
-
                // Check for other sprites in this section
 
                 $('.sprite', $self).each(function(index) {
                 $('.sprite', $self).each(function(index) {
                     var $sprite = $(this);
                     var $sprite = $(this);

Revision as of 19:30, 6 October 2014

Welcome to KIT-Kyoto Wiki Page!

This is our wiki page.

About us

About our team members,our university,and so on...

Project

You want to know our project details, click here.

Modeling

Modeling



kit