Giter Site home page Giter Site logo

vtimbuc / bootstrap-responsive-tabs Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 37.0 33 KB

"Bootstrap Responsive Tabs" is a simple jQuery plugin that switches the default bootstrap tabs to accordions on the viewports that you choose to.

Home Page: http://vtimbuc.github.io/bootstrap-responsive-tabs/

JavaScript 35.91% HTML 64.09%

bootstrap-responsive-tabs's Introduction

bootstrap-responsive-tabs's People

Contributors

mvpasarel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bootstrap-responsive-tabs's Issues

Not working in modal

After initializing responsive tabs using $('.responsive-tabs').responsiveTabs({ accordionOn: ['xs'] }); and then display a modal, the tabs are not responsive in an 'xs' view.

Is re-initialization required after the modal is shown?

Active accordion header visible on tabs

In bootstrap navs.less this style creates problems:
.tab-content {
> .active {
display: block;
}
}

It is surpresses display: none:
.responsive-tabs-container .accordion-link {
display: none;
}

A fix to the problem is adding ".tab-content >" like:
.responsive-tabs-container .tab-content > .accordion-link {
display: none;
}

NPM installer

Can you add this to NPM ? I can send a PR with package.json file if you're interested.

Button loses Clicked event when is accordeon

One of my tabs contain a form and a panel with panel footer and inside of my panel footer a button .
I attached a click event to the button.
When I resize the window and the tab turns into accordion, the button loses his event.
When I resize it back to tab... the event is working

Here is the fiddle:
http://jsfiddle.net/vwmgj9ap/

All regards

Accordion panel won't close when clicked

I am having the same issue as wesearl91. When the accordion is loaded, if you click on a panel it will open, but if you click on it again it will not close. The normal bootstrap accordion functions this way, so not sure why this one is not. Any ideas?

Bower

Any possibility to add bower.json file please ? Plugin is very useful :)

Thank you.
Ivan

Close open accordion on click/tap

At the moment if you click the active accordion it remains open, and almost refreshes. Is it possible to be able to close the accorddion on click, also how would you go about having the accordions automatically closed on mobile, until opened?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.