Method and device for webpage zooming and aligning on electronic equipment

A technology of webpage scaling and electronic equipment, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of misalignment and alignment of webpages

Inactive Publication Date: 2013-09-25
BEIJING QIHOO TECH CO LTD +1
View PDF4 Cites 6 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 webpage zooming and aligning on electronic equipment
  • Method and device for webpage zooming and aligning on electronic equipment
  • Method and device for webpage zooming and aligning on electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] 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.

[0034] figure 2 A flowchart of a method 200 for aligning webpages after scaling on an electronic device according to an embodiment of the present invention is schematically illustrated.

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

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 webpage zooming and aligning on electronic equipment. The method includes creating a customized webpage rendering processor object and utilizing the same to replace an original webpage rendering processor object; during webpage zooming, after a refreshing page information is received, acquiring a first pixel value of a left-side frame of webpage content based on horizontal-longitudinal pixel values of a zooming midpoint in a webpage when zooming operations are finished and a display zooming proportion after zooming; if the first pixel value is a positive number or zero, moving the webpage content according to the first pixel value, and recording the first pixel value as a reference pixel value; if the first pixel value is a negative number, acquiring a second pixel value of the left-side frame of the webpage content based on the horizontal-longitudinal pixel values of the zooming midpoint when the zooming operations are started and a display zooming proportion before zooming, if the second pixel value is a positive number or zero, moving the webpage content according to the second pixel value, and recording the second pixel value as a reference pixel value; invoking the original rendering processor object to execute processing.

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 Applications(China)
IPC IPC(8): G06F17/30
Inventor 张炅轩范国峰
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products