Subversion Repositories wimsdev

Rev

Rev 15668 | Blame | Compare with Previous | Last modification | View Log | RSS feed

slib_lang_exists_tmp=yes

slib_title=Transform a matrix into$  html matrix (table).
slib_parms=3\
1,matrix in wims form inside brackets\
,option: (separated by spaces) <span class="tt">center wimscenter wimsborder wimsnoborder</span>, a number\
,TH=[numero of lines in th, numero of columns in th] CAPTION="text in caption" ROWSPAN=[row_cell1,col_cell1, width1;row_cell2,col_cell2, width2;...] COLSPAN=[row_cell3,col_cell3, width3;...] (optional)
slib_out=html code
slib_comment=The second parameter can contain <span class="tt">center</span> (the contents of the cells are \
centered in this case), <span class="tt">center</span>wimscenter, wimsborder, wimsnoborder</span>,\
which are predefined table css.\
The css class of the table is <span class="tt">wims_matrix</span> if there is nothing else\
in the second parameter and <span class="tt">wims_matrix</span>n if \
<span class="tt">n</span> is a number in the second parameter. The css class can be defined\
in the field <span class="tt">\css{}</span> for an OEF exercise.\
<br> The style in the example is the generic style of tables in wims but can be redefined.\
For the option ROWSPAN, write * in the matrix when the cell is in the rowspan or colspan\
(except for the first one of the SPAN, see examples !).