Difference between revisions of "Template:Genspace"

Line 148: Line 148:
 
             var resourceContent = data; // can be a global variable too...
 
             var resourceContent = data; // can be a global variable too...
 
             $('body').append($('<script>').html(data))
 
             $('body').append($('<script>').html(data))
        });
 
  
        d3.selectAll('.dropdown')
+
            d3.selectAll('.dropdown')
          .on('mouseover',function(){ this.classList.add('expand') })
+
              .on('mouseover',function(){ this.classList.add('expand') })
          .on('mouseout',function(){ this.classList.remove('expand') })
+
              .on('mouseout',function(){ this.classList.remove('expand') })
  
        var map = d3.select('#map')
+
            var map = d3.select('#map')
        var img = d3.select('#mapimg')
+
            var img = d3.select('#mapimg')
        var content = d3.select('#page')
+
            var content = d3.select('#page')
        size()
+
            size()
        function size () {
+
            function size () {
          img.style({
+
              img.style({
            width:window.innerWidth+'px',
+
                width:window.innerWidth+'px',
          })
+
              })
          // content.style({
+
              // content.style({
          //  height:img.node().getBoundingClientRect().height,
+
              //  height:img.node().getBoundingClientRect().height,
          // })
+
              // })
        }
+
            }
  
        d3.select(window).on('resize.index',size)
+
            d3.select(window).on('resize.index',size)
  
        d3.selectAll('video')
+
            d3.selectAll('video')
          .on('click',function(){
+
              .on('click',function(){
              this.play()
+
                  this.play()
          })
+
              })
 +
        });
 
     });
 
     });
 
     </script>
 
     </script>

Revision as of 17:11, 18 September 2015

<!DOCTYPE html> Gowanus SuperFUNd - Genspace iGEM 2015

The Gowanus Canal is a heavily polluted waterway that runs through Brooklyn NY. A designated superfund site, it is slated for cleanup but nearby residents are concerned about the results. Our team is developing a biosensor for waste pollution, giving the community real time access to data on the health of the canal. Additionally we have mined the canal for extremophiles with interesting properties.

Place sticky footer content here.