| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
view details rollover on products.tpl | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
view details rollover on products.tpl
okay first...here's a test of what i want:
http://www.aerotrends.com/store/rollover.html basically what i was looking to do was to have this 'view details' rollover appear when the user rolled over the that <tr>. well what you people already know is that you can't do a rollover in a repeating section because the <img name=""> will repeat for every new row. so basically say you name your value "pic" then for each new row it'll be "pic". my idea was to use the smarty cycle tag after the name to give it like a numeric value. for example [img]pictures.jpg[/img] problem is that its not cylcing at all, it just stays at one. I know there's gotta be a better way to do it then using the cycle tag. Is there a way that I can reference the number of the row created by the section loop? here's the code i have so far: product_thumbnail.tpl (param09 is my thumbnail field) Code:
customer/main/products.tpl Code:
|
|||||||
#2
|
|||||||
|
|||||||
found it out...i just used the counter function in smarty to do it.
product_thumbnail.tpl Code:
customer/main/products.tpl Code:
http://www.aerotrends.com/store/customer/home.php?cat=275 |
|||||||
#3
|
|||||||
|
|||||||
Wow! Who designed your template? Did you? Can I get a quote for my store?
|
|||||||
#4
|
|||||||||
|
|||||||||
Thank you for sharing this mod, nice, could be usefull on my second project.
And yes, you have an inspiring site, doesnt look like xcart at all.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
|
|||
X-Cart forums © 2001-2020
|