+ Reply to Thread + Post New Thread
Results 1 to 4 of 4

Thread: Need Help with Iframe! Resizing? Redirect? whats the problem?

  1. #1
    Noobie
    Join Date
    Apr 2008
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help with Iframe! Resizing? Redirect? whats the problem?

    Ok what i am basically trying to do, since most (if not all) of the cpa e-mail submits needs at least the second page to be filled out in order for it to convert, is after they click submit i want to be able to resize or redirect them so after they type in the e-mail and click submit, they only see the form (from the second page) in the iframe instead of the form being shown in the first iframe.

    ex:
    Code:
    http://getpass.ueuo.com/2/
    when you type in the e-mail address, the second page is in the iframe =(

    i want to be able to put the second page in an iframe as well without it being messed up.

    can anyone help me?

  2. Shorten URL    SEO Services    Buy Xrumer

    Sponsored Links

  3. #2
    Noobie
    Join Date
    Apr 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What I would do is use AJAX to throw some sort of "waiting..." modal over the page for 2-3 seconds and resize/move the iframe to get the second page content positioned correctly after the user submits his e-mail. Here's one way to do that, courtesy of another BHW member I can't recall right now:

    Code:
     
    function checkHistory() {
    var hist=history.length;
    if (hist>1)//just change value 1 to other if you need :)
    ****{
    ********//redirect or resize or whatever... :P
    ****}
    }
    
    
    then add this to the iframe:
    
    onload="checkHistory()"

  4. #3
    Noobie
    Join Date
    Apr 2008
    Posts
    158
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    did you succeed in iframing the 2nd page, im into to this matter at the momemnt..
    Posted via Mobile Device

+ Reply to Thread

Tags for this Thread

Posting Permissions

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