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

CSS-based method and apparatus for displaying more contents of webpage

A technology with more content and content, applied in the Internet field, can solve problems such as poor user experience and affecting page response speed

Inactive Publication Date: 2017-07-07
福建中金在线信息科技有限公司
View PDF1 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention discloses a method and device for displaying more content of a webpage based on CSS, which solves the problem that in the prior art, the method of using JavaScript to display more content affects the reflection speed of the page, thereby making the user The problem of poor experience

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
  • CSS-based method and apparatus for displaying more contents of webpage
  • CSS-based method and apparatus for displaying more contents of webpage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0036] refer to figure 1 , which shows a schematic flowchart of a method for displaying more content of a webpage based on CSS provided by an embodiment of the present invention. In this embodiment, the method may include:

[0037] S101: Divide the hidden content of the target webpage into a content area and a control area; wherein, the control area is represented by two a tags with anchor points, and the two a tags represent display and collapse respectively;...

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 CSS-based method and apparatus for displaying more contents of a webpage. In order to display more contents in the webpage, the contents hidden by the target webpage can be divided into a content region and a control region, and the control region is represented by two a tags with anchor points; the height of the content region is set based on CSS, and overflowed contents are hidden; and in response to an instruction of displaying a link of a target anchor point, a pointing direction of the target anchor point is obtained, and the contents of the content region which the target anchor point points to are displayed. By adopting a CSS mode, more contents in the webpage are displayed, so that the problem of poor user experience caused by an influence on a response speed of the page due to adoption of a JavaScript method for displaying more contents in the prior art is solved.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a method and device for displaying more contents of a web page based on CSS. Background technique [0002] With the rapid development of the Internet, various websites have become very popular. People can browse the corresponding pictures or content on the website. However, due to the limited size of each page, the displayed content will be restricted, and some content will be hidden. Up, unable to show. [0003] In the prior art, if more content is to be displayed on the page, JavaScript is generally used to realize it, but this method will affect the response speed of the page, and the user experience will be deteriorated when using it. Contents of the invention [0004] In view of this, the embodiment of the present invention discloses a method and device for displaying more content of a webpage based on CSS, which solves the problem that in the prior art, the method of using Ja...

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): G06F17/30
CPCG06F16/9577G06F16/9574
Inventor 沈文策
Owner 福建中金在线信息科技有限公司
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