CN109471685A - The methods of exhibiting and device of drop-down menu - Google Patents
The methods of exhibiting and device of drop-down menu Download PDFInfo
- Publication number
- CN109471685A CN109471685A CN201710810948.7A CN201710810948A CN109471685A CN 109471685 A CN109471685 A CN 109471685A CN 201710810948 A CN201710810948 A CN 201710810948A CN 109471685 A CN109471685 A CN 109471685A
- Authority
- CN
- China
- Prior art keywords
- submenu
- menu
- next stage
- presented
- hierarchical relationship
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Abstract
The invention discloses a kind of methods of exhibiting of drop-down menu and devices.Wherein, specify main menu corresponding content to be presented with browser this method comprises: obtaining;According to it is described it is content to be presented between hierarchical relationship generate the next stage menu of submenu and the submenu, and show the next stage menu of the submenu and the submenu.The present invention, which is solved, causes the technical issues of occupying operation resource, influencing processing speed and user experience since the click by control button is shown and hides corresponding child node.
Description
Technical field
The present invention relates to computer fields, in particular to the methods of exhibiting and device of a kind of drop-down menu.
Background technique
Currently, mostly between combobox option is parallel relation, it is each choosing according to having hierarchical structure content to be presented
The ID of item building ID and corresponding parent option;Exhibition is accordingly retracted and is added according to place level when generating drop-down menu
The button opened and withdrawn shows by the click event of control button and hides corresponding child node.
The process of above-mentioned realization is comparatively laborious, specifically, needing to judge to correspond to when level one choice hides child node
Level two options, then judge corresponding three-level option by level two options, and so on realize hiding for child node, thus may be used
See, realize logic be it is more complicated, certain operation resource can be occupied in this way, will affect processing speed sometimes, influence
User experience.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of methods of exhibiting of drop-down menu and devices, at least to solve due to passing through prison
It listens the click of button to show and hide corresponding child node and causes to occupy operation resource, influence the skill of processing speed and user experience
Art problem.
According to an aspect of an embodiment of the present invention, provide a kind of methods of exhibiting of drop-down menu, comprising: obtain with it is clear
Looking in device specifies main menu corresponding content to be presented;According to it is described it is content to be presented between hierarchical relationship generate submenu and
The next stage menu of the submenu, and show the next stage menu of the submenu and the submenu.
Optionally, the submenu with hierarchical relationship is generated according to the hierarchical relationship between content to be presented, comprising: by institute
It states and content to be presented is converted to array or object, wherein there is hierarchical relationship between the array or object;According to the level
The array or object are converted to the next stage label of hypertext markup language html label and the html label by relationship;With
And the next stage label of the html label and the html label is rendered and generates the submenu and the son respectively
The next stage menu of menu.
Optionally, obtain in browser specify main menu it is corresponding it is content to be presented before, method further include: reception pair
The selection instruction of specified main menu;Under the triggering of selection instruction, obtain corresponding with specified main menu content to be presented.
Optionally, after the next stage menu for showing the submenu and the submenu, method further include: receive input
Search instruction;Show the next stage menu of submenu corresponding with search condition indicated by search instruction and/or submenu.
Optionally, the search instruction of input is received, comprising: receive phonetic order from the user;Phonetic order is converted
For text information, using text information as search condition.
Optionally, the next stage menu of the submenu and the submenu is shown, comprising: directly displaying submenu and son
The next stage menu of menu;Or the next of submenu is unfolded under the triggering of triggering command in the triggering command of reception submenu
Grade menu;Alternatively, packing up the next stage menu of submenu.
According to another aspect of an embodiment of the present invention, a kind of methods of exhibiting of drop-down menu is additionally provided, comprising: starting is clear
Look at device;It detects to the selection instruction for specifying main menu in browser;It is sub under main menu according to specifying when detecting selection instruction
Hierarchical relationship between menu shows the submenu with hierarchical relationship.
Optionally, the submenu and the son are shown according to the hierarchical relationship between submenu under the specified main menu
After the next stage menu of menu, the above method further include: receive the search instruction of input;Indicated by displaying and search instruction
The next stage menu of the corresponding submenu of search condition and/or submenu.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, comprising: storage medium includes storage
Program, wherein program operation when control storage medium where equipment execute any one drop-down menu methods of exhibiting.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, comprising: processor is for running journey
Sequence, wherein the methods of exhibiting of the drop-down menu of any one is executed when program is run.
According to another aspect of an embodiment of the present invention, additionally provide a kind of terminal, comprising: processor, for obtain with it is clear
Looking in device specifies main menu corresponding content to be presented, and according to it is described it is content to be presented between hierarchical relationship generate sub- dish
The next stage menu of the single and described submenu;Display device, for showing submenu and the son with hierarchical relationship
The next stage menu of menu.
In embodiments of the present invention, corresponding content to be presented with main menu specified in browser using obtaining;According to
It shows that the hierarchical relationship between content generates the submenu with hierarchical relationship, and shows the submenu with hierarchical relationship
Mode, by tree level structure show drop-down list in menu, reached and more intuitively found out hierarchical relationship between option
Purpose to realize so that the apparent technical effect of option hierarchical relationship, and then is solved due to the point by control button
The technical issues of hitting displaying and hiding corresponding child node and cause to occupy operation resource, influence processing speed and user experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 a is a kind of schematic diagram of the methods of exhibiting of drop-down menu according to an embodiment of the present invention;
Fig. 1 b is that the submenu unfolded state in a kind of drop-down menu according to an embodiment of the present invention with hierarchical relationship is shown
It is intended to;
Fig. 1 c is that the submenu collapsed state in a kind of drop-down menu according to an embodiment of the present invention with hierarchical relationship is shown
It is intended to;
Fig. 1 d is that the display state of the submenu inputted after keyword in a kind of search box according to an embodiment of the present invention shows
It is intended to;
Fig. 2 is a kind of schematic diagram of the methods of exhibiting of optional drop-down menu according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the methods of exhibiting of optional drop-down menu according to an embodiment of the present invention;
Fig. 4 a is a kind of structural schematic diagram of the displaying device of drop-down menu according to an embodiment of the present invention;
Fig. 4 b is the structural schematic diagram of the displaying device of another drop-down menu according to an embodiment of the present invention;And
Fig. 5 is a kind of structural schematic diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
To facilitate the understanding of the above-described embodiments, below that explanation of technical terms involved in the embodiment of the present application is as follows:
Hierarchical relationship: it is all kinds of it is content to be presented between status be not it is identical, have different ranks, for example, A class
One kind content to be presented for B class content to be presented, then A class rank content to be presented is lower than B class rank content to be presented.
According to embodiments of the present invention, a kind of embodiment of the method for the methods of exhibiting of drop-down menu is provided, needs to illustrate
It is that step shown in the flowchart of the accompanying drawings can execute in a computer system such as a set of computer executable instructions,
Also, although logical order is shown in flow charts, and it in some cases, can be to be different from sequence execution herein
Shown or described step.
Fig. 1 is the methods of exhibiting of drop-down menu according to an embodiment of the present invention, and as shown in Figure 1a, this method includes following step
It is rapid:
Step S102 is obtained and is specified main menu corresponding content to be presented with browser;Optionally, the specified main menu
The form of combobox can be shown as, but not limited to this.
Specifically, obtaining in mainly level-one drop-down menu content to be presented corresponding with main menu is specified in browser
Content and corresponding second level Drop Down Menu Choices;
In an alternative embodiment, step S102 can be that default after launching the browser is automatic to be executed, can also be with
It is passively executed based on user instruction, for the latter, following implemented form can be shown as, but not limited to this: it obtains and browses
Specified in device main menu it is corresponding it is content to be presented before, receive to the selection instruction of specified main menu;In the touching of selection instruction
It gives, obtains corresponding with specified main menu content to be presented.Optionally, above-mentioned selection instruction can be above-mentioned specified main menu
Click commands, be also possible to the selection instruction to a certain option in combobox.For example, as shown in Figure 1 b, above-mentioned combobox
In may include multiple main menus, such as can be " channel user ", or " my user group ".
Herein it should be noted that after receiving the selection instruction of channel user's drop-down menu;Canal is selected in a browser
Road user's drop-down menu gets the content to be presented of channel user drop-down menu and corresponding second level;
S102 through the above steps can provide data supporting for the generation of submenu, after step s 102, can be right
The content to be presented of acquisition is classified, wherein and it is different types of content to be presented with different levels, it in this way can base
Submenu and the next stage menu of the submenu are generated in hierarchical relationship.
Step S104 generates the next stage dish of submenu and submenu according to the hierarchical relationship between content to be presented
It is single, and show the next stage menu of submenu and submenu;
In one alternate embodiment, the next stage menu of above-mentioned submenu includes but is not limited to have hierarchical relationship more
Grade submenu, such as submenu next stage menu n, menu n next stage menu n+1, menu n+1 next stage menu n+
1,
In an alternative embodiment, step S104 can be accomplished by the following way, but not limited to this: it will be to be presented
Content Transformation is array or object;According to hierarchical relationship by array or object be converted to hypertext markup language (html) label and
The next stage label of html label;And the next stage label of html label and html label is rendered and generates sub- dish respectively
Single and submenu next stage menu;For example, as illustrated in figure 1 c, according to main layer grade " channel user " in hierarchical relationship and corresponding to
Hierarchical level " paid promotion ", " paid search ", " directly access ", " freely searching element " and " free to recommend ", by main layer grade " channel
User " object is converted to html main label<channel user>, and generates with level assistant label<paid promotion>,<paid search
>,<directly access>,<freely searching element>and<free to recommend>.
Herein it should be noted that according to the mapping relations between level, that is, level-one drop-down menu and second level drop-down menu
Relationship is insinuated, array or object are converted into hypertext markup language html label, to hypertext markup language html label
Program in machine code generates submenu;
S104 through the above steps, may be implemented to generate according to the hierarchical relationship between content to be presented has hierarchical relationship
Submenu and show have hierarchical relationship submenu purpose.
It in an alternative embodiment, can also be to current presentation after showing the submenu with hierarchical relationship
Submenu and its next stage menu are retrieved, and to improve access efficiency, to realize the purpose, can execute following processing step
It is rapid: to receive the search instruction of input;Show corresponding with search condition indicated by search instruction submenu and/or submenu
Next stage menu;In an alternative embodiment, the search instruction of input is received, comprising: receive voice from the user and refer to
It enables;Phonetic order is converted into text information, using text information as search condition, in an alternative embodiment, is shown
Submenu with hierarchical relationship, comprising: directly show the next stage menu of submenu and submenu;Or receive submenu
The next stage menu of submenu is unfolded under the triggering of triggering command in triggering command;Alternatively, packing up the next stage dish of submenu
It is single.
For example, as shown in Figure 1 d, search instruction EDM is inputted in search box, indicated by automatic Display and search instruction
The corresponding submenu of search condition EDM.
Herein it should be noted that being shown after receiving search instruction and being identified to the retrieval content in search instruction
The next stage menu of the corresponding submenu of search condition and/or submenu out;
It may be implemented to show submenu corresponding with search condition indicated by search instruction and/or son through the above steps
The purpose of the next stage menu of menu.
It according to above-described embodiment, is illustrated below with specific embodiment, as shown in Figure 2, comprising the following steps:
Step S202 initializes combobox using plug-in unit;
Step S204, obtain combobox in option it is content to be presented, according to hierarchical relationship assembly Json object;
Step S206, plug-in unit is to the tree-shaped knot content to be presented for handling, generating retraction, being unfolded, shrink got
The html of structure pair;
Above-mentioned html is rendered into corresponding combobox content by step S208;
S202 to step S208 through the above steps, it is corresponding with main menu is specified in browser to be presented interior using obtaining
Hold;The submenu with hierarchical relationship is generated according to the hierarchical relationship between content to be presented, and shows that there is hierarchical relationship
The mode of above-mentioned submenu shows the menu in drop-down list by tree level structure, has reached and more intuitively found out between option
The purpose of hierarchical relationship to realize so that the apparent technical effect of option hierarchical relationship, and then is solved due to passing through prison
It listens the click of button to show and hide corresponding child node and causes to occupy operation resource, influence the skill of processing speed and user experience
Art problem.
Embodiment 2
According to embodiments of the present invention, a kind of methods of exhibiting embodiment of drop-down menu is additionally provided, as shown in figure 3, the party
Method includes the following steps:
Step S302 starts browser;
Specifically, double-clicking browser icon, the purpose of starting browser is realized;
The purpose of starting browser may be implemented in S302 through the above steps.
Step S304 is detected to the selection instruction for specifying main menu in browser;
Specifically, detecting the selection instruction of " my user group " main menu in browser, i.e., to " my user group " entree
Singly clicked;
S304 through the above steps may be implemented to detect the purpose to the selection instruction for specifying main menu in browser.
Step S306 is shown when detecting selection instruction according to the hierarchical relationship specified under main menu between submenu
The next stage menu of submenu and submenu with hierarchical relationship;
Specifically, showing and shrinking under " my user group " main menu and corresponding second level when detecting selection instruction
Draw menu and submenu;
S306 through the above steps may be implemented to have according to the hierarchical relationship displaying specified under main menu between submenu
The purpose of the submenu of hierarchical relationship.
In an alternative embodiment, show that there is level according to the hierarchical relationship specified under main menu between submenu
After the next stage menu of the submenu submenu of relationship, following treatment process can also be performed: receiving the search instruction of input;
Show the next stage menu of submenu corresponding with search condition indicated by search instruction and/or submenu.
Herein it should be noted that after receiving the search instruction inputted, search condition shown in search instruction is carried out
After identification, the next stage menu of submenu corresponding with search condition indicated by search instruction and/or submenu is shown.
It may be implemented to show submenu corresponding with search condition indicated by search instruction and/or son through the above steps
The purpose of the next stage menu of menu.
Embodiment 3
According to embodiments of the present invention, a kind of displaying Installation practice of drop-down menu is additionally provided.The embodiment of the present invention 1 with
And the methods of exhibiting of the drop-down menu in embodiment 2 can execute in the displaying device of the embodiment of the present invention 3.
Fig. 4 a is a kind of structural schematic diagram of the displaying device of drop-down menu according to an embodiment of the present invention, the device packet
It includes: acquiring unit 401, generation unit 403, in which:
Acquiring unit 401 specifies main menu corresponding content to be presented for obtaining with browser;
Generation unit 403, for generating the submenu with hierarchical relationship according to the hierarchical relationship between content to be presented,
And show the submenu with hierarchical relationship.
Display unit 405 generates the next stage of submenu and submenu according to the hierarchical relationship between content to be presented
Menu, and show the next stage menu of submenu and submenu
Fig. 4 b is the structural schematic diagram of the displaying device of another drop-down menu according to an embodiment of the present invention, the device packet
It includes: start unit 407, detection unit 409 and display unit 411;Wherein:
Start unit 407, for starting browser;
Detection unit 409, for detecting to the selection instruction for specifying main menu in browser;
Display unit 411, for being closed according to the level specified under main menu between submenu when detecting selection instruction
System shows the next stage menu of the submenu and submenu with hierarchical relationship;
The displaying device of drop-down menu can also be realized by processor and memory in Fig. 4 a and Fig. 4 b, at this point, above-mentioned
Acquiring unit 401, generation unit 403, display unit 405, start unit 407, detection unit 409 and display unit 411 etc. are equal
In memory as program unit storage, above procedure unit stored in memory is executed by processor to realize accordingly
Function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, carry out the more intuitive hierarchical relationship found out between menu by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
Embodiment 4
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
The methods of exhibiting of drop-down menu described in current embodiment 1 or 2.
Embodiment 5
The embodiment of the invention provides a kind of processor, above-mentioned processor is for running program, wherein above procedure operation
The methods of exhibiting of above-mentioned drop-down menu in Shi Zhihang embodiment 1 or 2.
Embodiment 6
The embodiment of the invention provides a kind of terminals, as shown in Figure 5, comprising: processor 50, in acquisition and browser
Specified main menu is corresponding content to be presented, and generates according to the hierarchical relationship between content to be presented with hierarchical relationship
Submenu;Display device 52, for showing the next stage menu of submenu and submenu with hierarchical relationship.
Embodiment 6
The embodiment of the invention provides a kind of equipment, which includes: processor, memory and stores on a memory simultaneously
The program that can be run on a processor, processor performs the steps of when executing program specifies main menu in acquisition and browser
It is corresponding content to be presented;According to it is above-mentioned it is content to be presented between hierarchical relationship generate under submenu and above-mentioned submenu
Further menu, and show the next stage menu of above-mentioned submenu and above-mentioned submenu;Alternatively, starting browser;Detection is to browsing
The selection instruction of main menu is specified in device;When detecting selection instruction, according to the level specified under main menu between submenu
Relationship shows the submenu with hierarchical relationship, and equipment herein can be server, PC, PAD, mobile phone etc..
Embodiment 7
Present invention also provides a kind of computer program products to be suitable for when executing in processing equipment content to be presented
It executes the program of initialization there are as below methods step: obtaining corresponding content to be presented with main menu specified in browser;Foundation
It is above-mentioned it is content to be presented between hierarchical relationship generate the next stage menu of submenu and above-mentioned submenu, and show above-mentioned son
The next stage menu of menu and above-mentioned submenu.Alternatively, starting browser;It detects and specifies the selection of main menu to refer to in browser
It enables;When detecting selection instruction, according to it is above-mentioned it is content to be presented between hierarchical relationship show above-mentioned submenu and above-mentioned son
The next stage menu of menu.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
It should be understood by those skilled in the art that, embodiments herein and device.Therefore, the application can be used completely hard
The form of part embodiment, complete software embodiment or embodiment combining software and hardware aspects.Moreover, the application can be used
In computer-usable storage medium (the including but not limited to disk that one or more wherein includes computer usable program code
Memory, CD-ROM, optical memory etc.) on the form of computer program product implemented.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of methods of exhibiting of drop-down menu characterized by comprising
It obtains and specifies main menu corresponding content to be presented with browser;
According to it is described it is content to be presented between hierarchical relationship generate the next stage menu of submenu and the submenu, and open up
Show the next stage menu of the submenu and the submenu.
2. the method according to claim 1, wherein according to it is described it is content to be presented between hierarchical relationship generate
The next stage menu of submenu and the submenu with hierarchical relationship, comprising:
Content to be presented array or object are converted to for described, wherein there is hierarchical relationship between the array or object;
The array or object are converted into hypertext markup language html label according to described hierarchical relationship and the html is marked
The next stage label of label;And
The next stage label of the html label and the html label is rendered and generates the submenu and described respectively
The next stage menu of submenu.
3. specifying main menu corresponding to be presented with browser the method according to claim 1, wherein obtaining
Before content, the method also includes:
Receive the selection instruction to the specified main menu;
Under the triggering of the selection instruction, obtain corresponding content to be presented with the specified main menu.
4. the method according to claim 1, wherein showing the next stage dish of the submenu and the submenu
After list, the method also includes:
Receive the search instruction of input;
Show the next stage of the submenu corresponding with search condition indicated by the search instruction and/or the submenu
Menu.
5. according to the method described in claim 4, it is characterized in that, receiving the search instruction of input, comprising:
Receive phonetic order from the user;
The phonetic order is converted into text information, using the text information as the search condition.
6. the method according to any one of claims 1 to 5, which is characterized in that show the submenu and the sub- dish
Single next stage menu, comprising:
Directly show the next stage menu of the submenu and the submenu;Or
The next stage dish of the submenu is unfolded under the triggering of the triggering command in the triggering command for receiving the submenu
It is single;Alternatively, packing up the next stage menu of the submenu.
7. a kind of methods of exhibiting of drop-down menu characterized by comprising
Start browser;
It detects to the selection instruction for specifying main menu in the browser;
When detecting the selection instruction, the son is shown according to the hierarchical relationship between submenu under the specified main menu
The next stage menu of menu and the submenu.
8. the method according to the description of claim 7 is characterized in that according to the level between submenu under the specified main menu
After relationship shows the next stage menu of the submenu and the submenu, the method also includes:
Receive the search instruction of input;
Show the next stage of the submenu corresponding with search condition indicated by the search instruction and/or the submenu
Menu.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require any one of 1 to 6 described in drop-down menu methods of exhibiting,
Or the methods of exhibiting of drop-down menu described in any one of perform claim requirement 7 or 8.
10. a kind of terminal characterized by comprising
Processor specifies main menu corresponding content to be presented for obtaining with browser, and according to described to be presented interior
Hierarchical relationship between appearance generates the next stage menu of submenu and the submenu;
Display device, for showing the next stage menu of the submenu and the submenu with hierarchical relationship.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710810948.7A CN109471685A (en) | 2017-09-08 | 2017-09-08 | The methods of exhibiting and device of drop-down menu |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710810948.7A CN109471685A (en) | 2017-09-08 | 2017-09-08 | The methods of exhibiting and device of drop-down menu |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109471685A true CN109471685A (en) | 2019-03-15 |
Family
ID=65657900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710810948.7A Pending CN109471685A (en) | 2017-09-08 | 2017-09-08 | The methods of exhibiting and device of drop-down menu |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109471685A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377851A (en) * | 2019-06-18 | 2019-10-25 | 平安科技(深圳)有限公司 | Implementation method, device and the computer equipment of multistage linking combobox |
CN110989981A (en) * | 2019-11-27 | 2020-04-10 | 北京搜狐新媒体信息技术有限公司 | Screening control |
CN112416341A (en) * | 2020-10-15 | 2021-02-26 | 福建升腾资讯有限公司 | Method, device and medium for generating multi-level transversely-expanded menu based on ng-zorro |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241415A (en) * | 2007-02-07 | 2008-08-13 | Lg电子株式会社 | Terminal and menu display method |
CN104166501A (en) * | 2013-05-17 | 2014-11-26 | 华为技术有限公司 | Menu display method and device |
CN105893017A (en) * | 2015-12-11 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and device for presenting project menu on equipment |
CN106598591A (en) * | 2016-12-12 | 2017-04-26 | 深圳竹信科技有限公司 | Webpage dynamic menu generation method and device |
-
2017
- 2017-09-08 CN CN201710810948.7A patent/CN109471685A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241415A (en) * | 2007-02-07 | 2008-08-13 | Lg电子株式会社 | Terminal and menu display method |
CN104166501A (en) * | 2013-05-17 | 2014-11-26 | 华为技术有限公司 | Menu display method and device |
CN105893017A (en) * | 2015-12-11 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Method and device for presenting project menu on equipment |
CN106598591A (en) * | 2016-12-12 | 2017-04-26 | 深圳竹信科技有限公司 | Webpage dynamic menu generation method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377851A (en) * | 2019-06-18 | 2019-10-25 | 平安科技(深圳)有限公司 | Implementation method, device and the computer equipment of multistage linking combobox |
CN110377851B (en) * | 2019-06-18 | 2024-02-02 | 平安科技(深圳)有限公司 | Method and device for realizing multi-stage linkage drop-down frame and computer equipment |
CN110989981A (en) * | 2019-11-27 | 2020-04-10 | 北京搜狐新媒体信息技术有限公司 | Screening control |
CN110989981B (en) * | 2019-11-27 | 2023-05-16 | 北京搜狐新媒体信息技术有限公司 | Screening control |
CN112416341A (en) * | 2020-10-15 | 2021-02-26 | 福建升腾资讯有限公司 | Method, device and medium for generating multi-level transversely-expanded menu based on ng-zorro |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9075918B1 (en) | System and method for creating change-resilient scripts | |
CN103678465B (en) | Based on context come the system and method for navigation in data base | |
CN110245279B (en) | Dependency tree generation method, device, equipment and storage medium | |
CN108121737A (en) | A kind of generation method, the device and system of business object attribute-bit | |
CN109471685A (en) | The methods of exhibiting and device of drop-down menu | |
CN105824830B (en) | Method, client and equipment for displaying page | |
CN108415941A (en) | A kind of spiders method, apparatus and electronic equipment | |
CN107707452A (en) | For the information displaying method, device and electronic equipment of expression | |
CN105549847B (en) | A kind of image display method and user terminal at playback of songs interface | |
CN103064600B (en) | Push the server of reading content, system, method and corresponding terminal | |
CN109582192B (en) | Hierarchical menu display method and device | |
CN106354483A (en) | Data processing method and devices and electric equipment thereof | |
CN102662666A (en) | Method and device for creating interface menu | |
CN109683773A (en) | Corpus labeling method and device | |
CN106033303A (en) | Information searching and identifying method and device | |
CN110532056A (en) | A kind of control recognition methods and device applied in user interface | |
CN107391540A (en) | A kind of small routine methods of exhibiting, device and grader | |
CN105608152A (en) | Method and device for asynchronously loading webpage resources | |
CN110737782B (en) | Method and device for generating text guide | |
CN110134302A (en) | Method, apparatus, medium and the electronic equipment of quick positioning node | |
JP6690828B2 (en) | Method and apparatus for keyword-based text search | |
CN105630893B (en) | A kind of display methods and device of group picture title | |
TWI744216B (en) | Method and device for providing prompt information | |
CN109240678B (en) | Code generation method and device | |
US20130198688A1 (en) | Electronic device, storage medium and method for searching menu options of the electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190315 |