Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery EasyUI Layout - Creating Tabs

jQuery EasyUI Layout - Creating Tabs

This tutorial will demonstrate how to create a Tabs component using easyui. Tabs has multiple panels that can be dynamically added or removed. You can use Tabs to display different entities on the same page.

Tabs shows only one panel at a time, and each panel has a title, an icon, and a close button. When a tab is selected, the corresponding panel's content will be displayed.

Create Tabs from HTML markup, consisting of a DIV container and some DIV panels.



    
        
            First Tab         
        
            Second Tab         
        
            Third Tab         
    

We create a Tabs component with three panels; the second and third panels can be closed by clicking their close buttons.

Download the jQuery EasyUI example

jeasyui-layout-tabs1.zip