bootstrap– Table menu and Capsule menu 1. Create a new html/jsp 2. Import Bootstrap.css in a new html/jsp
1. CREATE Table menu Reference Class:nav nav-tabs Li's class = "Active" indicates that the menu option is selected by default
Effect:
2). Create a Water capsule menuRe
class name are not used correctly, directly affect whether the component can be used properly. After simplifying the above, we can finally see the following core requirements:
A container named. Dropdown is used to wrap the entire Drop-down menu element, in the example:
That is, we just need to keep these 3 steps in mind and we can make the Pull-down menu wor
button
The downward triangle of the button, we add a "" tab element to the label and name "caret":Sometimes our Pull-down menu bounces up (the next section describes), this time our triangular direction needs to show up, implementation method: You need to append the "Dropup" class name on the ". Btn-group" Class (This is also the name of the class to use to bounce up the Drop-down menu).
Eff
(options) {// var rand = Math. random (). toString (); // var id = rand. substring (rand. indexOf ('. ') + 1); var url = window. location. protocol + '//' + window. location. host; options. url = url + options. url; id = "tab _" + options. id; $ (". active "). removeClass ("active"); // if the TAB does not exist, create a new TAB if (! $ ("#" + Id) [0]) {// fixed the IFRAME height mainHeight In the TAB = $ (document. body ). height ()-90; // create a new TAB title = '
So when will the Addtabs m
scary it would be to have 30 items full of screens.)
Of course, bootstrap only provides the appearance of the front-end UI, which can be done by coding
Based on the code farming Spirit, self-reliance writes a DropDownList jquery component.
First, plan the attributes of this jquery component:
InputName: The name and id attribute of the text box, and the default value is "Q";
ButtonText: The text of the right button, the default is "
-down menu so that a scroll bar appears when there are too many menu items. (Think about how terrible it is to have 30 entries full of the screen)
Of course, Bootstrap only provides the front-end UI appearance, and the above items can be completed through encoding.
Based on the spirit of codenon and self-reliance, I wrote a DropDownList JQuery component myself.
F
Bootstrap's Pull-down menu has always been a need to click, will show up, may not be very consistent with the use of the habit, may be some users do not know this can be clicked, a foreign developer wrote a plug-in, can be clicked event switch to hover mouse hover events, so that the user's operation and time saving.
Bootstrap drop-down Menu Mouse hover display
This article will introduce the custom bootstrap cascading pull-down menu, the main application situation has the provincial and municipal correlation menu and so on, then takes this example first, certainly other scene's correlation menu also applies. To be honest, it takes
The bootstrap-dropdown component is a bad thing, and the overall feeling after I read it.
Design of a menu to be opened below:
First, open the menu, which is the UL element of the second layer. The class name is dropdown-menu. The drop-down menu is usually hidden. We c
The jquery multilevel list tree plug-in is based on Twitter Bootstrap, displaying some inherited tree structures in a simple and elegant way, such as a view tree, a list tree, and so on.
Practical Bootstrap Tree Menu special effects plugin bootstrap trees View, a very good bootstr
menu is as follows: Based on these, we can dynamically output the menu structure in the background.For example, in the base class controller, the output of the menu content is realized by judging the processing of the view.In order to improve the response of the menu, to av
Example of table merging cells implemented by Bootstrap, bootstrap Cells
This example describes how to merge cells in a table implemented by Bootstrap. We will share this with you for your reference. The details are as follows:
1. Problem background
Use
Example of bootstrap raster system code sharing, bootstrap raster
The examples in this article share the code of the bootstrap raster system for your reference. The details are as follows:
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.
This article shares a menu style and an iframe-based tab effect in your project that uses ACE templates.
One, the effect shows
Toss for a long time, and finally the menu style and the tab page effect from the project out.
1, the initial load out of the effect
2, expand the menu (Support multi-level expansion, the following code introduction)
3, click t
Original: Bootstrap Bootstrap drop-down menu. The drop-down menu is switchable and is a contextual menu that displays links in list format. This can be achieved by interacting with the drop-down menu (Dropdown) JavaScript plugin.T
="dropdown">Javaclass="Caret">class="Dropdown-menu"> "#">jmeter"#">EJB"#">jasper reportclass="Divider">"#"> Separated links class="Divider">"#"> Another separate link
In the label pageThe following example shows the use of a drop-down menu within a tab:
class="nav nav-tabs"> class="Active">"#">Home"#">SVN"#">iOS"#">VB.Netclass="dropdown"> class="Dropdown-tog
In Bootstrap, the drop-down menu is changed to hover the mouse over to display the original, bootstrapfont
Recently, the company used the Bootstrap menu function for webpage display. To enable mouse hover to display the second-level menu, we studied two methods.
Method 1: Mo
Some menus need to pop up, for example, your menu at the bottom of the page, and this menu has a drop-down menu, in order to let users have a better experience, you have to let the drop-down menu up. A class name "Dropup" is specifically introduced for this effect in the
Tooltip is the second complex component of Bootstrap, with nearly three hundred rows. There are many configuration items. Manual Initialization is required. Another feature is that there is no custom event.
Name
Type
Default
Description
Animation
Boolean Value
True
Add a light transition for the tooltip.
Placement
String or function
'Top'
Position of the tooltip: Top | bott
Every day, Bootstrap must learn the cascade drop-down menu. The main application scenarios include Provincial/Municipal Association menus. If you are interested, refer to this article to introduce the custom bootstrap cascade drop-down menu, the main application scenarios include provincial/municipal associated menus.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.