Method and device for displaying web content

A web page content and web page technology, applied in the network field, can solve problems such as network bandwidth waste, and achieve the effect of saving network bandwidth and accurate statistics

Inactive Publication Date: 2011-12-14
TENCENT TECH (BEIJING) CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on the above, there are at least the following problems in the existing technology: the existing display mechanism is

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
  • Method and device for displaying web content
  • Method and device for displaying web content
  • Method and device for displaying web content

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0039] Example 1

[0040] see figure 1 , this embodiment provides a method for displaying web page content, including:

[0041] 101: Obtain the position of the current visible range in the web page;

[0042] Specifically, by listening to a scroll bar dragging event or a browser window resizing event, triggering acquisition of the position of the current visible range in the web page.

[0043] 102: Determine the webpage content in the current visible range according to the position of the current visible range in the webpage and the position of the webpage content in the webpage;

[0044] Wherein, the position of the current visible range in the webpage includes: the distance between the top of the current visible range and the top of the webpage, and the height of the current visible range. The position of the webpage content in the webpage includes: the distance between the top of the webpage content and the top of the webpage, and the height of the webpage content.

[00...

Example Embodiment

[0066] Example 2

[0067] see Image 6 , this embodiment provides a device for displaying webpage content, including:

[0068] Obtaining module 301, used to obtain the position of the current visible range in the webpage;

[0069] The determining module 302 is configured to determine the webpage content located in the current visible range according to the position of the current visible range in the webpage and the position of the webpage content in the webpage obtained by the obtaining module 301;

[0070] The display module 303 is configured to acquire and display the webpage content in the current visible range determined by the determination module 302 .

[0071] Further, the obtaining module 301 is specifically configured to trigger the obtaining of the position of the current visible range in the webpage by monitoring the scroll bar drag event or the browser window size change event.

[0072] Further, the position of the current visible range in the webpage includes:...

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 method and a device for displaying web page content, belonging to the network field. The method includes: obtaining the position of the current visible range in the webpage; determining the webpage located in the current visible range according to the position of the current visible range in the webpage and the position of the webpage content in the webpage Content; acquiring and displaying the content of the webpage in the current visible range. The device includes: an acquisition module, a determination module and a display module. The present invention obtains the position of the current visible range in the webpage, and determines the content of the webpage in the current visible range according to the position of the current visible range in the webpage and the position of the webpage content in the webpage, and then acquires and displays the current visible range. The content of the webpage in the viewable range does not need to be acquired and displayed for the webpage content not in the current viewable range, thereby saving network bandwidth.

Description

technical field [0001] The invention relates to the network field, in particular to a method and device for displaying web page content. Background technique [0002] Web pages are the basic elements that make up a website. When a user accesses a website through a browser, he often obtains relevant information through the webpage and the content carried by the webpage. [0003] The current display mechanism of webpage content is to acquire all the webpage contents contained in a webpage and display all the webpage contents together. However, the height of a webpage is often greater than the viewable range of the browser. In this case, the content of the webpage needs to be displayed on multiple screens. At this time, even if the user does not browse the webpage content of the second screen or even the third screen, the webpage content of the second screen or the third screen will be acquired and displayed. [0004] Based on the above, at least the following problems exist...

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
Inventor 周朝剑王冠杨杰
Owner TENCENT TECH (BEIJING) 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