Dynamic web page behaviors
First Claim
1. A computer-readable medium having computer-executable instructions for performing a method of rendering a web page image, the method comprising:
- receiving an HTML document having an element thereon, the HTML document including information associating the element with an external component that is encapsulated and external to the HTML document such that multiple instances of the external component are used with a plurality of different HTML documents including the HTML document having the element thereon and wherein the information associating the element with the external component is maintained in a cascading style sheet;
rendering a page image corresponding to at least part of the HTML document, the page image including a representation of the element and the page image being rendered by a renderer configured to;
modify the page image by accessing one or more extensible markup language (XML) namespaces specified by the external component to initiate drawing of information on the page image based at least in part on code included in the one or more XML namespaces;
make a plurality of calls to the one or more XML namespaces to initiate the drawing of the information on the page image; and
draw the information on the page image responsive to one or more of the plurality of calls to the one or more XML namespaces;
instantiating the external component to reveal one or more of the XML namespaces specified by the external component, the one or more of the XML namespaces being external to the HTML document and specifying one or more behaviors to be applied to the element; and
accessing the one or more XML namespaces to retrieve a new behavior to be applied to the representation of the element rendered on the page image, the new behavior being configured to enhance a default behavior for the element.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for rendering dynamic web page images on a display is disclosed. Code is encapsulated in an external behavior component for affecting the behavior of elements inserted into an HTML document. A simple reference is attached to the element in the document to associate the element with the external behavior component. When the document is provided to a renderer and the renderer parses the element in the document, the renderer accesses the external component to modify a behavior of the page image. Multiple documents can reuse external behavior components, and an element can be associated with multiple external behavior components. The associations between elements and external behavior components may be maintained in cascading style sheets, inline with the elements, and in various formats.
-
Citations
43 Claims
-
1. A computer-readable medium having computer-executable instructions for performing a method of rendering a web page image, the method comprising:
-
receiving an HTML document having an element thereon, the HTML document including information associating the element with an external component that is encapsulated and external to the HTML document such that multiple instances of the external component are used with a plurality of different HTML documents including the HTML document having the element thereon and wherein the information associating the element with the external component is maintained in a cascading style sheet; rendering a page image corresponding to at least part of the HTML document, the page image including a representation of the element and the page image being rendered by a renderer configured to; modify the page image by accessing one or more extensible markup language (XML) namespaces specified by the external component to initiate drawing of information on the page image based at least in part on code included in the one or more XML namespaces; make a plurality of calls to the one or more XML namespaces to initiate the drawing of the information on the page image; and draw the information on the page image responsive to one or more of the plurality of calls to the one or more XML namespaces; instantiating the external component to reveal one or more of the XML namespaces specified by the external component, the one or more of the XML namespaces being external to the HTML document and specifying one or more behaviors to be applied to the element; and accessing the one or more XML namespaces to retrieve a new behavior to be applied to the representation of the element rendered on the page image, the new behavior being configured to enhance a default behavior for the element. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computer-implemented method of providing dynamic effects to an HTML document, comprising,
encapsulating code in an external component that affects a behavior of one or more elements contained in the HTML document while being external to the HTML document, including elements of different HTML documents, wherein code for determining a behavior of the one more elements contained in the HTML document is not included in the HTML document and is defined by one or more extensible markup language (XML) namespaces associated with the external component; -
inserting an element into the HTML document; attaching a reference in the HTML document to associate the element with an instance of the external component, such that another instance of the element is referenced by a different HTML document, and wherein the reference associating the element with the external component is maintained in a cascading style sheet and comprises a reference to the one or more XML namespaces; and providing the HTML document to a renderer, wherein the renderer is capable of instantiating the external component, the renderer being configured to; modify a page image by accessing the one or more XML namespaces associated with the external component to initiate drawing of information on the page image based at least in part on code included in the one or more XML namespaces; make a plurality of calls to the one or more XML namespaces to initiate the drawing of the information on the page image; draw the information on the page image responsive to one or more of the plurality of calls to the one or more XML namespaces; instantiate the external component to reveal one or more of the XML namespaces associated with the external component the one or more of the XML namespaces being external to the HTML document and specifying one or more behaviors to be applied to the element; and access the one or more XML namespaces to retrieve a new behavior to be applied to a representation of the element rendered on the page image the new behavior being configured to enhance a default behavior for the element. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A computer system including at least one processor for rendering page images on a display, comprising:
-
an external component encapsulating code for modifying a behavior of one or more elements, the external component operable to be instantiated multiple times and operable to modify elements in a plurality of different HTML documents while being external to the HTML documents and wherein information associating the one or more elements with the external component is maintained in a cascading style sheet, wherein code for determining a behavior of the one or more elements is included in one or more extensible markup language (XML) namespaces that are defined externally to the HTML documents and that are associated with the external component; and at least one processing unit comprising a renderer connected to the display for rendering the page images, the renderer being configured to; modify one or more of the page images by accessing one or more of the XML namespaces associated with the external component to initiate drawing of information on the one or more of the page images based at least in part on code included in the one or more XML namespaces; make a plurality of calls to the one or more XML namespaces to initiate the drawing of the information on the one or more of the page images; and draw the information on the one or more of the page image responsive to one or more of the plurality of calls to the one or more XML namespaces; the renderer being further configured to; instantiate the external component to reveal one or more of the XML namespaces associated with the external component the one or more of the XML namespaces being external to the HTML document and specifying one or more behaviors to be applied to the one or more elements; and access the one or more XML namespaces to retrieve a new behavior to be applied to the representation of the one or more elements rendered on the page image, the new behavior being configured to enhance a default behavior for the one or more elements. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43)
-
Specification