I'm an artist and a teacher, not a web designer, but I am taking a web design class at my school, School of Visual Arts, in New York city. I have re-designed my web site using fancy box 2.1.7, and there are pop-ups of my artwork from each small preview. I want to add a PayPal button on each fancybox large preview, but each large preview needs an individual code, so I can't reference a single .html page for every page. I anticipate having 2 or 3 hundred painting where you can buy a print, and each one needs an individual PayPal code and the option to buy different sizes. Here is the PayPal code for one painting, but I can't figure out how to get it into the lightbox pop up:
<!--From Paypal-->
<form target="paypal" 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="MM843VYMGKMT2">
<table>
<tr><select name="os0">
<option value="13x19 print">13x19 print $50.00 USD</option>
<option value="17x22 print">17x22 print $100.00 USD</option>
</select> </tr>
<tr><input type="hidden" name="on1" value="All prints are signed">All prints are signed</tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<!--End Paypal—>
I need that button, with individual code, to go into each pop up window in fancybox.
My web page, which is not finished yet, can be seen here: http://david.ignacior67.webfactional.com/fancybox-2.1.7-David2/index.html
I would be grateful for any help, and I would be willing to send a signed print of any of my artwork as a thank you to anyone who could offer a solution for my issue.
David Mattingly (my old web site is david mattingly.com)