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
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. ...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap