Page adjusting method and device and server
A page adjustment and server technology, which is applied in the field of computer graphics, can solve the problem of page adjustment not being self-adaptive, and achieve the effect of unsatisfactory display effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0095] The display attribute is the apparent width of the web page and / or the display ratio of the web page, and the adjustment of the display attribute of the current page element includes the following steps, such as image 3 :
[0096] Step 2041, obtaining the source code of the Web page;
[0097] Exemplarily, obtaining the source code of the web page includes:
[0098] Read the source code of the web page in the browser through JS (Java Script) script.
[0099] Step 2042, obtaining the media meta tag of the Web page from the source code;
[0100] Wherein, the meta tag includes the display resolution width parameter of the page and whether manual scaling is allowed;
[0101] Step 2043: Adjust the web page viewing width and / or web page width of the current web page by setting the display resolution width parameter of the meta tag page as the display resolution width of the terminal and not allowing manual scaling display ratio.
[0102] Specifically, it is judged whethe...
example 2
[0106] The display attribute is the layout of Web page elements, and the Web page elements include a menu bar, a navigation bar or a page footer of the Web page;
[0107] The adjustment of the display properties of the current page element includes:
[0108] Obtain the menu bar, navigation bar or page footer of the web page;
[0109] According to the display resolution of the terminal, it is determined whether to fold or unfold the menu bar, navigation bar or page footer.
[0110] Specifically, it is first necessary to determine whether there is a menu bar, a navigation bar or a page footer in the web page;
[0111] If there is a menu bar, a navigation bar, or a page footer, it is judged to fold or unfold the menu bar, navigation bar, and page footer according to the display resolution of the zero end.
[0112] Among them, Footer is the footer, the navigation bar is generally at the top, the menu bar is generally on the left, and there is also a footer at the bottom.
[011...
example 3
[0116] Display attribute is the layout of Web page element, and described Web page element comprises a plurality of regions or a plurality of pictures of Web page; The display attribute of described adjustment current page element comprises:
[0117] Obtain multiple area divs or multiple pictures in the horizontal layout of the web page;
[0118] Adjusting the display quantity of the multiple regions or the multiple pictures according to the display resolution of the terminal.
[0119]For example, on a terminal whose template type is a computer, the page displays four images horizontally, on a terminal whose template type is a tablet, it is adjusted to display two images horizontally, and on a terminal whose template type is a mobile phone, it is adjusted to display one image horizontally. The determination of the template type is consistent with the foregoing embodiment.
[0120] Div is an area on the page. You can set the width and height of the area in the html source code...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- 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