Method and Apparatus for Displaying Cascading Menu
First Claim
1. A method of displaying a cascading menu that includes a plurality of submenus, the method comprising:
- determining a first submenu as indicated for browsing by a user based on a clicking event of the user;
when an operation interface of the first submenu is in a collapsed mode, counting a number of submenus currently in an expanded mode within an operation interface of the cascading menu;
when the number of submenus currently in the expanded mode reaches a first threshold, selecting at least a second submenu from the submenus currently in the expanded mode to shrink an operation interface of the selected second submenu; and
expanding the operation interface of the first submenu.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses a method of displaying a cascading menu that includes a plurality of submenus. The method determines a first submenu as indicated for browsing by a user based on a clicking event of the user. When an operation interface of the first submenu is in a collapsed mode, a number of submenus that are currently in an expanded mode within an operation interface of the cascading menu is counted. When the number of submenus that are currently in the expanded mode reaches a defined threshold, at least a second submenu is selected from the submenus that are currently in the expanded mode, and an operation interface of the second submenu is shrunk. The operation interface of the first submenu is expanded. Therefore, a size of the operation interface of the cascading menu will not increase as the number of the expanded submenus increases. As such, the amount of a page space occupied by the cascading menu is reduced and utilization of the page space is improved. The present disclosure further discloses a terminal apparatus.
-
Citations
12 Claims
-
1. A method of displaying a cascading menu that includes a plurality of submenus, the method comprising:
-
determining a first submenu as indicated for browsing by a user based on a clicking event of the user; when an operation interface of the first submenu is in a collapsed mode, counting a number of submenus currently in an expanded mode within an operation interface of the cascading menu; when the number of submenus currently in the expanded mode reaches a first threshold, selecting at least a second submenu from the submenus currently in the expanded mode to shrink an operation interface of the selected second submenu; and expanding the operation interface of the first submenu. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of displaying a cascading menu that includes a plurality of submenus, the method comprising:
-
determining a first submenu as indicated for browsing by a user based on a clicking event of the user; when an operation interface of the first submenu is in a collapsed mode, measuring a total width of the plurality of submenus that are currently in an expanded mode within an operation interface the cascading menu; when the total width of the plurality of submenus that are currently in the expanded mode reaches a first threshold, selecting at least a second submenu from the submenus that are currently in the expanded mode to shrink an operation interface of the second submenu; and expanding the operation interface of the first submenu in a sliding manner.
-
-
8. A terminal apparatus that displays a cascading menu having a plurality of submenus, the terminal apparatus comprising:
-
a user interface unit that determines a first submenu that is indicated for browsing by a user based on a clicking event of the user; a determination unit that determines whether or not an operation interface of the first submenu is in a collapsed mode to obtain a determination result; a counting unit that counts a number of submenus that are currently in an expanded mode within an operation interface of the cascading menu, when the operation interface of the first submenu is in the collapsed mode based on the determination result; a comparison unit that compares the number of submenus that are currently in the expanded mode with a first threshold to obtain a comparison result; and a processing unit that selects at least a second submenu from the submenus that are currently in the expanded mode to shrink an operation interface of the second submenu, and expands the operation interface of the first submenu in a sliding manner when the number of submenus that are currently in the expanded mode reaches the first threshold based on the comparison result. - View Dependent Claims (9, 10, 11, 12)
-
Specification