Giter Site home page Giter Site logo

droptabs's People

Contributors

alexandruboboc avatar eckerson 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

Watchers

 avatar  avatar  avatar

droptabs's Issues

Plugin does not work when using BootStrap Remote Tabs

Hello,

Thanks for taking the time to make this plugin. After doing a lot of research, your plugin appears to do exactly what I need.

Unfortunately I tried for around 5 hours to try and see why this plugin is unable to work with AJAX loaded tabs. (I'm using this plugin https://github.com/LeaseWeb/bootstrap-remote-data). From what I can see, the plugin doesn't break the markup however I was unable to determine why I was getting the radical behaviour, ie no ajax content able to be loaded, dropdown menu renaming itself to tabs that werent in the menu yet, etc.

Hopefully one day you can add support for remote tabs as working on the plugin is beyond my skills.

Tim

Dropdown Text as Parameter

Hi

I love your plugin.
Here's a small improvement:

The default text of the dropdown-tab is hardcoded as "Dropdown"
on line 58 $('>a', dropdown).html('Dropdown <b class="caret"></b>');

For multilanguage purposes it would be a nice feature to make this configurable
ie: add after Line 16 this: dropdownLabel : "Dropdown",
and change the above code to $('>a', dropdown).html(s.dropdownLabel + ' <b class="caret"></b>');

then this can be set by parameters: $('.droptabs').droptabs({dropdownLabel: 'myLabel'});

hope this helps
Dirko

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.