Template:Queens Canada/subheader
From 2013.igem.org
(Difference between revisions)
(2 intermediate revisions not shown) | |||
Line 143: | Line 143: | ||
.header-logo{ | .header-logo{ | ||
text-align:center; | text-align:center; | ||
+ | padding-left:70px; | ||
} | } | ||
.topmenu-bg{ | .topmenu-bg{ | ||
Line 240: | Line 241: | ||
<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> |
Latest revision as of 01:59, 27 September 2013