is this possible? (iframing question)

Discussion in 'Programming' started by mberman84, May 27, 2008.

  1. #1
    hey everyone.

    i have a site, which iframes another site's web form. the iframe surrounds the form only, and i basically made it look like the form sits on my site.

    when a user enters their info and clicks "submit," the next page loads within the iframed area on my site and looks odd.

    basically what i want it to do is detect another page loading within the iframe and either:

    a) load the next page in a new window
    b) or load the next page in the same window as my site, which will navigate away from my site.

    either of those will work, but am i not sure it is possible. also, if anyone knows a better way of making this work well, any suggestions are appreciated.
     
    mberman84, May 27, 2008 IP
  2. mberman84

    mberman84 Peon

    Messages:
    511
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    so i'm guessing this isnt possible?
     
    mberman84, May 28, 2008 IP
  3. wild13

    wild13 Guest

    Messages:
    9
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I believe javascript will do the job.
     
    wild13, May 28, 2008 IP
  4. mberman84

    mberman84 Peon

    Messages:
    511
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    care to elaborate? any code you can show me or point me in the right direction? i am a n00b at coding BTW
     
    mberman84, May 28, 2008 IP
  5. hillord

    hillord Well-Known Member

    Messages:
    2,211
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    140
    #5
    usually, it's not possible if u have an iframe and a form there. when submitted, it will only open on that iframe window and make ur site look fake. so why not get a form yourself?
     
    hillord, May 29, 2008 IP
  6. PaulX

    PaulX Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The best thing to do is to create your own landing page. You can then not only start your OWN list, but also redirect your leads to the 2nd page of your affiliate (so they don't have to enter their info twice).
     
    PaulX, May 29, 2008 IP
  7. mberman84

    mberman84 Peon

    Messages:
    511
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    how is it possible to get users to enter their info into MY landing page...and auto submit that to the affiliate deal without them having to enter the info twice.
     
    mberman84, May 29, 2008 IP
  8. Love*

    Love* Well-Known Member

    Messages:
    1,739
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    165
    Digital Goods:
    1
    #8
    Of course it is possible. :) Just don't forget to "target" the button / link that the user will be clicking.

    For the next page to pop up in a new window -

    target="_blank"
    Code (markup):
    If you would like to share the html code of your form with us here? :)
     
    Love*, May 30, 2008 IP
  9. mberman84

    mberman84 Peon

    Messages:
    511
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    ah...here's the problem...i have zero access to the page i am iframing. i cannot add that to their page. any code will only be edited on my website.
     
    mberman84, May 30, 2008 IP
  10. Love*

    Love* Well-Known Member

    Messages:
    1,739
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    165
    Digital Goods:
    1
    #10
    ^ Ooh, yes, that proves to be a problem. ;)

    Well, from my point of view here, I don't see any solutions, unless you have access to that certain i-frame's codes & can make alterations from there, I'm afraid there is nothing you can do..

    But I do hope someone will be able to come up with something for you. Good luck. :)
     
    Love*, May 30, 2008 IP