DECLARATIVE SHOW AND HIDE ANIMATIONS IN HTML5
First Claim
1. A method for implementing Cascading Style Sheet (“
- CSS”
) animations in-line in Hypertext Markup Language (“
HTML”
) markup, the method comprising the steps of;
loading an HTML markup in which the CSS animations are defined in-line using show and hide animation attributes associated with HTML elements;
parsing the HTML markup to generate a Document Object Model (“
DOM”
) tree;
utilizing a set of utility functions that wrap Javascript DOM element methods, the utility functions, when utilized, invoking a show and hide animation algorithm;
traversing the DOM tree using the show and hide animation algorithm to locate HTML elements having the show or hide animation attributes; and
executing the defined CSS animations associated with the located HTML elements.
2 Assignments
0 Petitions
Accused Products
Abstract
An arrangement for enabling declarative show and hide animations in web-based applications is provided in which expando attributes associated with HTML elements are utilized to define CSS level 3 (“C553”) animations that are executed when an element is shown or hidden. A set of utility functions, which wrap standard DOM (Document Object Model) element methods supported in JavaScript, are employed to show, hide, add, and remove elements from the DOM tree and invoke an algorithm when used. The algorithm traverses the DOM tree for HTML elements that have the show and hide expando attributes and automatically executes the associated animations.
18 Citations
20 Claims
-
1. A method for implementing Cascading Style Sheet (“
- CSS”
) animations in-line in Hypertext Markup Language (“
HTML”
) markup, the method comprising the steps of;loading an HTML markup in which the CSS animations are defined in-line using show and hide animation attributes associated with HTML elements; parsing the HTML markup to generate a Document Object Model (“
DOM”
) tree;utilizing a set of utility functions that wrap Javascript DOM element methods, the utility functions, when utilized, invoking a show and hide animation algorithm; traversing the DOM tree using the show and hide animation algorithm to locate HTML elements having the show or hide animation attributes; and executing the defined CSS animations associated with the located HTML elements. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
- CSS”
-
9. One or more computer-readable storage media, not consisting of a propagated signal, storing instructions which, when executed by one or more processors disposed in an electronic device, perform a method for enabling specification of CSS level 3 (“
- CSS3”
) animations within a HyperText Markup Language revision 5 (“
HTML5”
) document, the method comprising the steps of;receiving the HTML5 document at a local server, the document including CSS3 animations defined in-line using show and hide animation expando attributes associated with particular ones of HTML elements; sending a set of utility functions to a remote client, the set of utility functions wrapping standard Javascript DOM (Document Object Model) element methods, the utility functions, when utilized on a client browser at runtime, invoking a show and hide animation algorithm; and sending the HTML5 document to the remote client device for parsing into a DOM tree at runtime, the show and hide animation algorithm being configured for querying the DOM tree to locate HTML elements having the show or hide animation expando attributes and executing the defined CSS3 animations associated with the located HTML elements. - View Dependent Claims (10, 11, 12, 13, 14)
- CSS3”
-
15. A system for automatically executing CSS level 3 (“
- CSS3”
) animations from in-line HyperText Markup Language (“
HTML”
) markup, the system comprising;one or more computer-readable storage media; and a processor responsive to the computer-readable storage media and to a computer program, the computer program, when loaded into the processor, operable for i) exposing an interface to a user to enable the user to specify CSS3 animations in-line with the HTML markup using show and hide animation attributes associated with HTML elements, ii) generating a client-side executable HTML file including the specified in-line CSS3 animations, iii) generating JavaScript to implement a set of utility functions that wrap Javascript Document Object Model (“
DOM”
) element methods, the utility functions, when utilized at a client device, invoking a show and hide animation algorithm, the show and hide animation algorithm walking a DOM tree generated from the HTML file, when parsed, to locate HTML elements having associated show or hide animation attributes and executing the user-specified CSS3 animations at the client device. - View Dependent Claims (16, 17, 18, 19, 20)
- CSS3”
Specification