Template:Queens Canada/subheader
From 2013.igem.org
(Difference between revisions)
Line 197: | Line 197: | ||
<body> | <body> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | $(document).ready(function(){ | ||
+ | |||
+ | $(window).resize(function(){ | ||
+ | |||
+ | if ($(window).width() < 950){ | ||
+ | $("#top-section").hide(); | ||
+ | $(".topmenu-bg").hide(); | ||
+ | } | ||
+ | else{ | ||
+ | $("#top-section").show(); | ||
+ | $(".topmenu-bg").show(); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 16:10, 18 July 2013