diff --git a/client/index.html b/client/index.html index af21071..875db9b 100644 --- a/client/index.html +++ b/client/index.html @@ -13,6 +13,12 @@ + +
diff --git a/client/js/homeController.js b/client/js/homeController.js index 1adc008..ee847df 100644 --- a/client/js/homeController.js +++ b/client/js/homeController.js @@ -198,11 +198,11 @@ saburiKonnect.controller('homeController', function($scope, $location, NewOrgani }); var msft = data.filter(function(d) { - return d.symbol == "MSFT"; + return d.symbol == "IBM"; }); var ibm = data.filter(function(d) { - return d.symbol == 'IBM'; + return d.symbol == 'MSFT'; }); // Compute the minimum and maximum date, and the maximum price. @@ -272,7 +272,7 @@ saburiKonnect.controller('homeController', function($scope, $location, NewOrgani /* Create a shared transition for anything we're animating */ var t = svg.transition() - .delay(750) + .delay(3000) .duration(6000) .ease('linear') .each('end', function() { @@ -321,6 +321,18 @@ saburiKonnect.controller('homeController', function($scope, $location, NewOrgani NewOrganisationFactory.addSponsor($scope.sponsor); }; + + $(window).on('scroll', function() { + var y_scroll_pos = window.pageYOffset; + var scroll_pos_test = 800; // set to whatever you want it to be + + if(y_scroll_pos > scroll_pos_test) { + $("#chart").hide() + } else { + $("#chart").show() + } + }); + }) saburiKonnect.factory('NewOrganisationFactory',function($http,$location){ diff --git a/client/partials/home.html b/client/partials/home.html index 2e45315..340dcc7 100644 --- a/client/partials/home.html +++ b/client/partials/home.html @@ -25,7 +25,7 @@ .kids { width: 100%; margin-top: 40%; - margin-bottom: 40%; + /*margin-bottom: 40%;*/ height: 800px; z-index: 3; background: url(./assets/texture.gif) 50% 0 #fbf9f6 @@ -113,6 +113,9 @@ margin-right: 100px; float: right; } +.messageText { + margin-top: 150px; +}
+
+

Saburi is a sanskrit word that translates to 'patience and perseverance' the qualities needed throughout the path to reach our goal.

+
- - - +

Literacy rate in India

+
+ +
+