| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
how do you make a button appear pressed down upon clicking? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() like, the "buy now" or "add to cart" buttons. it makes it easier for people to know that the page is actually loading. anyone? thanks in advance.
__________________
version: 4.4.1 Gold [Unix] |
|||||||
#2
|
|||||||
|
|||||||
![]() You would need to use a JavaScript onclick function. Google it, it is pretty easy to use...
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() alright, i'll check it out. thanks
__________________
version: 4.4.1 Gold [Unix] |
|||||||
#4
|
|||||||
|
|||||||
![]() Heres an easy fix..
add this to your Img tag... ONMOUSEDOWN="this.src='url_to_your_pushed_image_go es_here'" So now the tag looks like: [img]first_image.gif[/img] You only need to change the first_image.gif to your main image and url_to_your_pushed_image_goes_here to the image you made of the pushed image. Leave the rest of the tag the same |
|||||||
#5
|
|||||||
|
|||||||
![]() Quote:
didn't work for me. neither image showed up doing that. ![]()
__________________
version: 4.4.1 Gold [Unix] |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Here is what I used in my button.tpl to produce a mouse over effect and it seems to work well, just change the colours to whatever you need. I also changed
Code:
And this is what I have for the class TD.Button in skin1/skin1.css Code:
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|