First, build BOOTSTAP environment
Can use Bootstrap CDN service, in
This order cannot be changed, because Bootstrap.min.js needs to invoke the jquery library, so jquery.min.js to precede it.
Second, localization BOOTSTAP environment
Sometimes the network is a bit of a card, refresh the page slow, affect the Web development mode, to solve this problem of the small impatient of the way to loc
to the following content, and add the small tag.
2. Save the file and check the browser to view the page.
You should see the page become the following style.
We will also turn the link into a button. Let's see how simple this is.
1. Edit the 52 lines of the web page and change the original paragraph to the following content. Note that BTN and BTN-default classes are used on the link.
In earlier versions,
For example, a tabs code like this:ulclass= "Nav nav-tabs"ID= "Mytab"> Liclass= "Active">aData-toggle= "tab"href= "#home">Homea>Li> Li>aData-toggle= "tab"href= "#profile">Profilea>Li> Li>aData-toggle= "tab"href= "#settings">Settingsa>Li>ul> WorkaroundAdd the following script on the tabs page to link to a specific tab page through the #tag stroke:$ (function() {// Javascript to enable link to tabvar url
Add a link to a list groupBy using anchor tags instead of list items, we can add links to list groups. We need to use Bootstrap experience Example: adding a link to a list group
In the previous article: based on the bootstrap Metronic framework to implement the page link Favorites function, introduced the link Favorites function realization, as well as to the collection record sorting processing. This essay mainly uses the function button's way to move the collection record, although the function realizes is quite good, but after the art
()//Flush page Data
}
else {
showtips. errormessage);
}
);
In this way we need to move the order of operation, and added, we determine whether the corresponding user has added a URL, if there is no need to repeat the addition, the front-end only need to call through Ajax, and then respond to processing can be.
Through the implementation of these codes, we can realize the fast management and quick access of favorites, and provide a more friendly experience for users.
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.