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') | |
− | + | .on('mouseover',function(){ this.classList.add('expand') }) | |
− | + | .on('mouseout',function(){ this.classList.remove('expand') }) | |
− | + | var map = d3.select('#map') | |
− | + | var img = d3.select('#mapimg') | |
− | + | var content = d3.select('#page') | |
− | + | size() | |
− | + | function size () { | |
− | + | img.style({ | |
− | + | width:window.innerWidth+'px', | |
− | + | }) | |
− | + | // content.style({ | |
− | + | // height:img.node().getBoundingClientRect().height, | |
− | + | // }) | |
− | + | } | |
− | + | d3.select(window).on('resize.index',size) | |
− | + | d3.selectAll('video') | |
− | + | .on('click',function(){ | |
− | + | this.play() | |
− | + | }) | |
+ | }); | ||
}); | }); | ||
</script> | </script> |
Revision as of 17:11, 18 September 2015
<!DOCTYPE html>
SuperFUNd Gowanus!
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.