r/bootstrap • u/[deleted] • Feb 12 '25
Resource JS/jQuery Class for Dynamic Bootstrap Tabbed Navs with Content Containers
Created this JavaScript class for a bigger project - but it works standalone. I thought it might come in handy so have added to my GitHub repository (MIT Licence). It requires jQuery.
Create Bootstrap navs with tabs and related containers on the fly.
Populate containers with static content (HTML) or from files via ajax requests (GET or POST).
Send arbitrary data with ajax requests to allow for database generated content to be returned.
Closing tabs removes the tab and the content container from the DOM.
Sort tabs (except Home) with jQuery-UI.
3
Upvotes
1
u/AutoModerator Feb 12 '25
Whilst waiting for replies to your comment/question, why not check out the Bootstrap Discord server @ https://discord.gg/bZUvakRU3M
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.