Page self-adaptive adjusting method and system

An adaptive adjustment and page technology, applied in special data processing applications, network data browsing optimization, instruments, etc., can solve problems such as unsatisfactory adjustment results, achieve good adaptive adjustment effect, and reduce the effect of repetitive code writing

Inactive Publication Date: 2015-01-28
SUZHOU KEDA TECH
View PDF6 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For this reason, the technical problem to be solved by the present invention is that in the prior art, the page adaptive adjustment method needs to write a large number of repetitive codes with high similarity so that the display styles under di

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
  • Page self-adaptive adjusting method and system
  • Page self-adaptive adjusting method and system
  • Page self-adaptive adjusting method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0077] Example 1

[0078] This embodiment provides a page adaptive adjustment method, such as figure 1 shown, including the following steps;

[0079] S11. Set the initial style rules of the page under the reference resolution, and the initial style rules include styles that need to be dynamically calculated;

[0080] S12. Obtain the scaling ratio of the width value and height value of the page under the resolution of the current visible window;

[0081] S13. Update the styles that need to be dynamically calculated in the initial style rule according to the scaling ratio.

[0082] The page adaptive adjustment method described in this embodiment is to set the initial style rule of the page under the reference resolution, and the initial style rule includes the style that needs to be dynamically calculated, and then obtain the width value of the page under the resolution of the current visible window , the scaling ratio of the height value, and update the styles that need to b...

Example Embodiment

[0104] Example 2

[0105] This embodiment provides another page adaptive adjustment method, such as Image 6 shown, including the following steps:

[0106] S21. Set the initial style rules of the page under the reference resolution, and the initial style rules include styles that need to be dynamically calculated;

[0107] S22. Place the style that needs to be dynamically calculated at the beginning of the last introduced initial style rule;

[0108] S23. Add an adaptive calculation mark on the style that needs to be dynamically calculated;

[0109] S24. Obtain the scaling ratio of the width value and height value of the page under the resolution of the current visible window;

[0110] S25. Correct the scaling ratio of the width value and the height value of the page;

[0111] S26. Update the styles that need to be dynamically calculated in the initial style rule according to the scaling ratio.

[0112] Different from the technical solution in Embodiment 1, step S22 is ad...

Example Embodiment

[0119] Example 3

[0120] This embodiment provides a page adaptive adjustment system, such as Figure 8 shown, including:

[0121] A setting unit 1 is used to set the initial style rules of the page under the reference resolution, and the initial style rules include styles that need to be dynamically calculated;

[0122] Obtaining unit 2, for obtaining the scaling ratio of the width value and height value of the page under the resolution of the current visible window;

[0123] The updating unit 3 is configured to update the styles that need to be dynamically calculated in the initial style rules according to the scaling ratio.

[0124] In the page self-adaptive adjustment system of this embodiment, the setting unit 1 is used to set the initial style rule of the page under the reference resolution, and the initial style rule includes the style that needs to be dynamically calculated, and then the acquisition unit 2 is used to obtain the content of the current visible window. ...

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 provides a page self-adaptive adjusting method and system. The method comprises the following steps: setting an initial style rule of a page under a benchmark resolution, wherein the initial style rule includes a style needing dynamic calculation; then obtaining the scaling of the width value and the height value of the page under the resolution of the current visible window; updating the style needing the dynamic calculation in the initial style rule according to the scaling. According to the method and system, the style needing the dynamic calculation is defined in the initial style rule, so that style needing the dynamic calculation in the initial style rule is simply updated according to the scaling of the width value and the height value of the page under the resolution of the current visible window in case of different visible window resolutions, and as a result, the self-adaptive adjusting of the page under different resolutions is realized, the coding of repeated code in the self-adaptive adjusting of the page can be greatly reduced, and the self-adaptive adjusting effect is great.

Description

technical field [0001] The invention relates to the technical field of mobile communication. Specifically, it relates to a page adaptive adjustment method and system. Background technique [0002] In system-level web front-end design, more and more attention is paid to making full use of the visual space, so it is necessary to reduce common scrolling effects as much as possible. [0003] At present, the commonly used page adaptive adjustment methods in the industry mainly include the following three types: 1. Fixed size design method. The specific method is to first set a fixed width for the entire page, and then fill the area beyond the width with the background color, and the upper and lower sides are based on the content. And the corresponding display size, scroll bars appear automatically. The problem with this method is that it can only guarantee the best display effect of a specific resolution. When the display resolution exceeds this specific resolution by a large a...

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
CPCG06F16/957
Inventor 尹章牛陈卫东
Owner SUZHOU KEDA TECH
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