Web page zoom feature
First Claim
1. A method of displaying a document, the method comprising:
- receiving input comprising;
a web page comprising machine-readable instructions, anda zoom factor for the web page;
processing a document object model representation of the web page in accordance with the machine-readable instructions, wherein at least one scalable content parameter or at least one scalable layout parameter exists in the document object model, and wherein the processing comprises;
if one or more scalable content parameters exist in the document object model representation, modifying parameters pertaining to content in accordance with the zoom factor; and
if one or more scalable layout parameters exist in the document object model representation, modifying parameters pertaining to layout in accordance with the zoom factor; and
displaying the web page in a web browser according to the document object model representation.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, related to a cross-browser compliant web page zoom feature. A method includes receiving a web page with machine-readable instructions and a zoom factor for the web page; processing a document object model representation of the web page in accordance with the machine-readable instructions; and displaying the web page in a web browser according to the document object model representation. In that method, the processing includes modifying parameters pertaining to content in accordance with the zoom factor, if one or more scalable content parameters exist in the document object model representation, and modifying parameters pertaining to layout in accordance with the zoom factor, if one or more scalable layout parameters exist in the document object model representation.
143 Citations
25 Claims
-
1. A method of displaying a document, the method comprising:
-
receiving input comprising; a web page comprising machine-readable instructions, and a zoom factor for the web page; processing a document object model representation of the web page in accordance with the machine-readable instructions, wherein at least one scalable content parameter or at least one scalable layout parameter exists in the document object model, and wherein the processing comprises; if one or more scalable content parameters exist in the document object model representation, modifying parameters pertaining to content in accordance with the zoom factor; and if one or more scalable layout parameters exist in the document object model representation, modifying parameters pertaining to layout in accordance with the zoom factor; and displaying the web page in a web browser according to the document object model representation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer storage medium having a computer program stored thereon, the computer program comprising instructions operable to cause a data processing apparatus to:
process a document object model (DOM) representation of web page, wherein the instructions operable to process the DOM representation comprise instructions operable to; if one or more scalable content parameters exist in the DOM representation, modify parameters pertaining to content in accordance with a zoom factor such that a modified DOM representation is displayed to a user; and if one or more scalable layout parameters exist in the DOM representation, modify parameters pertaining to layout in accordance with the zoom factor such that a modified DOM representation is displayed to a user. - View Dependent Claims (13, 14, 15, 16, 17)
-
18. A computer storage medium comprising a first computer program encoded on the computer storage medium, the first computer program comprising:
cross-browser compliant code for instructing a web browser to; include, in a web page, a user interface means for selecting a zoom level corresponding to a zoom factor; and proportionately scale padding, borders, margins, position of objects, images, and text of the web page in accordance with a selected zoom factor. - View Dependent Claims (19)
-
20. A computer storage medium having a first web page stored on the computer storage medium, the first web page comprising:
-
content; first instructions specifying a layout for the content; second instructions operable to; process a document object model (DOM) representation of the first web page, wherein the second instructions comprise processing instructions to; if one or more scalable content parameters exist in the DOM representation, modify parameters pertaining to content in accordance with a zoom factor such that a modified DOM representation is displayed to a user; and if one or more scalable layout parameters exist in the DOM representation, modify parameters pertaining to layout in accordance with the zoom factor such that a modified DOM representation is displayed to a user; and third instructions operable to display within the first web page a mechanism a user can invoke to execute the second instructions. - View Dependent Claims (21)
-
-
22. A computer storage medium having a computer program stored on the computer storage medium, the computer program comprising instructions operable to cause a data processing apparatus to:
-
generate a web page; insert, into the web page, code operable to scale parameters pertaining to content and layout of the web page; and insert, into the web page, a mechanism that can be invoked by a user to execute the code operable to scale parameters pertaining to content and layout of the web page. - View Dependent Claims (23)
-
-
24. A system comprising:
one or more computers programmed to perform operations comprising; generating a first web page, the first web page including; content; first instructions specifying a layout for the content; second instructions operable to; process a document object model (DOM) representation of the first web page, wherein the second instructions comprise processing instructions to; if one or more scalable content parameters exist in the DOM representation, modify parameters pertaining to content in accordance with a zoom factor such that a modified DOM representation is displayed to a user; and if one or more scalable layout parameters exist in the DOM representation, modify parameters pertaining to layout in accordance with the zoom factor such that a modified DOM representation is displayed to a user; and third instructions operable to display within the first web page a mechanism a user can invoke to execute the second instructions; and sending the generated web page to a client device.
-
25. A system comprising:
one or more computers programmed to perform operations comprising; generating a web page; inserting, into the web page, code operable to scale parameters pertaining to content and layout of the web page; inserting, into the web page, a mechanism that can be invoked by a user to execute the code operable to scale parameters pertaining to content and layout of the web page; and sending the generated web page to a client device.
Specification