easyui使用

1、使用easyui框架首先要下载easyui包,然后导入jquery-easyui-1.5.1包

2、导入EasyUI的CSS和Javascript文件到您的页面。






3、加载框架样式

body class="easyui-layout">
	
north region
west content
east region
south region

4、选项卡

5、下面的代码演示如何使用Javascript创建选项卡,当该选项卡被选择时将会触发’onSelect’事件。

 $('#tt').tabs({    
    border:false,    
    onSelect:function(title){    
        alert(title+' is selected');    
    }    
});  

你可能感兴趣的:(前端)