Most of the company's projects are based on the bsstructure. In the uidesign phase, various interactive effects should be implemented when a WEB prototype page is created. Different from the real background programming, JavaScript foreground programming is used, let programmers know what effects they want to achieve before programming. During page creation, you often need to display or hide some content in a table based on different operations.Label to hide multiple rowsIt is very convenient.
Form Content |
Multi-line content |
Multi-line content |
It is convenient to use js to control the display style for display and hiding. I heard that this can also control the order in which the page is displayed during loading. content1 is displayed first than content2, instead of waiting for the table to be displayed after it is loaded. No experiments have been conducted, and this will play a role in the case of a large amount of table data.
Found during useIt cannot be nested and may cause inexplicable problems,It is used to define a table subject. If multiple subjects are defined, it is true that the next subject does not comply with W3C's definition. It seems correct to use it like the following, but there are actually errors.
Form Content |
Multi-line content |
Multi-line content |
The prototype page is used to achieve the interaction effect.
In actual background programming, you only need to output the corresponding table body based on the judgment.Table Design During page creation
|
When CSS is added to a tag that is not commonly used in the past, many good effects can be achieved. The standard and semantics are very powerful. I have read a related article and find it to favorites.