javascript - Bootstrap Affix menu bouncing between upper and lower limits? -
i'm having problems using bootstrap affix feature on sidebar menu. want menu fix position scroll down long content page, stop when footer. have tried setting top , bottom offsets so:
$('#sidebar-subnav').affix({ offset: { top: $('#sidebar-subnav').offset().top, bottom: $('footer').outerheight(true) } });
i set when scroll down, once side nav @ top of window locks in place should stop when hits footer. when view in browser though, keeps blinking bouncing between upper , lower bound. thinking didn't implement correctly, haven't had luck fixing it. can me out on this? see in action go http://www.thecafa.org/about/news/news-test
thanks,
brian
Comments
Post a Comment