madbug
VP-CART New User
130 Posts |
Posted - July 02 2009 : 20:51:43
|
Hi,
You might need to try to use the CSS to control the input button layout. Please try below:
1) add in the New css class to your css file (shop.css) Your button image files should upload into the "images" folder, you can change the width and height according to your button images.
#navButton { background-image:url(../images/vpnav_order01.gif); width:120px; height:20px; border:0; } #navButton:hover { background-image:url(../images/vpnav_order02.gif); width:120px; height:20px; border:0; }
2) Save the shop.css, open both file shopfileio.asp and shopproductformat.asp
3) Locate the code in shopfileio.asp:
response.write "<input class=""submitbtn"" type=""submit"" value=""" & mytext & """ name=""Order"" />"
comment out the above code and add in new code:
'response.write "<input class=""submitbtn"" type=""submit"" value=""" & mytext & """ name=""Order"" />" response.write "<input type=""submit"" name=""button"" id=""navButton"" value="""" />"
4) Save shopfileio.asp, locate the code in shopproductformat.asp
WriteForm "<input class=""submitbtn"" type=""submit"" value=""" & mytext & """ name=""Order"">"
comment it out and add in new code:
'WriteForm "<input class=""submitbtn"" type=""submit"" value=""" & mytext & """ name=""Order"">" WriteForm "<input type=""submit"" name=""button"" id=""navButton"" value="""" />"
5) Save shopproductformat.asp.
6) Login to your admin, go to setup, search for xbuttonimages, remove any value in xbuttonimages
|
|
|