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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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]...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap