Rendering structured documents with place-markers
First Claim
Patent Images
1. A method comprising:
- by a computing device, requesting a structured document;
by the computing device, receiving the structured document, the structured document comprising one or more place-marker elements corresponding to one or more data objects of the structured document, wherein each of the one or more place-marker elements is sized according to an aspect ratio of the corresponding data object;
by the computing device, determining based at least in part on the place-marker elements a size of the entire structured document in at least one dimension as rendered with all the data objects loaded, wherein the determining comprises accessing the aspect ratio associated with each of the one or more place-marker elements;
by the computing device, without rendering the structured document with all the data objects loaded, determining based at least in part on the size of the entire structured document a size of a scroll bar in the at least one dimension of a graphical user interface;
by the computing device, providing for display with the graphical user interface the scroll bar based on the determined size;
by the computing device, detecting a scroll or resize event associated with the graphical user interface;
by the computing device, in response to detecting the scroll or resize event, executing an event handler function associated with the scroll or resize event;
wherein the event handler function when executed is configured to;
delay executing operations of the event handler function for a prescribed period of time during the scroll or resize event;
at the end of the prescribed period of time, determine that a portion of the structured document is viewable;
determine that a subset of a list of the place marker elements is within the portion of the structured document;
load the data objects corresponding to the subset of place-marker elements; and
remove the subset of the place-marker elements from the list.
2 Assignments
0 Petitions
Accused Products
Abstract
In one embodiment, a client application renders a structured document in a graphical user interface, determines whether a select place marker element in the structured document is viewable within the graphical user interface; if the select place marker element is viewable, the client application retrieves and render the data object associated with the place marker element.
-
Citations
17 Claims
-
1. A method comprising:
-
by a computing device, requesting a structured document; by the computing device, receiving the structured document, the structured document comprising one or more place-marker elements corresponding to one or more data objects of the structured document, wherein each of the one or more place-marker elements is sized according to an aspect ratio of the corresponding data object; by the computing device, determining based at least in part on the place-marker elements a size of the entire structured document in at least one dimension as rendered with all the data objects loaded, wherein the determining comprises accessing the aspect ratio associated with each of the one or more place-marker elements; by the computing device, without rendering the structured document with all the data objects loaded, determining based at least in part on the size of the entire structured document a size of a scroll bar in the at least one dimension of a graphical user interface; by the computing device, providing for display with the graphical user interface the scroll bar based on the determined size; by the computing device, detecting a scroll or resize event associated with the graphical user interface; by the computing device, in response to detecting the scroll or resize event, executing an event handler function associated with the scroll or resize event; wherein the event handler function when executed is configured to; delay executing operations of the event handler function for a prescribed period of time during the scroll or resize event; at the end of the prescribed period of time, determine that a portion of the structured document is viewable; determine that a subset of a list of the place marker elements is within the portion of the structured document; load the data objects corresponding to the subset of place-marker elements; and remove the subset of the place-marker elements from the list. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. One or more computer-readable non-transitory storage media embodying software that is operable when executed to:
-
request a structured document; receive the structured document, the structured document comprising one or more place-marker elements corresponding to one or more data objects of the structured document, wherein each of the one or more place-marker elements is sized according to an aspect ratio of the corresponding data object; determine based at least in part on the place-marker elements a size of the entire structured document in at least one dimension as rendered with all the data objects loaded, wherein the determining comprises accessing the aspect ratio associated with each of the one or more place-marker elements; without rendering the structured document with all the data objects loaded, determine based at least in part on the determined size of the entire structured document a size of a scroll bar in the at least one dimension of a graphical user interface; and provide for display with the graphical user interface the scroll bar based on the determined size; detect a scroll or resize event associated with the graphical user interface; in response to detecting the scroll or resize event, executing an event handler function associated with the scroll or resize event; wherein the event handler function when executed is configured to; delay executing operations of the event handler function for a prescribed period of time during the scroll or resize event; at the end of the prescribed period of time, determine that a portion of the structured document is viewable; determine that a subset of a list of the place marker elements is within the portion of the structured document; load the data object corresponding to the subset of place-marker elements; and remove the subset of the place-marker elements from the list. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system comprising:
-
one or more processors; and a memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to; request a structured document; receive the structured document, the structured document comprising one or more place-marker elements corresponding to one or more data objects of the structured document, wherein each of the one or more place-marker elements is sized according to an aspect ratio of the corresponding data object; determine based at least in part on the place-marker elements a size of the entire structured document in at least one dimension as rendered with all the data objects loaded, wherein the determining comprises accessing the aspect ratio associated with each of the one or more place-marker elements; without rendering the structured document with all the data objects loaded, determine based at least in part on the determined size of the entire structured document a size of a scroll bar in the at least one dimension of a graphical user interface; and provide for display with the graphical user interface the scroll bar based on the determined size; detect a scroll or resize event associated with the graphical user interface; in response to detecting the scroll or resize event, executing an event handler function associated with the scroll or resize event; wherein the event handler function when executed is configured to; delay executing operations of the event handler function for a prescribed period of time during the scroll or resize event; at the end of the prescribed period of time, determine that a portion of the structured document is viewable; determine that a subset of a list of the place marker elements is within the portion of the structured document; load the data objects corresponding to the subset of place-marker elements; and remove the subset of the place-marker elements from the list. - View Dependent Claims (14, 15, 16, 17)
-
Specification