This page (revision-12) was last changed on 02-Feb-2017 13:19 by Administrator

This page was created on 17-Apr-2007 18:15 by Administrator

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
12 02-Feb-2017 13:19 1 KB Administrator to previous
11 18-Apr-2007 14:18 3 KB Administrator to previous | to last
10 18-Apr-2007 14:09 1 KB JianSun to previous | to last
9 18-Apr-2007 14:07 1 KB JianSun to previous | to last
8 18-Apr-2007 14:06 1 KB JianSun to previous | to last
7 18-Apr-2007 13:49 1 KB JianSun to previous | to last
6 18-Apr-2007 13:46 1 KB JianSun to previous | to last
5 18-Apr-2007 13:46 1 KB JianSun to previous | to last
4 18-Apr-2007 13:44 1 KB JianSun to previous | to last
3 18-Apr-2007 13:43 1 KB JianSun to previous | to last
2 17-Apr-2007 18:19 1 KB Administrator to previous | to last
1 17-Apr-2007 18:15 349 bytes Administrator to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 removed 2 lines
[{ALLOW edit EISMainUsers}]
[{ALLOW view Anonymous}]
At line 66 added 74 lines
! Usage
Put a %~%zebra-table around the table you would like to color.
You can now also specify the odd and/or even colors using
[html hex color|http://html-color-codes.com/] values or
[HTMLColorNames] like ''aqua, black, blue, fuchsia, gray, green, lime, maroon,
navy, olive, purple, red, silver, teal, white, yellow'' and ''transparent''.
{{{
%%zebra-table ... %%
%%zebra-<colorOdd> ... %%
%%zebra-<colorOdd>-<colorEven> ... %%
%%zebra-table
|| column-head1 || column-head2
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
%%
}}}
You can see the result here
* normal table
|| column-head1 || column-head2
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
* zebra table with odd rows styled according to jspwiki.css
%%zebra-table
|| column-head1 || column-head2
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
%%
* zebra table with odd rows colored %%(background:#33ff99;) ''#33ff99'' %%.
%%zebra-33ff99
|| column-head1 || column-head2
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
%%
* zebra table with %%(background:#33ff99;) odd %% and %%(background:#99ff33;) even %% rows colored
%%zebra-130f09-800033
|| column-head1 || column-head2
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
%%
----
%%zebra-table
|| column-head1 || column-head2
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
| cell-data | cell data
%%