Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Pop-up window display method and device

A technology of pop-up windows and windows, which is applied in the field of pop-up window display methods and devices, can solve the problem of a large amount of code on a single page, and achieve the effect of reducing the amount of code

Inactive Publication Date: 2019-09-06
ZHENGZHOU XIZHI INFORMATION TECH
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since different pop-up windows require different pop-up window codes, the amount of code for a single-page application is relatively large

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
  • Pop-up window display method and device
  • Pop-up window display method and device
  • Pop-up window display method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The solution of this application is suitable for displaying pop-up windows in single-page applications, and can display different pop-up windows without setting pop-up codes for each type of pop-up window, thereby reducing the number of pop-up windows in single-page applications. The code amount of the pop-up code.

[0048] eg see figure 1 , which shows a schematic flow chart of a pop-up window display method in the present application. The method in this embodiment can be applied to a browser. The method in this embodiment includes:

[0049] S101, presenting a web page of a single page application.

[0050] After the single-page application is running, the web page of the single-page application can be loaded through the browser, and this application does not limit the specific process of recording and presenting the web page of the single-page application.

[0051] S102. Determine the type of the pop-up window to be displayed under the condition of displaying the po...

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 discloses a pop-up window display method and device. The method comprises the steps that a webpage of a single-page application is displayed; under the condition that the popup window isdisplayed on the webpage, determining the type of the popup window to be displayed; calling preset pop-up window template data and a prompt message matched with the pop-up window type; and loading and displaying a target pop-up window on the webpage according to the pop-up window template data, and displaying the prompt message in the target pop-up window. According to the scheme of the invention, the code amount required for popping up the pop-up window in the single-page application can be reduced.

Description

technical field [0001] The present application relates to the technical field of web page applications, in particular to a pop-up window display method and device. Background technique [0002] A single-page application (Single-page Application, SPA) is a special web application that confines all its activities to one web page, and loads the corresponding hypertext markup language (HyperText Markup) only when the web page is initialized. Language, HTML), JavaScript, and Cascading Style Sheets (Cascading Style Sheets, CSS). Moreover, once the web page of the single-page application is loaded, the single-page application will not reload the page for the user's operation , and single-page jumps only refresh local resources. Since page reloading is avoided, single-page applications can provide a smoother user experience. [0003] In a single-page application, some prompt pop-up windows are often involved, such as an error prompt pop-up window prompting the user to input an erro...

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 Applications(China)
IPC IPC(8): G06F9/451G06F9/455
CPCG06F9/45529G06F9/451
Inventor 安亚楠王金强
Owner ZHENGZHOU XIZHI INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products