[pmwiki-users] detect even and odd values of the {$$pagecount} variable

noskule noskule at gmx.net
Thu May 24 07:15:19 CDT 2007


noskule schrieb:
> hi list
> is it somehow possible to detect even and odd values of the pagecount
> variable

like:

(:if equal {$$pagecount}/2 "rest 0"  :)
(:cell bgclolor=#eee:)
(:else:)
(:cell:)


> 
> I'm trying to build tables that tr's have 2 different background colors
> 
> grz nos
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> 




More information about the pmwiki-users mailing list