Jump to content

Module:Aligned table: Difference between revisions

even/odd rowstyles
(typo)
(even/odd rowstyles)
Line 144: Line 144:
if args['rowstyle' .. tostring(j)] then
if args['rowstyle' .. tostring(j)] then
cell:cssText(args['rowstyle' .. tostring(j)])
cell:cssText(args['rowstyle' .. tostring(j)])
elseif args['rowevenstyle'] and math.fmod(j,2) == 0 then
cell:cssText(args['rowevenstyle'])
elseif args['rowoddstyle'] and math.fmod(j,2) == 1 then
cell:cssText(args['rowoddstyle'])
elseif args['row' .. tostring(j) .. 'style'] then
elseif args['row' .. tostring(j) .. 'style'] then
cell:cssText(args['row' .. tostring(j) .. 'style'])
cell:cssText(args['row' .. tostring(j) .. 'style'])
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.