display inline. Displays are used to change the display values of the elements, and you can transform the element type line, block, and manifest items, where the value inline is "to delete the lines before and after the element to merge into the other element stream." Here, inline cancels the line break after each list item and becomes a line display.
along this line of thought, if we set box properties for each list item, that does not have a similar label card effect out of it:
Projec
Recently, I had a requirement to place IFRAME In the tab, so I made a jquery tab plug-in.
You are welcome to raise bugs or suggestions. I will try my best to improve them when I have time.
Author: think8848 (company homepage: http://www.cleversoft.com, QQ: 166156888, blog: http://think8848.cnblogs.com) reprinted please keep this information
Clevertabs is a jquery plug-in. The jquery version 1.6.1 a
JQuery DOM operation instance (1) -- Tab Tab switch, jquerydom
I. Native JavaScript coding tab Switch
Ii. Compile a tab switch using jQuery
In the process of compiling tabs with jQuery, it is important to understand how to use. eq () and. index.
. Eq () is a method of jQuery traversal. The parameter is the index.
Before doing a simple small effect, using jquery mode, let tab tab switch, the effect is as followsThe code is actually very simple, first of all to share the code to everyone, the code is as followsvar shoptoggle = $ ('. Shoptoggle. Shop-toggle Li '); var shopwrap = $ (' div.shop-wrap '); $ (' div.shop-wrap:first-child+div.shop-wrap '). Hide (); $ (' #Sshop-wrap '). Hide ();
Tab logon, Tab
Log on to the multi-role tab as follows:
In fact, the role selected by the Green Border will also be marked green, but it will become this effect. You can go to my personal blog to check the demo address.
The html code is as follows:
The CSS code is as follows:
@ Charset "UTF-8";/* CSS Document */* {margin: 0; padding: 0; word-wrap: break-wor
Directly paste the comments in the Code:
Copy codeThe Code is as follows:/*** Simple Tab switching* The following parameters can be configured:*/Function Tab (){This. config = {Type: 'mouseover'. // The default type is to move the cursor up.Autoplay: true, // The default value is automatic playback.TriggerCls: '. list', // menu itemPanelCls: '. tabcontent', // content itemIndex: 0, // The current index 0Swi
Procedure:When using Internet Explorer 7, Internet Explorer 8, and the updated version of IE, we open a link in the new tab, but always want to switch directly to the new tab instead of staying on the current tab. How can I perform this operation? In IE, clickToolsMenu> pointInternet options. (If the menu bar does not appear, press ALT)
This example for you to share the JQuery Implementation tab TAB switch effects, for your reference, the specific content as follows
1. TAB switch on
2, TAB switch MouseEnter
Effect Chart:
The above is the entire content of this article, I hope to help you learn.
Implementing the Tab tab, this plugin is relatively simple
Source file:
Tab.js
Implementation principle
1. When you click an element, first remove the original highlighted element
2, then to the clicked element to highlight
3, if the click Element is a drop-down box of an option, select itself, and choose the dropdown box
5. If the animation is defined, the animation is performed first and then the c
The example of this article describes the JS implementation of the Windows Classic Style tab tab switch code. Share to everyone for your reference, specific as follows:
This imitation Windows Style tab, with a gray three-dimensional, sample content is using JS control output, just to demonstrate the function, you can completely remove when you use.
The screensh
This example describes the Classic tab effect code implemented by JS+CSS. Share to everyone for your reference. Specifically as follows:
This is a Classic Javascript+css tab tab code, from the previous one rewrite and become, since think good things, send up to share it.
The screenshot of the running effect is as follows:
The online demo address is as follow
Jquery special effects (2)-tab, jquery special effects Tab
Recently, the company has a page that is easy to use and I wrote it. It feels pretty good and simple ~~~~
The following shows the dynamic effect:
I. Main Program
Ii. CSS style
Preliminary Layout code:
*{ margin:0; padding:0}ul{ list-style: none;}.tab{ width: 300px; margin: 0 auto;}.
In the previous article, the function menu is displayed in a tree. The following describes the main business functional area in the central area of the system layout. You can use the tab control to open multiple tab pages, to facilitate system operations and business operations.
First, let's talk about the initialization of the front-end tab control. In the index
Author: think8848 (company homepage: http://www.cleversoft.com, qq:166156888, blog:http://think8848.cnblogs.com) Reprint please keep this information
Clevertabs is a jquery plug-in that requires the jquery version: 1.6.1,jquery UI style Version: 1.8.13; Its function is to create the jquery UI Style tab to display the IFRAME.
In this example, the Jquery.contextmenu plugin was added, and I modified its style to use the jquery UI skin
The effect of
Tabs are available on a large number of sites, although the form is different, but the purpose is to achieve the same, is generally in order to classify or save the web space only use, is a sharp weapon, the following is a code example of a tab, the universality is very strong, below and you share.
The code example is as follows:
The above code implements the function of the tab, the following is
Note that the red box above is the anchor of the disguised use of ID can also be implemented. Compatible ie6+ for mobile phone tab simple no script requiredIn fact, can also use Css3:target implementation, here is not much to do introduction, the principle is similar, are anchor points, compatible with ie9+Here is the source code copy observation CSS Tab TAB 2
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.