Page jumps to the top
jquery:
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script> <script> $(function() { $( "#MobileButton" ).click(function() { $( "#MobileMenu" ).toggle(); }); }); </script>
<a id="MobileButton" href="#">Show/Hide</a> <div id="MobileMenu">Menu Goes Here</div>
#MobileButton { } #MobileMenu { width: 100%; background-color: #000; height: 100px; display: none; position: fixed; z-index: 2; margin-top: 100px; } .NavigationMobileScreenWrapper { float: left; width: 15%; max-width: 30px; margin-top: 40px; margin-left: 10%; } .FloatingLogoAndNavigationWrapper { width: 100%; height: 110px; background-color: #333333; position: fixed; top: 0; z-index: 2; }
-
cisrony -
Thanks - 1 reply
{{ DiscussionBoard.errors[10146922].message }}-
jbearnolimits -
Thanks
{{ DiscussionBoard.errors[10147354].message }} -
-
-
jbearnolimits -
Thanks
{{ DiscussionBoard.errors[10148127].message }} -
-
kami2k -
Thanks
{{ DiscussionBoard.errors[10148336].message }} -