Results 1 to 2 of 2

Thread: html inside thumbnail gallery?

  1. #1
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default html inside thumbnail gallery?

    1) Script Title: Image Thumbnail Viewer II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Using an iframe, you can put any text or other content contained on another page into the dynloadarea. See:

    http://home.comcast.net/~jscheuer1/s...les/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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •