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

Method and device for realizing picture gradual and gradual fade-out effect on web browser

A web browser, gradual and gradual exit technology, applied in the network field, can solve problems such as affecting the display effect of pictures, damaged pictures, damaged pictures, etc., and achieve the effect of improving the display effect

Active Publication Date: 2016-08-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method usually causes damage to the picture. For example, when the picture size is larger than a certain width, the Internet Explorer browser will cause incomplete display of the picture, local damage or small white spots on the picture, etc., thus affecting the display of the picture. Effect

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 realizing picture gradual and gradual fade-out effect on web browser
  • Method and device for realizing picture gradual and gradual fade-out effect on web browser
  • Method and device for realizing picture gradual and gradual fade-out effect on web browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Such as figure 1 As shown, in one embodiment, a method for realizing the gradual and fade-out effect of pictures on a web browser includes the following steps:

[0034] Step S102, setting a mask layer above the image display area.

[0035] Such as figure 2 As shown in , the mask layer is a web page container element perpendicular to the coordinate direction of the display that displays the picture, above the picture display area, with a specified color (usually black or gray) as the background. Preferably, the mask layer is set directly above the picture display area, and is consistent with the size of the picture display area. In this way, when the transparency of the mask layer is adjusted, the transparency of the image display will also change accordingly. Setting the mask layer to be the same size as the image display area can avoid that when adjusting the transparency of the mask layer, it will not affect the images outside the image display area. web element. ...

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 method for realizing the fading in and out effect of an image on a web browser. The method comprises the steps of arranging a mask layer above an image display area; loading an image needing to be displayed at present, and setting the image to be visible; and adjusting the transparency of the mask layer according to the set time interval. According to the method, the fading in and out effect of the image is realized by adjusting the transparency of the mask layer, the image can not be damaged, and the image display effect is improved effectively. In addition, the invention also provides a device for realizing the fading in and out effect of the image on the web browser.

Description

【Technical field】 [0001] The invention relates to the field of network technology, in particular to a method and a device for realizing the effect of gradual and fade-out of pictures on a network browser. 【Background technique】 [0002] With the development of network technology, more and more browsers can realize the gradual fade-out effect of pictures, so that the display of pictures will not appear abruptly. For example, the traditional Internet Explorer browser can realize the gradual fade-in and fade-out effect of pictures through its built-in filter function. The traditional method of supporting the gradual fade-in and fade-out of pictures on multiple types of browsers is mainly realized by directly changing the transparency attribute of the picture. However, this method usually causes damage to the picture. For example, when the picture size is larger than a certain width, the Internet Explorer browser will cause incomplete display of the picture, local damage or sma...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 唐爽
Owner TENCENT TECH (SHENZHEN) CO LTD