Template:Queens Canada/subheader
From 2013.igem.org
(Difference between revisions)
Line 240: | Line 240: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | $(document).ready( | + | $(document).ready(function(){ |
+ | $(window).resize(function(){ | ||
+ | |||
+ | if ($(window).width() < 1000){ | ||
+ | $("#top-section").hide(); | ||
+ | $(".menuc").hide(); | ||
+ | $(".disa").show(); | ||
+ | } | ||
+ | else{ | ||
+ | $("#top-section").show(); | ||
+ | $(".menuc").show(); | ||
+ | $(".disa").hide(); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | </body> | ||
+ | </html> |
Revision as of 02:14, 25 September 2013