Method and apparatus for implementing web pages having smart tables
First Claim
1. A method for preserving a preferred presentation layout of a web page authored on a first computing system and rendered on one or more second computing systems, the method comprising:
- obtaining a layout of display elements on a web page, each display element comprising content, the layout comprising position data of each of the display elements, the position data indicating a location of the content of each display element as displayed in the web page;
determining, using the first computing system, a primary split direction for the web page based on the position data, the position data used to determine whether the display elements are splittable, the primary split direction determined after the layout is obtained;
determining splits of the web page, in the primary split direction by comparing the position data of one display element to the position data of at least one other display element;
generating, after receiving a request from a user, an internal representation of the web page where the layout of the web page is primarily by rows or primarily by columns in accordance with the splits; and
determining a split in another split direction in response to determining that the primary split direction is unavailable when a line extending in the primary split direction intersects at least one of the display elements on the web page.
7 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus that allows a user to specify whether his web page has primarily row or column layout. Web page editor software designed in accordance with the present invention generates the internal representation of a page (such as HTML) differently depending on how the user specifies the web page. A preferred embodiment of the present invention defaults to a primarily row layout, but allows the user to specify a primarily columnar layout by checking a box displayed by the editor. The editor generates an HTML table representing the page (or each frame of the page). Within the main HTML table, the editor generates HTML subtables, depending on whether the page is laid out using primarily row or column layout. The subtables are defined in such a way that the various elements of the page lined up in either a row or column direction, thus minimizing the problems. In addition, an editor in accordance with a preferred embodiment of the present invention allows the user to define whether the height of text is locked or whether it can be changed when viewed by a browser.
-
Citations
2 Claims
-
1. A method for preserving a preferred presentation layout of a web page authored on a first computing system and rendered on one or more second computing systems, the method comprising:
-
obtaining a layout of display elements on a web page, each display element comprising content, the layout comprising position data of each of the display elements, the position data indicating a location of the content of each display element as displayed in the web page; determining, using the first computing system, a primary split direction for the web page based on the position data, the position data used to determine whether the display elements are splittable, the primary split direction determined after the layout is obtained; determining splits of the web page, in the primary split direction by comparing the position data of one display element to the position data of at least one other display element; generating, after receiving a request from a user, an internal representation of the web page where the layout of the web page is primarily by rows or primarily by columns in accordance with the splits; and determining a split in another split direction in response to determining that the primary split direction is unavailable when a line extending in the primary split direction intersects at least one of the display elements on the web page.
-
-
2. A method for preserving a preferred presentation layout of a web page authored on a first computing system and rendered on one or more second computing systems, the method comprising:
-
obtaining a layout of display elements on a web page, each display element comprising content, the layout comprising position data of each of the display elements, the position data indicating a location of the content of each display element as displayed in the web page; determining, using the first computing system, a primary split direction for the web page based on the position data, the position data used to determine whether the display elements are splittable, the primary split direction determined after the layout is obtained; determining splits of the web page, in the primary split direction by comparing the position data of one display element to the position data of at least one other display element; generating, after receiving a request from a user, an internal representation of the web page where the layout of the web page is primarily by rows or primarily by columns in accordance with the splits; and when a split in the primary split direction is unavailable, performing a split in another split direction, the split in the another direction being perpendicular to the split in the primary split direction, and wherein after the performing the split in the another direction, the split in the primary spilt direction becomes available.
-
Specification