VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 rollover for xbuttonimage - How?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

avus3
Starting Member

3 Posts

Posted - June 16 2009 :  11:07:41  Show Profile  Reply with Quote
Hi,

I wanted to make xbuttonimage a rollover button and not just a static image button. any help on this?

Edited by - avus3 on June 17 2009 13:42:08

madbug
VP-ASP New User

130 Posts

Posted - July 02 2009 :  20:51:43  Show Profile  Reply with Quote
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

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000