nwhite89 / bootstrap-tabdrop Goto Github PK
View Code? Open in Web Editor NEWA dropdown tab tool for @twitter bootstrap forked from Stefan Petre's (of eyecon.ro)
A dropdown tab tool for @twitter bootstrap forked from Stefan Petre's (of eyecon.ro)
There seems to be a problem with the minified script (build/js/bootstrap-tabdrop.min.js). When concatenated inside a common js file in a page, ti causes an "undefined function" error in the plugin next to it in the concatenated file.
We encounter this error in the following circumstances: we have a symfony PHP application, in which all js assets on a page are concatenated using assetic.
The error does not occur if:
When one of the tabs is a dropdown, and when you resize your screen the bootstrap-tabdrop's dropdown breaks the tab dropdown and all the elements under it (second level - let's say) moves on the same level as the other tabs.
Check the example from my fiddler: https://jsfiddle.net/4neLL6kq/
<div class="tabbable tabbable-tabdrop">
<ul class="nav nav-tabs no-margin no-border">
<li class="">
<a href="#tab1" data-toggle="tab" aria-expanded="false">Detail</a>
</li>
<li>
<a href="#tab2" data-toggle="tab">
<i class="fa fa-cart-arrow-down"></i> More
</a>
</li>
<li class="dropdown-submenu pull-left">
<a href="javascript:;">Transfer To</a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">A</a></li>
<li><a href="#">B</a></li>
<li><a href="#">C</a></li>
<li><a href="#">D</a></li>
</ul>
</li>
</ul>
</div>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.