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
Example Embodiment
[0030] Example 1
[0031] The embodiment of the present invention provides a page layout adaptive method, such as figure 1 As shown, the method includes:
[0032] 101. Acquire screen display parameters, where the screen display parameters are at least one of the following parameters, the parameters including: screen resolution, browser window size, and 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 window size of the browser is obtained, the window size of the browser can be obtained when the page is loaded, or in the window of the browser The window size of the browser is obtained when the size changes; when the type of the browser currently used by the user is obtained, the type of the browser currently used by the user can 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 scre...
Example Embodiment
[0046] Example 2
[0047] The embodiment of the present invention provides a page layout adaptation method, which specifically realizes page layout adaptation according to the screen resolution, combining figure 2 with image 3 Explain the method in detail. figure 2 A schematic diagram of the page document structure of the adaptive application page layout provided by the present invention. The schematic diagram 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 The display area has two parts; the bottom of the page document contains the company copyright area used to display the company’s copyright information; the above three parts can be divided into a fixed area and a variable area of the page document according to whether the area is variable. The fixed area of the document includes: the company lo...
Example Embodiment
[0063] Example 3
[0064] The embodiment of the present invention provides a page layout adaptation method. The method takes the realization of page layout adaptation according to the window size of the browser as an example, and combines figure 2 with Figure 4 Explain the method in detail, such as Figure 4 Shown, including:
[0065] 301. The system obtains the window size of the browser.
[0066] Wherein, said obtaining the window size of the browser may obtain the window size of the browser when the page is loaded, and may also obtain the window size of the browser when the window size of the browser changes.
[0067] 302. The system obtains 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 acquiring the window size of the browser, the system acquires the height and width ...
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