> > That only brings up the button, which requires a further click to get > > to the paypal page Which I take it is effected by this line > > > > <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> > > > > At present a click on the image (which is a button) > > > > <input type="image" src="dppaypal.gif" width="185" height="35" > > alt="dppaypal.gif - 1kb" border="0" name="submit" alt="Make payments > > with PayPal - it's fast, free and secure!"> > > > > brings up the secure page at paypal. I wondered if it were possible > > to get a text line with a an anchor using the 'include', which would > > activate the form to get the secure page. > > You can try making the link <a href=https://www.paypal.com/cgi-bin/webscr > but I don't think that would bring up the page - the form probably includes > hidden fields etc that need to be sent by a form submit. You can of course > have a form on your page that doesn't show up (no visible inputs or buttons) > and use Javascript to submit it: > > Click <a href="#" onClick="myform.submit(); return false;">here</a> > > (and use Javascript to write that out to the page, so it isn't even seen if > JS is disabled) > > or, more simply, make a new version of your include file that has nothing > visible except the button and say: > > or click the button to buy now:<br> > [include form] >
Bj, Yes, there is a load of hidden stuff to give name of book, price and so on. The Javascript solution looks good, though I have a bit of study ahead to know exactly how to do it! The button solution I use elswhere with my own gif. But this all raises another problem that I suspect has no solution. If I open browser source, there - repeated as many times as I call the file - is the form code. In that code - so that paypal can send buyers to the download page - is the download page url; anyone could take and not pay. I am sure there are some elegant solutions to this, but I suspect they are all beyond me. If you could direct me to a place to find theanswer I would be grateful, though. Joseph ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]