Search International and National Patent Collections

1. (WO2014206125) METHOD AND DEVICE FOR ALIGNING ZOOMED WEBPAGE ON ELECTRONIC DEVICE

Pub. No.:    WO/2014/206125    International Application No.:    PCT/CN2014/074455
Publication Date: Thu Jan 01 00:59:59 CET 2015 International Filing Date: Tue Apr 01 01:59:59 CEST 2014
IPC: G06F 3/0488
Applicants: BEIJING QIHOO TECHNOLOGY COMPANY LIMITED
北京奇虎科技有限公司
QIZHI SOFTWARE (BEIJING) COMPANY LIMITED
奇智软件(北京)有限公司
Inventors: ZHANG, Jiongxuan
张炅轩
FAN, Guofeng
范国峰
Title: METHOD AND DEVICE FOR ALIGNING ZOOMED WEBPAGE ON ELECTRONIC DEVICE
Abstract:
Disclosed are a method and device for aligning a zoomed webpage on an electronic device. The method comprises: constructing a custom webpage rendering processor object, and using the custom webpage rendering processor object to replace an original webpage rendering processor object; when a webpage is zoomed, after a message of refreshing a page is received, based on pixel values of the horizontal and vertical coordinates of a zooming midpoint in the webpage when a zooming operation is ended, and the zooming scale displayed after zooming, acquiring a first pixel value of the left border of a webpage content; in the case where the first pixel value is a positive number or zero, according to the mobile webpage content thereof, recording the first pixel value as a reference pixel value; alternatively, in the case where the first pixel value is a negative number, based on the pixel values of the horizontal and vertical coordinates of the zooming midpoint when the zooming operation is started, and the zooming scale displayed before zooming, acquiring a second pixel value of the left border of the webpage content; in the case where the second pixel value is a positive number or zero, according to the mobile webpage content thereof, recording the second pixel value as a reference pixel value; and invoking the original webpage rendering processor object to execute processing.