and sets the page margin/padding to compensate.
problem is its setting it to 32px! How can the 2nd part which returns 50 in scratchpad put 32 when it writes it?
Code: Select all
<script type="text/javascript">
"use strict";
<!-- find out how high the header is -->
jQuery(document).ready(function () {
jQuery('#main').css({"padding-bottom": jQuery('nav.navbar-fixed-bottom').outerHeight( true )});
});
</script>