PDA

View Full Version : html inside thumbnail gallery?



djk
10-23-2006, 01:55 PM
1) Script Title: Image Thumbnail Viewer II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

3) Describe problem: Is it possible to put a shopping cart payment button inside a (dynloadarea)?

I would like the payment button to be displayed when the thumbnail is clicked but don't know if it's possible to put a <form> tag instead of an image inside:

dynimages[0]=["image.jpg", ""]

The payment button html is as follows:

<form target="payment site" action="https://payment site" method="post">
<input type="image" src="https://www.payment website./en_GB/i/btn/x-click-but22.gif" border="0" name="submit" alt="Make payments with - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paymentsite.com/en_GB/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="myemailaddress">
<input type="hidden" name="item_name" value="item name">
<input type="hidden" name="amount" value="9.99">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>

Any help would be most appreciated,
thanks.

jscheuer1
10-25-2006, 06:40 AM
Using an iframe, you can put any text or other content contained on another page into the dynloadarea. See:

http://home.comcast.net/~jscheuer1/side/files/thumb2.htm

But, it wouldn't be on the same page. I think I recognize that code though, looks like it's from PayPal™. As long as it doesn't need to read anything from the current page (doesn't appear to), it should be fine.