Page layout self-adaptive method and device
A page layout, adaptive technology, applied in special data processing applications, instruments, electrical digital data processing and other directions, can solve the problems of the map size cannot be automatically expanded, the user is inconvenient to view the information, the user experience effect is poor, etc., to achieve a convenient page content, improve user experience, and facilitate viewing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] An embodiment of the present invention provides a page layout adaptive method, such as figure 1 As shown, the method includes:
[0032] 101. Obtain a screen display parameter, where the screen display parameter is at least one of the following parameters, and the parameter includes: screen resolution, browser window size, and the type of browser currently used by the user.
[0033] Among them, when the screen resolution is obtained, it can be obtained when the current page is loaded; when the browser window size is obtained, the browser window size can be obtained when the page is loaded, or it can be obtained in the browser window The window size of the browser is obtained when the size changes; when the type of browser currently used by the user is obtained, the type of browser currently used by the user may be obtained when the browser is opened.
[0034] 102. Obtain the height and width of the page document of the current page according to the screen display parame...
Embodiment 2
[0047] An embodiment of the present invention provides a page layout self-adaptation method. The method specifically implements page layout self-adaptation according to the screen resolution, combining figure 2 and image 3 This method will be described in detail. figure 2 A schematic diagram of the page document structure of the adaptive application page layout provided by the present invention, which includes three parts, the upper part of the page document contains the company Logo area, the module navigation area and the automatic expansion area; the middle part of the page document contains the map display area and text There are two parts in the display area; the bottom of the page document contains the company copyright area for displaying company copyright information; the above three parts can be divided into fixed area and variable area of the page document according to whether the area is variable. The fixed area of the document includes: company logo area, m...
Embodiment 3
[0064] The embodiment of the present invention provides a page layout self-adaptation method, the method takes the page layout self-adaptation according to the window size of the browser as an example, combined with figure 2 and Figure 4 In detail, the method is described as Figure 4 shown, including:
[0065] 301. The system obtains the window size of the browser.
[0066] Wherein, the acquiring the browser window size may acquire the browser window size when the page is loaded, or acquire the browser window size when the browser window size changes.
[0067] 302. The system acquires the height and width of the page document of the current page according to the window size of the browser, and ensures that the height and width of all elements in the page document do not exceed the height and width of the page document.
[0068] Wherein, after obtaining the window size of the browser, the system obtains the height and width of the page document of the current page accordi...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com