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

Page control method and page control device

A page control and page technology, applied in the computer field, can solve the problem of not being able to return the local layout of the page document to the top, etc., to achieve the effect of enhancing business usage scenarios, avoiding code writing, and improving development efficiency

Pending Publication Date: 2021-12-07
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: the prior art can only control the scrolling of the entire page document to the top, and cannot flexibly control the partial layout of the page document to return to the page in the local space. top

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
  • Page control method and page control device
  • Page control method and page control device
  • Page control method and page control device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0034] figure 1 is a schematic diagram of the main steps of the page control method according to the embodiment of the present invention, such as figure 1 As shown, the main steps of the page control method may include:

[0035] Step S101, determining the target page according to the received page control instruction, wherein the target page is a subpage included in the ...

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 page control method and a page control device and relates to the technical field of computers. A specific implementation mode of the method comprises steps of a target page being determined according to a received page control instruction, and the target page being a sub-page contained in a main page; transmitting the identifier of the target page into a pre-configured return component, and binding a scrolling event for the target page; under the condition that the target page rolls, monitoring rolling of the target page by utilizing the rolling event to obtain a rolling distance of the target page; and under the condition that the scrolling distance is greater than a preset distance threshold value, controlling the target page to return to a preset position according to a pre-configured return component. According to the method, a user can select the sub-pages at will according to own requirements and quickly return the sub-pages to the expected positions, compiling of a large number of codes is avoided, development efficiency of the user is improved, and the service use scene can be enhanced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a page control method and a page control device. Background technique [0002] The existing front-end component library can realize the function of returning to the top of the page. Specifically, use the scrolltop attribute of document.body (that is, the page document) to control the position of the current document relative to the user's visual display, and then add animation to make it slow or Quickly go back to the top. [0003] However, in the process of implementing the present invention, the inventor found that there are at least the following problems in the prior art: the prior art can only control the scrolling of the entire page document to the top, and cannot flexibly control the partial layout of the page document to return to the page in the local space. top. Contents of the invention [0004] In view of this, the embodiment of the present invention pro...

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): G06F8/38G06F16/958
CPCG06F8/38G06F16/958
Inventor 王凯
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD