Bootstrap multifunctional custom tab plugin
A powerful jQuery tab code, Bootstrap custom tab plug-in supports closing, adding, switching to positioning, positioning to current, closing other, closing all, sliding left, sliding right, getting the left and right sliding step value, and getting the current option Card ID, get all tab widths, get all tab function codes, etc.
js code
<script type="text/javascript" src="js/nth.tabs.min.js"></script> <script> var nthTabs; $(function () { //一个低门槛的演示,更多需求看源码 //基于bootstrap tab的自定义多标签的jquery实用插件,滚动条依赖jquery.scrollbar,图标依赖font-awesome nthTabs = $("#editor-tabs").nthTabs(); nthTabs.addTab({ id:'a', title:'孙悟空', content:'看我七十二变', }).addTab({ /*换个姿势*/ id:'b', title:'猪八戒-关不掉', content:'高老庄娶媳妇', active:true, allowClose:false, }).addTab({ id:'c', title:'沙和尚', content:'请叫我大叔', }).addTab({ id:'d', title:'唐僧', content:'光头一个', }).addTab({ id:'e', title:'武松', content:'打虎猛汉', }).addTab({ id:'f', title:'潘金莲', content:'大美女', }).addTab({ id:'g', title:'来个标题长一点的的的来个标题长一点的的的', content:'你赢了', }).addTab({ id:'h', title:'支持连贯操作', content:'没错就是这么爽', }).addTab({ id:'i', title:'欢迎提意见', content:'一定一定', }).addTab({ id:'j', title:'熬夜写的啊', content:'码农苦逼~', }).setActTab("#c"); }); </script>
All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn
Related Article
16 May 2016
Bootstrap must learn the tab page (Tab) plug-in every day. Through this plug-in, you can place content in tabs, capsule tabs or even drop-down menu tabs. Interested friends can refer to it.
16 May 2016
When using it, you can refer to some other special effects on this site.
07 Mar 2018
We all know that canvas is in HTML5. Canvas can make many special effects and other magical things. Of course, JavaScript can also do it. But have you ever played with canvas and JavaScript to achieve image special effects? If not, let’s take a look!
26 Aug 2023
How to implement image and video special effects in C++? With the development of modern science and technology today, image and video special effects play an important role in entertainment, advertising, education and other fields. As a powerful programming language, C++ provides many tools and libraries for processing images and videos. This article will introduce how to implement image and video special effects in C++ and provide some code examples. 1. Image special effects to realize image reading and saving. To realize image special effects, you first need to read and save images. There are many image processing libraries in C++ such as OpenCV and
21 Sep 2023
How to use Vue to implement digital animation special effects Preface: In web applications, digital animation special effects are often used to display statistical data, countdowns, or other scenes that need to highlight the effects of digital changes. As a popular JavaScript framework, Vue provides rich data binding and transition animation functions, which is very suitable for realizing digital animation special effects. This article will introduce how to use Vue to implement digital animation special effects and provide specific code examples. 1. Set initial data: First, we need to set a variable in the Vue component
18 Apr 2024
1. Production - users only need to upload their own selfies or other people's portraits to convert them with one click, and the operation is very convenient; 2. Popularity - not only Disney special effects faces, but also other popular special effects are available at any time. Experience; In this experiment, you can also make filters by yourself. You can freely set various contents according to your own preferences, and the filter style can be changed freely. 1. After downloading and installing toonme, you can enter the software and select the special effects filter you want. 2. Check the photos you want to create and choose to start creating them immediately. 3. Wait for a moment, and the processed special effects picture will appear. 4. There are save local and share buttons in the upper right corner. The production of Douyin Disney special effects face and the introduction of software,
24 Oct 2017
Class names corresponding to various special effects in wow.js 1. (When the page scrolls down, some elements will produce small animation effects. Although the animation is relatively small, it can attract your attention.) Just learned about wow.js With this plug-in, when I visited other websites before and pulled down the scroll bar, various effects would appear, which felt very special...
26 Aug 2023
How to implement audio special effects and audio processing in C++? Introduction: With the continuous development of technology, audio special effects and audio processing are becoming more and more important in modern music production, film and television post-production and other fields. As an efficient programming language, C++ can help us implement various audio effects and audio processing functions. This article will introduce how to implement audio special effects and audio processing in C++ and provide relevant code examples. 1. Audio special effects to achieve the sound reverberation effect. The sound reverberation effect is often used in music production and film and television post-production.
18 Jan 2017
This is a set of very cool animation effects for vertical paging navigation buttons. This set of special effects has 18 general effects and can be used to create paging navigation buttons for slideshows, page switching, and other container component switching.
Hot Tools
jQuery+Html5 realizes beautiful confession animation code
jQuery+Html5 implements beautiful confession animation code, the animation effect is great, a must-have for programmers to confess!
Couple's romantic confession js special effects code
JS special effects code for couples' romantic confession. Such special effects can be used on wedding photography websites or placed on personal websites. It is also a good special effect. PHP Chinese website recommends downloading!
Simple js love confession artifact
Simple native js love confession artifact
Bunker's html5 particle animation expressive effects
Bunker's html5 particle animation expression special effects code, the animated special effects text can be changed in the code, you can make a page where you can customize text input, it should be very popular, this HTML5 special effect is very beautiful.
jQuery responsive background login interface template
jQuery responsive backend login interface template html source code. The login page uses jquery to verify the form and determine whether the username and password meet the requirements. Usually the login page is a page that must be used on corporate websites or mall websites. Responsive backend pages, When the browser zooms in or out, the background will resize the image according to the browser! PHP Chinese website recommends downloading!