Do something every 3 loop in django-templates?

Posted by eos87 on Stack Overflow See other posts from Stack Overflow or by eos87
Published on 2010-05-22T15:07:38Z Indexed on 2010/05/22 15:10 UTC
Read the original article Hit count: 177

Filed under:
|
|

hi people, i wanna make change in css class every 3 loop. In the first three i want to use the CSS class A, in the next three i want to use the CSS class B, in the next three i want to use the CSS class A again and so on.

can anyone help? Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about django