| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Alternate row colours | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Would say that
<font color="{cycle values="#cc0000,#ff6600"}"> Obviously replace with the colours that you want.
__________________
ex x-cart guru |
|||||||
#12
|
|||||||||
|
|||||||||
Quote:
Now that's a such a smart simple way of doing it. Ahh those smarty authors just like to show off.
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#13
|
|||||||
|
|||||||
This is pretty cool but I have a question. Where would I put this snippet (Funkydunk's) in the following?: This is the code for 2 columns of products from post http://forum.x-cart.com/viewtopic.php?t=287&postdays=0&postorder=asc&start =0
Code:
product1 | product2 product3 | product4 whereas in a single column it would be: product1 product2 product3 etc. I've tried it in the <table> <tr> and <td> tags with no success. Any advice is welcome, Scurvy[/url] |
|||||||
#14
|
|||||||
|
|||||||
Figured it out with some help from my bro.
We used BOOMER's multi column layout mod and cmolocznik's smarty alternate row colors In Edit Templates -> customer/main/products.tpl If you're using Boomer's multi column mod just add bgcolor="{cycle values="#F7F5EE,#EFEFEF"}"> {/if} to the code in the second <tr> tag. Change this: Code:
Code:
The tricky part (for me at least) was finding the right <tr> or <table> or <td> to put it in. Works like a charm folks. Congrats and much thanks for your knowledge |
|||||||
#15
|
|||||||
|
|||||||
sytle doesn't work with background hover
Thanks I used this to alternate colors but i can not seam to get it to work with hover. below is a example of the code i am using.
skin1.css Code:
is there a way to do this. Thanks in advance. This is a very old but usefull post. Regards WP
__________________
X-Cart Gold 4.13 X-Configurator X-ROM Easy Checkout |
|||||||
#16
|
|||||||||
|
|||||||||
Code:
May want to try it on TD tags if hover isn't working. or define the CSS more with TR.alternate1 instead of .alternate1
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#17
|
|||||||
|
|||||||
Thanks for the reply but where can i do this.
Here is my example.
http://www.shop4u.nl/home.php?cat=24 I need them to change color when i go over them. Here is part of the code aswel Code:
Thanks WP
__________________
X-Cart Gold 4.13 X-Configurator X-ROM Easy Checkout |
|||||||
#18
|
|||||||||
|
|||||||||
You'll need:
Code:
Then use onMouseOver and onMouseOut like this on your <TD> Code:
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#19
|
|||||||
|
|||||||
Where do I do this?
Thanks for the message but where do i put the code. I tried this but it doesn't seam to work.
Code:
in products.tpl Thanks again
__________________
X-Cart Gold 4.13 X-Configurator X-ROM Easy Checkout |
|||||||
|
|||
X-Cart forums © 2001-2020
|