| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Custom Search input | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hey Guys,
Wanna move my search bar around and change the look of it, making it have a different image for the button. Now I know there is a gnarly customer/buttons/button.tpl file for all the input buttons, but I want to take the js code and just insert it into an onClick in an <img> tag. anyone done this before? Or is it easier to make another image if statement in the button.tpl file for my custom graphic? Thanks Chris
__________________
X-Cart DB Version: 4.4.4 GOLD Addons:Feature Comparison (enabled);Magnifier (enabled); Product Configurator (enabled); Special Offers (enabled); Survey (enabled); XAffiliate (enabled); |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
It sounds like you'd be better off avoiding the button and just insert your own image into the search template. I wouldn't modify button.tpl.
|
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||