| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Alternating Colours / Whatever | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Alternating Colours / Whatever
This is a really simple and useful Smarty function, which allows you to have alternating colours, or really anything that might need alternating.
Code:
or Code:
or Code:
eg. <div class="{cycle values="style1,style2"}">...</div> That simple. You can have as many colours, or what I did was use that in the class tag for different styles for product displays. So background of products could go:- Black White Black White I like to use it anyway. Jez
__________________
X-Cart 4.0.17 |
|||||||
#2
|
|||||||
|
|||||||
how do I do this to the feature comparison details?
__________________
X-Cart Gold 4.0.17 |
|||||||
|
|||
X-Cart forums © 2001-2020
|