Method and system for WEB page layout

A page layout and page technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as unrealizable remaining space and unsatisfactory, achieve dynamic adaptation to browser size changes, and improve page space utilization Effect

Active Publication Date: 2009-08-05
SHENZHEN KINGDEE MIDDLEWARE
View PDF0 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] However, for the query result display area, if an absolute size is used for layout, no matter how the window size changes, the size of the query result display area will not change, and the purpose of just filling the remaining space cannot be achieved; On the one hand, if the percentage of the query result display area is set to 100% in percentage size layout, then according to the principle of percentage layout interpreted by browsers in the prior art, the height of the "query result...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for WEB page layout
  • Method and system for WEB page layout
  • Method and system for WEB page layout

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In HTML pages, the shapes of layout elements such as tables and layers are all rectangles. For the irregular shapes that are usually seen in web pages, they are generally images, or drawn on the page using JavaScript, which do not belong to the scope of the present invention. Describe the scope of the layout.

[0028] The purpose of the embodiments of the present invention is to provide a page layout method and system. In order to achieve the purpose of the page layout of the above elements, the implementation of the present invention will be specifically described below with reference to the accompanying drawings.

[0029] In the page layout method of the present invention, the step of starting to execute the page layout under the trigger of the page layout command includes: calculating the absolute size of the parent container; traversing the elements in the parent container to obtain the sum of the absolute sizes of the elements with the first identifier ; Obtain th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method and a system for WEB page layout. The method includes: obtaining a page layout command, calculating a parent container absolute size; traversing element of the parent container for obtaining a sum of the element having a first sign; obtaining a difference value of the parent container absolute size and the element having the first sign; calculating and obtaining the absolute size of the element having a second sign according with percent of the element having the second sign to the difference value; laying the web page according with the absolute size of the element having the first sign and the absolute size layout page of the element having the second sign. The method and system make the element with the second sign trying to use residual space of the parent container, and changing with the parent container size change, having a function of suitable the parent container size change dynamic.

Description

technical field [0001] The invention relates to page display technology, in particular to a page layout method and system. Background technique [0002] A Web page is composed of many HTML elements, and each HTML element has an actual physical size when displayed on a computer screen, and the default unit is pixel (px). [0003] In any system, page layout is an important technology. A good layout can make the interface organization of the system more reasonable. In a Web system, a panel is usually used to organize the layout. The panel can be a layer (DIV ), or an element with a regular shape (usually a rectangle) such as a table (TABLE), and adjust the layout of the page by controlling the size of these elements. Moreover, the way to formulate element size includes absolute size or percentage size. [0004] The so-called absolute size refers to specifying an absolute value for the width or height of an element. Such as figure 1 As shown, for the title part on the left, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 张旭
Owner SHENZHEN KINGDEE MIDDLEWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products