Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for aligning web pages after zooming on electronic equipment

A web page scaling, electronic device technology, applied in the direction of digital data processing, data processing input/output process, image data processing, etc., can solve problems such as misalignment and alignment of web pages

Inactive Publication Date: 2017-05-17
BEIJING QIHOO TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, after a web page is zoomed, it often happens that the figure 1 Shown page misalignment after zooming, such as figure 1 As shown, part of the content on the left side of the webpage is moved off the screen of the electronic device
At this point, the user can move the content of the webpage through touch operations on the screen of the electronic device and change its displayed position on the screen. The left border of the website is completely aligned, and it is difficult for the webpage content to be precisely centered on the screen. Usually, multiple touch operations are required to achieve a relatively ideal display effect.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for aligning web pages after zooming on electronic equipment
  • Method and device for aligning web pages after zooming on electronic equipment
  • Method and device for aligning web pages after zooming on electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0032] figure 2 A flowchart schematically shows a method for aligning webpages after zooming on an electronic device according to an embodiment of the present invention.

[0033] The principle of the present invention is applicable to any electronic equipment containing display components, including, but not limited to: computers based on desktop operating systems such as Windows, Linux, Mac OS, and Unix; mobile devices based on m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for alignment after webpage zoom on electronic equipment. The method comprises the following steps: acquiring an original webpage rendering processor object of a webpage display control; generating an object of an inheritance event processor type and transferring the original webpage rendering processor object therein to construct a customized webpage rendering processor object and substituting the original webpage rendering processor of the webpage display control by using the customized webpage rendering processor object; acquiring a pixel value of a webpage content left border after receiving a webpage refresh message under the condition that a webpage is zoomed and moving the webpage content according to the pixel value of the webpage content left boarder; and calling the original webpage rendering processor object to process. According to the embodiment of the invention, the webpage content can be automatically moved after the webpage is zoomed, so that the left boarder of the webpage content is aligned with the left boarder of a screen of the electronic equipment.

Description

technical field [0001] The invention relates to webpage display technology, in particular to a method and device for aligning webpages after scaling on electronic equipment. Background technique [0002] With the continuous development of electronic equipment intelligence, more and more users use the browser on the electronic equipment to browse the webpage or other content, and in the operation of browsing the webpage, the reduction or enlargement of the content (hereinafter referred to as "zoom") The usage scenarios are more common. For example, the display control provided by the operating system of the electronic device may be used. Taking the Android system as an example, the zooming function of the built-in WebView control may be enabled to realize zooming. With this solution, the user can see the specific content of this area more clearly by zooming in on a certain area of ​​the page. The specific performance is that elements such as pictures and text in this area wi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30G06F3/0484G06T3/20G06T3/40
Inventor 张炅轩范国峰
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products