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

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 different resolutions can be adaptively adjusted, and the adjustment result is also the same. It is not ideal, so as to provide a page adaptive adjustment method and system that can reduce repetitive code writing and have good adaptive adjustment effect

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

Embodiment 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, the initial style rules include styles that need to be dynamically calculated;

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

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

[0082] The page adaptive adjustment method described in this embodiment, by setting the initial style rules of the page at the reference resolution, and the initial style rules include styles that need to be dynamically calculated, and then obtain the width value of the page at the resolution of the current viewable window , the scaling ratio of the height value, and update the style that needs to be dynamically calculated...

Embodiment 2

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

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

[0107] S22. Place the style that requires dynamic calculation at the beginning of the last introduced initial style rule;

[0108] S23. Adding an adaptive calculation mark to the style requiring dynamic calculation;

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

[0110] S25. Correcting 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 rules according to the scaling ratio.

[0112] Different from the technical solution in Embodiment 1, a new step S22 is added in this emb...

Embodiment 3

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

[0121] The 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] The obtaining unit 2 is used to obtain the scaling ratio of the width value and the 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] The page self-adaptive adjustment system described in this embodiment sets the initial style rules of the page under the reference resolution through the setting unit 1, and the initial style rules include styles that need to be dynamically calculated, and then obtains the current viewable window through the acquisition unit 2 The scaling ratio of t...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products