| r1355 vs r1356 | ||
|---|---|---|
| 1 | {{{#!style | |
| 2 | .box-1 {width:50px;height:50px;background:gray} | |
| 3 | .box-2 {width:50px;height:50px;background:gray} | |
| 4 | .box-hide{background:#990} | |
| 5 | }}} | |
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | {{{#!if a = "all" | |
| 10 | {{{#!wiki class="all, box-1" onclick="add-class,box-1,box-hide" | |
| 11 | }}} | |
| 12 | {{{#!wiki class="all, box-2" onclick="add-class,@a@,box-hide" | |
| 13 | }}}}}} | |
| 14 | ||
| 1 | 15 | |
| 2 | 16 | |
| 3 | 17 | |
| ... | ... |