Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for automatic layout of page elements

An automatic layout and page element technology, applied in the Internet field, can solve the problems of confusing web page layout, complicated page element layout process, and inability to realize automatic layout, etc., and achieve the effect of simplifying operation steps and improving cleanliness and aesthetics

Active Publication Date: 2020-12-29
SHANGHAI SUIXUNTONG ELECTRONICS TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a method and device for automatic layout of page elements to solve the technical problems in the prior art that the layout process of page elements is complicated, automatic layout cannot be realized, and the layout of webpages is chaotic.

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 device for automatic layout of page elements
  • Method and device for automatic layout of page elements
  • Method and device for automatic layout of page elements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

[0037] The method and device for automatic layout of page elements in the embodiments of the present application are described below with reference to the accompanying drawings.

[0038] figure 1 It is a schematic flowchart of a method for automatic layout of page elements provided by the embodiment of the present application.

[0039] Such as figure 1 As shown, the page element automatic layout method includes the following steps:

[0040] Step 101, when a first request for calling a mouse down event function is obtained...

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

A method and apparatus for automatic layout of page element is provided, wherein that method includes determining a target moving element according to a first position contain in the first request when a first request to invoke a mouse-down event function is obtained, modifying the target moving element sequential attribute value according to a second position included in the second request upon obtaining a second request to call a mouse-up event function; adjusting the position of the target moving element according to the modified attribute value of the target moving element order. The method can realize automatic layout of page elements, simplify operation steps of page layout, improve tidiness and aesthetics of page layout, and solve technical problems of complicated page element layout process in the prior art that automatic layout cannot be realized and page layout is confused.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a method and device for automatic layout of page elements. Background technique [0002] Web page layout is to arrange pictures and text in different positions on the page. For the same web page content, different users will have different layout designs. The layout of a webpage directly affects the user experience of a webpage. [0003] With the development of web technology, users have increasingly strong demands for personalized and customized web pages. At present, in related technologies, when a user drags and drops the content of a webpage to change the layout of the webpage, it is necessary to mark the selected content node first, then determine the target node to be inserted, calculate the offset of the insertion point at the target node, and then follow the Mark finds the content node and inserts it offset characters into the target node. However, this ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0481G06F3/0487
CPCG06F3/0481G06F3/0487
Inventor 俞亮
Owner SHANGHAI SUIXUNTONG ELECTRONICS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products