Popup window page generation method and apparatus, browser and storage medium

A page and pop-up window technology, applied in the field of web front-end page loading, can solve the problems of slow web page loading speed and high server performance requirements, and achieve the effect of reducing energy consumption, low server performance requirements, and convenient use process

Inactive Publication Date: 2018-03-16
RUN TECH CO LTD BEIJING
View PDF7 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The present invention provides a pop-up page generation method, device, browser and storage medium, which solves the problem of frequent resource reque

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
  • Popup window page generation method and apparatus, browser and storage medium
  • Popup window page generation method and apparatus, browser and storage medium
  • Popup window page generation method and apparatus, browser and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0052] Example one

[0053] figure 2 It is a flow chart of the method for generating a pop-up window page in the first embodiment of the present invention. This embodiment is applicable to the situation of generating a pop-up window page. The pop-up window page includes: a pop-up prompt box, a new window opened by a browser, and a browser opened The method for generating a pop-up page can be executed by a pop-up page generating device, which can be implemented by hardware and / or software, and the device can be integrated in a browser. Such as figure 2 As shown, the method specifically includes the following steps:

[0054] Step 210: Receive an input instruction for triggering a pop-up page under the main page.

[0055] Among them, the input instruction refers to the instruction generated by the user to trigger the pop-up page by performing an operation (such as clicking or touching, etc.) under the current main page. Under the current main page, an input instruction is received, ...

Example Embodiment

[0072] Example two

[0073] This embodiment optimizes the pop-up page generation method of the above-mentioned first embodiment. The pop-up configuration information also includes style information of the pop-up page. The style information produces the same rendering effect under different browsers. Calling preset pop-up window configuration information can unify the functions and styles of the pop-up window, so that the pop-up window styles of different browsers are unified, and the compatibility requirements of each browser can be met.

[0074] image 3 It is a flowchart of the method for generating a pop-up page in the second embodiment of the present invention, such as image 3 As shown, the method includes:

[0075] Step 310: Receive an input instruction for triggering a pop-up page under the main page.

[0076] Step 320: Use AJAX to asynchronously request page information according to the input instruction.

[0077] Step 330: Receive page information returned by the server.

[007...

Example Embodiment

[0084] Example three

[0085] Figure 4 It is a schematic diagram of the structure of the pop-up page generating device in the third embodiment of the present invention, see Figure 4 , This embodiment provides a device for generating a pop-up page, which includes:

[0086] The instruction receiving module 410 is configured to receive an input instruction for triggering a pop-up page under the main page;

[0087] The information request module 420 is configured to use AJAX to asynchronously request page information according to the input instruction;

[0088] The information receiving module 430 is used to receive page information returned by the server;

[0089] The page loading module 440 is configured to load a pop-up page according to the page information and preset pop-up configuration information.

[0090] Optionally, the pop-up configuration information includes the main body tag of each pop-up page corresponding to the server;

[0091] The page loading module 440 includes:

[0092]...

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 invention provides a popup window page generation method and apparatus, a browser and a storage medium. The method comprises the steps of receiving an input instruction of triggering a popup window page in a main page; according to the input instruction, asynchronously requesting for page information by utilizing AJAX; receiving the page information returned by a server; and according to the page information and preset popup window configuration information, loading the popup window page. The problems of relatively high server performance requirement and low webpage loading speed caused byfrequent resource requesting and allocation in a popup window page display process are solved; a popup window function in a webpage making process can be realized without frequently performing URL resource allocation of the server; the server performance requirement is low; the page loading speed is increased; multi-browser compatibility is supported; and a use process is convenient and easy.

Description

technical field [0001] The present invention relates to the technical field of web front-end page loading, in particular to a pop-up page generation method, device, browser and storage medium. Background technique [0002] For the web front-end development pop-up function, the methods generally adopted are: [0003] 1. The pop-up prompt box method. This method can be roughly divided into three ways between different browsers: [0004] (a) Use the window.alert() function that comes with the browser. This method can be used in most browsers and can be written in Javascript code. Its style will be different under different browsers, and its functionality is also slightly different. difference. For example, there is only one OK button in the Firefox browser, and there will be a close button and an OK button in browsers such as Google, IE, and 360. However, its usage is mostly the same, that is, some required data parameter information will pop up in the pop-up window. After ...

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): G06F17/30
CPCG06F16/9574G06F16/972
Inventor 鞠凯万月亮王梅
Owner RUN TECH CO LTD BEIJING
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