In the domestic mainstream web site, since the first home Page NetEase tab TAB switch, the application of the label switch "suddenly as a night spring breeze, thousand trees million pear blossom" everywhere is.
Application principle of Label switching:
In the page of the limited important position, can present to the user more important content;
How to implement label switching:
1, through the AJAX+CSS click or mouse after the download switch content;
2, through the simple js+ layer of hiding, display to achieve. This way the load page is actually all content
has been downloaded in the browser, only when there is no switch to the past, there is no display.
The trigger mode of the label switch has the mouse clicks and the mouse passes through two kinds of most commonly used.
Generally speaking, in the label switch should not be nested, this will make people very dizzy, if the trigger mode is not the same as the more dizzy, so it may be used to the user frost hanging, as well as in a page, the trigger of the label switch is best to keep the same.
Let me confused is that many pages are now used to switch, as if not switching on the same as the outdated, the number of switches can be said to be overrun.