Team:Cornell
From 2014.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function () { | $(document).ready(function () { | ||
- | $(".carousel").css("height", $(window). | + | $(".carousel").css("height", $(window).width()*(6/17)); |
}); | }); | ||
$( window ).resize(function() { | $( window ).resize(function() { | ||
- | $(".carousel").css("height", $(window). | + | $(".carousel").css("height", $(window).width()*(6/17)); |
}); | }); | ||
</script> | </script> |
Revision as of 16:16, 13 October 2014