Click to See Complete Forum and Search --> : PayPAl shopping cart


hrecter
09-21-2003, 05:00 PM
I am trying to write a javascript code to replace the Pay Pal shopping cart button but am not getting anywhere fast.

The html code I am trying to replace is:

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="display" value="1">
<input type="hidden" name="bn" value="wa_dw_3.0.4">
<input type="hidden" name="business" value="hans@hrsoftware.co.nz">
<input type="image" name="submit" src="http://images.paypal.com/images/view_cart_02.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

Thanks in advance for any help
Hans

pyro
09-21-2003, 05:02 PM
13% of users don't have JavaScript enabled, so if you use it to do this, your link won't work for 13% of web users...

hrecter
09-21-2003, 06:21 PM
Thanks for your reply. Maybe Javascript isn't the way to go.

The problem I have is that the menu system I am using will either point to a URL or run Javascript code.

What I am trying to do is to use one of my menu buttons as the 'View Cart' so that it is available from any page on the site.

Any ideas will be greatfully received.

Hans