![]() |
how do you make a button appear pressed down upon clicking?
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.
|
You would need to use a JavaScript onclick function. Google it, it is pretty easy to use...
|
alright, i'll check it out. thanks
|
Quick Help
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 |
Re: Quick Help
Quote:
didn't work for me. neither image showed up doing that. :( |
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:
<td class="Button"onmouseover="this.style.backgroundColor='#487600';" And this is what I have for the class TD.Button in skin1/skin1.css Code:
TD.Button { |
All times are GMT -8. The time now is 03:37 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.