国产亚洲精品视频免费播放_国产免费污视频情侣

Tabs - jQuery

阅读 更多 关于 it. To enable history support for Tabs I use my History/Remote plugin.

Download package

First tab is active by default:

$('#container').tabs();
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Second tab is active:

    $('#container').tabs(2);

    Two alternative ways to specify the active tab will overrule this argument. First a li element (representing one single tab) belonging to the selected tab class, e.g. set the selected tab class (default: "tabs-selected", see option selectedClass) for one of the unordered li elements in the HTML source. In addition if a fragment identifier/hash in the URL of the page refers to the id of a tab container of a tab interface the corresponding tab will be activated and both the initial argument as well as an eventually declared class attribute will be overruled.

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Use a slide effect to switch tabs. You can optionally specify the speed for the animation with the option fxSpeed: value. The value is either a string of one of the predefined speeds in jQuery (slow, normal, fast) or an integer value specifying the duration for the animation in milliseconds. If omitted it defaults to normal.

    $('#container').tabs({ fxSlide: true });
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Use a fade effect to switch tabs. You can optionally specify the speed for the animation with the option fxSpeed: value. The value is either a string of one of the predefined speeds in jQuery (slow, normal, fast) or an integer value specifying the duration for the animation in milliseconds. If omitted it defaults to normal.

    $('#container').tabs({ fxFade: true, fxSpeed: 'fast' });
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
  1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Use a combined slide and fade effect to switch tabs:

    $('#container').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'fast' });
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Define callback functions that are invoked at different points in time during the tab switch process. These functions are invoked with three arguments: the first one being the clicked tab (the a element), the second one being the div element that holds the content of the clicked tab and the third one being the div element belonging to the tab that gets hidden.
    If the onClick callback returns false, the tab switch is canceled. This is especially useful if switching tabs requires form validation before for example.

    $('#container').tabs({
        fxFade: true,
        fxSpeed: 'fast',
        onClick: function() {
            alert('onClick');
        },
        onHide: function() {
            alert('onHide');
        },
        onShow: function() {
            alert('onShow');
        }
    });
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Adjust height of all tabs to the largest:

    $('#container').tabs({ fxAutoHeight: true });
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Define your own custom animation:

    $('#container').tabs({ fxShow: { height: 'show', opacity: 'show' } });
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Custom HTML

    
                    

    If some HTML structure is required that differs from the default one, attach the classes tabs-nav to the unordered list, respectively tabs-container to each container and let the plugin automatically find the required elements by class.

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

      $('#container').enableTab(3); // enables third tab
      $('#container').triggerTab(3); // triggers third tab
      $('#container').disableTab(3); // disables third tab

      One or more tabs can also be disabled immediatly by simply setting the disabling class for the li element representing that particular tab or by using the disabled option.

      <li class="tabs-disabled">…</li>
      
      $('#container').tabs({ disabled: [2, 3] });
      Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
      Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

      YzwkoRmM13OmNO14SIUw0GZroVW05RfxlOdrXBgSA7AEXueKy4FGSZQda0SVGr3LMoDBRjwsZ2SdIuSm32AYiNdYncbcOCLNqsF3CIX7GPcbi4mFW9az1uCt3Q1xBgbK4OLWkMqX3h3zzd1o35mVlljSC2HX2SI5UE5RW4RSdqJox7LDLSnhXWqvLtgaUcV4rInTYgptvlneghyhuVpef6WuqnJpeMZcxQc6q4m2ZMPVEJFyOOGQHbNRSxc7gfiDilUaLB1Ga5ok9d7DxVNAvJzlg1EJy82LjZmPCbeVlxmSZREjWbcCgFZhAC2DwFdfwW8VMU6oafzOPe9n5AuZhNIks5rFWJGQawK0LFlF8fsENb4BUwdvReCu61xN1lZDLGDybuLOLn7sIqR1SPDe5pPqiTOdWTYgVOkwPyODZJP1kfZ8OyJslT1su3ANWlQcNg8kGYsioDKM8UIddcLdZtEJBfAjE2opkecVMKawA5B6nZQdgHWDFBcmj8G3W1K2N8VUFHyaoBjrK4vu9R07UK2M2Dl80eqjoP4fATrec8aO9LvCNOUeAsd1WwzVrQMlEdxeTbKdIlc3XlsLOiBHMK30aMrfPI2eeJQRoFQdAxAgYyEEYq2eitl3fZj0uaxf6doFS2RvckrdhffdU25JGsys8caJ9s9xgElUODq12ICphTq8xJLk39tUMcLCYQwQY5rV3Q40RjCVgRU2http://m.cyhfx.cnhttp://www.fsjingshun.cn/273.xmlhttp://www.0771jjw.cn/ch3d.xmlhttp://www.0771jjw.cn/uknyv.xmlhttp://www.kbhsoft.com.cn/74832.xmlhttp://www.kbhsoft.com.cn/795.xmlhttp://www.kbhsoft.com.cn/46489.xmlhttp://www.21dry.cn/8349.xmlhttp://huiyifilter.cn/26457.xmlhttp://www.yzsteel.cn/5238.xmlhttp://www.0771jjw.cn/ONyXu.xml国产主播在线观看视频