Simple layout of pages using the easy UI

Source: Internet
Author: User
Tags split

Easy UI has two ways of page layout: Tag creation layout and global layout, tag creation layout is set class= "Easyui-layout" in div tag, global layout is set class= "Easyui-layout" in body tag. Create a global layout

Set class= "Easyui-layout" in the Body tab. Lay out the page

<body class= "Easyui-layout" >
    <div data-options= "region: ' North '" style= "height:80px;padding:20px" >
    <div data-options= "region: ' South '" style= "height:30px;padding:6px" >
    	XXX Technology Co., ltd All rights reserved
    <div data-options= "region: ' West ', title: ' Navigator ', split:true" style= " width:200px;padding:10px ">
    	<ul id=" Menutree "class=" Easyui-tree "></ul>
    <div data-options= "region: ' Center '" >
    	 <div id= "Maintabs" class= "Easyui-tabs" data-options= "Fit:true" >
The values for region in the Data-option attribute are North, south, west, center, and east, respectively, corresponding to the upper, lower, left, middle, and right

Title sets the name of each module

When split is true, indicates that the module has a stretch that changes its size

3. Generally add a tree menu to the left module, and the middle area is dynamically adding a tab when clicking on the left tree menu, followed by a description.

Contact Us

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: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.