Multi-level tab plug-in construction method and its setting method and device

A construction method, a technology of tabs, applied in the direction of program control device, program control design, data processing input/output process, etc., can solve problems such as lack of flexibility, achieve a wide range of applications, harmonious and beautiful appearance, flexible layout Effect

Active Publication Date: 2020-07-28
SHENZHEN IPANEL TECH LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the multi-level tabs set by the prior art all pre-set the content and color of the tabs at all levels, and cannot be changed accordingly according to specific trigger events, lacking certain flexibility

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-level tab plug-in construction method and its setting method and device
  • Multi-level tab plug-in construction method and its setting method and device
  • Multi-level tab plug-in construction method and its setting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] See figure 1 This is a schematic flowchart of a method for constructing a plug-in for multi-level tabs according to the first embodiment of the present invention. The method includes the following steps:

[0042] S11. Define the global object of the plug-in, write a function closure, and return the objects in the closure to the global object;

[0043] It is understandable that the purpose of defining the global object of the plug-in and writing the function closure is to prevent the variables in the plug-in from polluting the global variables, that is, the plug-in can be applied to various operating environments and expand its use range.

[0044] S12. Define function variables and the initialization mode of the plug-in in the closure;

[0045] Specifically, function variables are defined in the closure and local variables are defined in the function, so that the commonly used variables are written first; at the same time, the initialization mode of the plug-in is defined, includ...

Embodiment 2

[0050] Refer to the first embodiment of the present invention and figure 1 For the specific process of steps S11 to S13 described in, refer to the flow diagram of a method for setting multi-level tabs provided in the second embodiment of the present invention. The method includes the following steps:

[0051] S21: Analyze the acquired trigger event to obtain attribute information corresponding to the trigger event;

[0052] S22. Determine whether the tab level corresponding to the trigger event is the lowest level of the tab according to the attribute information of the trigger event, if it is, execute S23, if not, execute S24;

[0053] S23: Display corresponding content information according to the trigger event;

[0054] S24. According to the attribute information of the trigger event, set a lower-level tab list of the tab level corresponding to the trigger event, and perform hexadecimal color conversion and calculation according to the current level color value of the trigger event ...

Embodiment 3

[0068] Corresponding to the method for setting multi-level tabs disclosed in the second embodiment, the third embodiment of the present invention also provides a device for setting multi-level tabs, see image 3 This is a schematic structural diagram of a device for setting multi-level tabs provided in Embodiment 3 of the present invention, and the device includes:

[0069] The analysis module 1 is used to analyze the acquired trigger event and obtain attribute information corresponding to the trigger event;

[0070] The setting module 2 is used for judging whether the tab level corresponding to the trigger event is the lowest level of the tab according to the attribute information of the trigger event, and if so, display corresponding content information according to the trigger event If not, set the lower-level tab list of the tab level corresponding to the trigger event according to the attribute information of the trigger event, and perform hexadecimal color according to the cu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention discloses a multi-level option card plug-in construction method and its setting method and device. The multi-level option card setting method includes: analyzing the acquired trigger event, and obtaining the attribute information corresponding to the trigger event ; Determine whether the tab level corresponding to the trigger event is the bottom of the tab, if yes, display the corresponding content information; if not, set the lower level tab of the tab level corresponding to the trigger event list, and perform hexadecimal color conversion and calculation according to the color value of the current level of the trigger event, and set the color of each level of the lower level corresponding to the trigger event. The purpose of flexible layout of different levels of multi-level tabs is realized.

Description

Technical field [0001] The present invention relates to the technical field of page display, in particular to a plug-in construction method of multi-level tabs and a setting method and device thereof. Background technique [0002] With the development of Internet technology in recent years, in order to facilitate people's browsing and use of browsers, corresponding web page settings have become more and more abundant. Among them, the setting of multi-level tabs facilitates the user to browse the content to be browsed according to the level. [0003] At present, the existing multi-level tab settings are based on the attributes contained in the trigger element of the trigger event, and then match the corresponding elements according to the attributes, and write a layer of application areas according to the corresponding elements, and set all levels The width and color of the tab. When clicking on an item in one level of tabs, through the parameters contained in its element, to matc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F9/451G06F3/0485G06F3/0484
CPCG06F3/04842G06F3/0485G06F9/44526
Inventor 徐佳宏万冠兰陈恋
Owner SHENZHEN IPANEL TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products