A web page expansion method and device

A page and interface technology, applied in the direction of instruments, electrical digital data processing, computing, etc., can solve the problem of destroying program encapsulation

Inactive Publication Date: 2019-03-05
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since this customized web page has been used in many cases, if it is directly modified inside the customized package, it may destroy ...

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
  • A web page expansion method and device
  • A web page expansion method and device
  • A web page expansion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0048] In one embodiment of the present invention, a web page extension method is provided, figure 1 It is a schematic diagram of the overall process flow of the web page expansion method provided by the embodiment of the present invention, the method includes: S1, in the memory allocation function, instantiate the class of the encapsulated web page, and create new customized web pages for the application program; S2, use the coordinate value initialization function initWithFrame to set the coordinate values ​​of each customized web page; S3, create a url string, convert the url string into a url request object, and use the function loadRequest to load the url in each cust...

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 web page expansion method and device. The method comprises the following steps of S1 instantiating the class of the encapsulated web page in a memory allocation function to create new customized web pages for an application program; S2 setting the coordinate values of each customized web page; S3 loading the url request object in each customized web page and setting colorfor the customized web page; S4 creating a background floating layer and setting attributes of the background floating layer, and adding the background floating layer for the customized web page in aclassification based on a display interface UIView. The invention realizes the requirement of customizing the web page without modifying the default encapsulation, and reduces the coupling of the webpage expansion.

Description

technical field [0001] The present invention relates to the field of mobile terminal application development, and more specifically, to a web page extension method and device. Background technique [0002] With the rapid development of mobile phones, many pages in the project need to use web pages. When using web pages, there are usually some customized packaging methods. These customized packaging methods are generally displayed in full screen, and a new full-screen web page is displayed by pushing or presenting the navigation controller, but in actual projects, some requirements need to be customized, such as A non-full-screen web page pops up, and the web page comes out in a floating way, not by pushing or popping up a present, etc. [0003] In the prior art, a method for customizing a web page in a customized encapsulation mode is to modify the customized encapsulation page, such as adding or modifying some methods inside the encapsulated web page to realize the custom...

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): G06F8/38
CPCG06F8/38
Inventor 汪刚陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH CO 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