Unlock instant, AI-driven research and patent intelligence for your innovation.

Display method and device of webpage address selection component, storage medium and terminal

A web page address and address selection technology, applied in the field of data processing, can solve problems such as troublesome, difficult to maintain, and large HTML code files

Pending Publication Date: 2020-10-30
JINGDONG TECH HLDG CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor found that there are at least the following technical problems in the prior art: when the user does not trigger the display event of the web page address selection component, the CSS style file and the functional JavaScript file are still loaded in the HTML code file, so that There are redundant code files in the HTML code file, which makes the size of the HTML code file larger, reducing the page loading efficiency and the display efficiency of the web page address selection component
At the same time, it is necessary to add CSS style addresses and functional JavaScript addresses in at least two places in the HTML code file, which is cumbersome and difficult to maintain, and it will also increase the burden of users of web page address selection components (that is, developers of mobile terminal web pages). Workload, increase the development cost of web page development for users of the web page address selection component

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
  • Display method and device of webpage address selection component, storage medium and terminal
  • Display method and device of webpage address selection component, storage medium and terminal
  • Display method and device of webpage address selection component, storage medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

[0026] figure 1 A schematic flowchart of a method for displaying a web page address selection component provided by an embodiment of the present invention, the method can be executed by a display device of a web page address selection component, wherein the device can be implemented by software and / or hardware, and can generally be integrated in a terminal device middle. Such as figure 1 As shown, the method includes:

[0027] Step 101, read the reference address of the function file of the webpage address sele...

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 embodiment of the invention discloses a display method of a webpage address selection component. The display method comprises the steps of reading a reference address of a function file of a webpage address selection component from an HTML file corresponding to a current display page; loading the function file based on the reference address of the function file, wherein the function file comprises a reference address of a CSS style file; when a trigger event for displaying the webpage address selection component is detected, loading the CSS style file based on the reference address of theCSS style file, and reading definition information of the webpage address selection component from the function file; and displaying the webpage address selection component based on the definition information of the webpage address selection component and the CSS style file. By the adoption of the technical scheme, the situation that redundant code files are loaded in the HTML code files when thewebpage address selection assembly is not displayed can be effectively avoided, and the display efficiency of the webpage address selection assembly is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of data processing, and in particular to a display method, device, storage medium and terminal of a web page address selection component. Background technique [0002] When developing mobile terminal webpages, the scene of address selection is often encountered. In the prior art, the display method of the webpage address selection component is: when the user accesses HTML (Hyper Text Mark-up Language, hypertext markup language) page, the mobile terminal automatically loads the CSS style file and the functional JavaScript file respectively according to the CSS (CascadingStyle Sheets, Cascading Style Sheet) style address and functional JavaScript address in the HTML code file corresponding to the HTML page. When the trigger event of displaying the web page address selection component is detected, the web page address selection component is displayed according to the loaded CSS style f...

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
IPC IPC(8): G06F9/451
CPCG06F9/451
Inventor 孙超
Owner JINGDONG TECH HLDG CO LTD