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

Method for implementing dynamic change layer in page

An implementation method and dynamic change technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problem of not being able to dynamically change the display effect, and achieve the effect of enhancing the sense of interaction

Active Publication Date: 2008-11-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method for realizing dynamically changing layers in a web page, which is used to solve the problem in the prior art that the display effect of layers cannot be dynamically changed when displaying web pages

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 for implementing dynamic change layer in page
  • Method for implementing dynamic change layer in page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] This embodiment uses dynamically changing the position and size of a layer as an example to describe in detail:

[0021] In the HTML file that defines the web page, add the definition layer Label, (other identifiers can also be used, such as: Tag) In this tag, the size and position attributes of the layer are defined in HTML language, and default values ​​can be assigned to these attributes initially. In order to be able to distinguish this label from labels for other purposes, give the A tag defines a unique ID, that is, the ID can be used to locate the corresponding tag in the file.

[0022] In order to be able to operate on the attribute value of the layer defined in the file, when the layer on the captured web page is changed, locate the div> tag of the layer defined in the file according to the ID identifier, and then pass the changed attribute value to the tag corresponding attributes.

[0023] For the dynamic movement of the layer: when the page is generat...

Embodiment 2

[0033] This embodiment takes the dynamic change of layer style as an example to describe in detail:

[0034] Define the style design materials required by the middle layer of the webpage into a Cascading Style Sheets (CascadingStyle Sheets, CSS) file, and define each style into a CSS file. Multiple CSS files can be defined as needed.

[0035] In the HTML file that defines the web page, add the definition layer tag, in which the style of the layer is defined in HTML language, a default style can be specified initially, and the path and file name of the CSS file corresponding to the default style are assigned to the property. In order to be able to distinguish this label from labels for other purposes, give the A tag defines a unique ID, that is, the ID can be used to locate the corresponding tag in the file.

[0036] When generating a web page, a selection list is generated, which contains all CSS files of defined layer styles. When the user's mouse slides to a specific a...

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 disclosed implementation method to dynamic alter layer in website comprises: using the processor to read the HTML file contained mark to define layer attribute and generate website for demonstration; capturing user trigger operation event, real-time calculating current value of the layer to transfer to the opposite mark attribute, and showing the altered effect in website.

Description

technical field [0001] The invention relates to the technical field of computer and communication, in particular to a method for realizing dynamic layer change in web pages. Background technique [0002] With the rapid development of the Internet, the display methods of websites are also changing with each passing day, and the display methods of web pages are emerging in an endless stream. In general, the display of web pages is realized based on Hypertext Markup Language (HTML language). The div tag in HTML is a container for rendering HTML elements. It is often used as a layer in web pages to display richer effects. In web design, tags in Hypertext Markup Language (HTML language) (ie tag, or div tag) to render the HTML elements in it, so as to achieve a better display effect. [0003] At present, in the process of designing web pages, it is only simple to add and delete div tags, and make a dynamic or static choice of whether to display their visibility, and in most cas...

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