adchsm / Slidebars

Slidebars is a jQuery Framework for Off-Canvas Menus and Sidebars into your website or web app.
http://www.adchsm.com/slidebars/
MIT License
1.5k stars 307 forks source link

Use with Twitter Bootstrap Affix? #245

Open kntmrkm opened 8 years ago

kntmrkm commented 8 years ago

With Slidebars.js, Twitter Bootstrap affix does not works.

http://getbootstrap.com/javascript/#affix

Can I use affix with Slidebars.js?

Without slidebars.css. affix works well.

This is my code.

<div id="sidebar-affix-wrapper">
  <div id="sidebar-affix">
    <nav id="sidebar-nav"></nav>
  </div>
</div>
var affixElement = $('#sidebar-affix');
  affixElement.affix({
    offset: {
      top: 50,
      bottom: function () {
        return (this.bottom = $('#footer').outerHeight(true));
      }
    }
  });
bugging commented 8 years ago

I'm experiencing the same issue. Any idea @adchsm?

bugging commented 8 years ago

Unfortunate to not see some information on this issue. Has @adchsm abandon support of Slidebars? I really hope not :(