jQuery code for opening multiple tab pages
Introduce a single plug-in or all plug-ins at once
Each plug-in can be introduced into the page individually (pay attention to the dependencies between plug-ins), or introduced at once. Both the bootstrap.js and bootstrap.min.js files contain all plugins in one file (the former is the uncompressed version, the latter is the compressed version).
Data property
You can use all Bootstrap plugins just through the data attribute API without writing a single line of JavaScript code. This is the first-class API in Bootstrap and should be your preferred way.
As a special case, in some cases it may be necessary to specifically disable this default action. Therefore, we specially provide a way to disable the data attribute API by unbinding the event named `'data-api'` on the body. As follows:
- $('body').off('.data-api')
You can also unbind the event of a specific plug-in by linking the plug-in name and data-api together as parameters. As follows:
- $('body').off('.alert.data-api')
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
This article mainly introduces jquery's implementation of TAB switching code for opening a webpage with animated effects for the first time. It involves jquery's dynamic transformation implementation skills of controlling page element attributes through mouse click events. It has certain reference value. Friends who need it can refer to it.
08 Feb 2017
This article mainly introduces jquery's implementation of TAB switching code for opening a web page with animated effects for the first time. It involves jquery's dynamic transformation implementation techniques for controlling page element attributes through mouse click events. It has certain reference value. Friends who need it can refer to it.
16 May 2016
This article mainly introduces jQuery to implement TAB style sliding switching effect code for provinces and cities across the country, involving jquery mouseover events and related techniques for page element traversal. It is of great practical value. Friends who need it can refer to it.
16 May 2016
This article mainly introduces the method of using jQuery to insert multiple pieces of data into the modal box. It is very simple and practical. Friends who need it can refer to it.
10 Jan 2018
This article mainly introduces jQuery to realize the special effect of cherry blossom falling on web pages. The effect is very good. Friends who need it can refer to it. I hope it can help everyone.
21 May 2018
For some projects, a single page cannot meet the needs well, so the single-page project created by vue-cli needs to be changed to a multi-page project. This article mainly introduces you to the method of creating a project from single page to multi-page with Vue-cli. The editor thinks it is quite good, so I will share it with you now and give it as a reference. Let’s follow the editor to take a look, I hope it can help everyone.
16 May 2016
When building a form approval system, the form content (pre-made PHP page) needs to be displayed on the page to be approved, so I wondered if I could use Ajax technology to embed this pre-made page into the approval page. What about middle?
26 Jun 2017
However, sometimes we want fun1 to be triggered when the mouse enters the "combined area" of two or more elements, and fun2 to be triggered when it leaves them, while moving the mouse between these elements does not trigger any events. For example, two HTML elements next to each other are as shown below:
26 Apr 2023
In front-end development, we often need to use jQuery to handle some interactive effects and animation effects, such as animation effects when the mouse is hovering, animation effects when the page is loading, etc. But sometimes we need to set a delay time so that these effects can be better expressed. So, how does jQuery set a delay? This article will introduce this issue in detail. 1. Delay method in jQuery In jQuery, delay effect can be easily achieved by using the delay() method. The delay() method can be used
Hot Tools
jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects
A very popular jQuery Valentine's Day confession fireworks animation special effect on Douyin, suitable for programmers and technical geeks to express their love to the girl they love. No matter you choose to be willing or not, you have to agree in the end.
layui responsive animated login interface template
layui responsive animated login interface template
520 Valentine's Day confession web animation special effects
jQuery Valentine's Day Confession Animation, 520 Confession Background Animation
Cool system login page
Cool system login page
HTML5 tape music player-CASSETTE PLAYER
HTML5 tape music player-CASSETTE PLAYER