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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com