X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to make javascript buttons into regular buttons (https://forum.x-cart.com/showthread.php?t=41705)

rhu 08-12-2008 12:01 PM

How to make javascript buttons into regular buttons
 
I noticed that the buttons to login, submit, add to cart, etc. are javascript.

Is there a way to make these regular form buttons and not javascript?

I know it's something to do with button.tpl but I'm afraid to touch the code...

Thedae2k 08-12-2008 09:16 PM

Re: How to make javascript buttons into regular buttons
 
actually you can pretty easy but then you won't be able to press "enter" to make the buttons submit. Let me know if you don't mind that and I can help you.

ReadytoCover 08-16-2008 12:19 PM

Re: How to make javascript buttons into regular buttons
 
I think I would like to add this.

Is there any reason to use javascript vs regular button link?

JWait 08-17-2008 05:57 AM

Re: How to make javascript buttons into regular buttons
 
Other than having the ability to hit "Enter" and have the button submit, no. The more frustrating one is having the button use a "image" like on the newsletter subscription. I haven't figured out why this one is necessary.


All times are GMT -8. The time now is 11:50 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.