javascript - jQuery Sticky Plugin bottomSpacing -


i trying make sticky banner @ bottom of site, happens not super-easy unless use jquery sticky plugin. problem sticky doing fine sticky header (topspacing parameter), has problems bottomspacing parameter, working me topspacing. i've done in example, header looks like:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.sticky.js"></script> <script>     $(document).ready(function(){         $("#banner").sticky({topspacing:0});     }); </script> 

so briefly, works fine sticky header, replacing topspacing bottomspacing doesn't change @ , in opinion should make banner stick bottom instead of top. doing wrong?

@edit here's code i'm using: http://pastebin.com/6fn0fjrp


Comments