Supercharge Your Innovation With Domain-Expert AI Agents!

Adaptive method and system for page layout

A technology of adaptive system and page layout, applied in the field of browsers, it can solve the problems of main element offset, increase in code amount, and impact on browser rendering speed, and achieve the effect of smooth display

Active Publication Date: 2019-11-15
DAWNING INFORMATION IND BEIJING +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] There are the following two problems when browsing the page: information flow pages such as Sina Weibo are rendered from top to bottom, and only some information in the header is loaded at the beginning without scroll bars. When more content is loaded, scroll bars appear. The scroll bar will occupy a certain width, causing the main element to be offset; the website enters different functional pages through navigation, because the content length of different pages is different, some pages have scroll bars, and some pages do not have scroll bars
Using JavaScript to modify the HTML structure to simulate the scroll bar action and create a scroll bar style with CSS requires loading a large number of scripts, which has a certain impact on the browser's rendering speed
Therefore, the amount of code will increase and the operation will be difficult
[0009] For the above-mentioned problems in related technologies, no effective solution has been proposed yet

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
  • Adaptive method and system for page layout
  • Adaptive method and system for page layout
  • Adaptive method and system for page layout

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0028] According to an embodiment of the present invention, a layout adaptive method is provided.

[0029] Such as figure 1 As shown, the page layout adaptive method according to the embodiment of the present invention includes the following steps:

[0030] S101, creating a page container;

[0031] S103, create a parent container outside the page container, and set the width of the parent container to be the maximum width of the page;

[0032] S105, creating an outer container outside the ...

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 discloses a page layout self-adaption method and system. The page layout self-adaption method comprises the steps of creating a page container; creating a father container outside the page container, and setting the width of the father container as the biggest width of a page; creating an outer layer container outside the father container; setting a left offset of the outer layer container according to the state of a scroll bar. According to the page layout self-adaption method, by creating the page container, the father container and the outer layer container in sequence, setting the width of the father container as the biggest width of the page, and setting the left offset of the outer layer container according to the state of the scroll bar, control over the page layout is achieved, slide show is achieved when the page is switched, and thus the situation that the shake phenomenon occurs to the same page due to the appearance of the scroll bar is avoided.

Description

technical field [0001] The present invention relates to the technical field of browsers, in particular to a page layout self-adaptation method and system. Background technique [0002] With the rapid development of the Internet, user experience is becoming more and more important on the basis of satisfying the availability of the public. A good user experience will bring higher user stickiness, user return rate, and stronger brand competitiveness. [0003] There are the following two problems when browsing the page: information flow pages such as Sina Weibo are rendered from top to bottom, and only some information in the header is loaded at the beginning without scroll bars. When more content is loaded, scroll bars appear. The scroll bar will occupy a certain width, causing the main element to be offset; the website enters different functional pages through navigation, and because the content length of different pages is different, some pages have scroll bars, and some pag...

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): G06F16/957
CPCG06F16/9577
Inventor 王盈盈张晋锋孙金刚程宝强
Owner DAWNING INFORMATION IND BEIJING
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More