| Ultrashock Forums
• PayPal Buy Now button rollovers with CSS? |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
17 Creative Assets
|
2009-04-18
#2 |
||
|
|
2009-04-18
#3 |
||
|
sweet! thanks dude, worked like a charm. i was trying to put a hover class on the image with no luck. this worked: Code:
<div id="navButton">
<form id="ppform" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="blah blah blah">
<a class="navButton" href="#" onclick="document.getElementById('ppform').submit();return false"></a>
</form>
</div>
|
|
|
2009-04-18
#4 |
||
|
by the way, any idea what this does? Code:
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> |
|
17 Creative Assets
|
2009-04-18
#5 |
||
|
I have no idea what that does to be honest but I imagine it is some kind of tracker as you mentioned. The only thing I can suggest is commenting it out and testing the form through PayPal's sandbox if you are using one, if everything works properly then I guess there is no harm removing that image (it doesn't get sent with the form anyway).
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|



4 comments
| 1180 views


17 Creative Assets
Linear Mode
<a id="ppbutton" href="#" onclick="document.getElementById('ppform').submit();return false"></a>