Team:Cornell
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
$(document).ready(function () { | $(document).ready(function () { | ||
$(".carousel").css("height", $(window).height()-74); | $(".carousel").css("height", $(window).height()-74); | ||
- | + | }); | |
+ | |||
+ | $( window ).resize(function() { | ||
+ | $(".carousel").css("height", $(window).height()-74); | ||
}); | }); | ||
</script> | </script> |
Revision as of 03:35, 13 October 2014