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

Thread: On submit form in iframe hide div?

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

    Default On submit form in iframe hide div?

    Ok I hope you all can understand what i am going to try to explain.

    The scenario> You send someone to a page that you have a CPA offer in an Iframe that is held in a DIV layer that pops up on page load and covers the entire page. When they enter their email and submit the form I want to hide the DIV and allow the visitor to view the page.

    Ok so it that possible? and if so could you point me to maybe an example somewhere?

    Thanks,

    Mike

  2. Shorten URL    SEO Services    Buy Xrumer

    Sponsored Links

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

    Default

    I don't have an example, but you could just set up the onSubmit property of the form to make the div hidden. Or possibly the onClick of the submit button.

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

    Default

    I thought about that, but the forms are for CPA offers, so I dont have access to the form code.

  5. #4
    Noobie
    Join Date
    Apr 2008
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What about the blackhat code breaker script would that be any good for you ?

    TM

  6. #5
    Noobie
    Join Date
    Apr 2008
    Posts
    74
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Isnt that what CPAgod does already?

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

    Default

    OK, so you'll have to serve up a page from your server. In the page have two iframes, the one on top is your overlay page, when they hit submit it hides this top iframe. If you're trying to put a cpa offer in the overlay page, use GodCPA to make a duplicate of the form so you control the onSubmit.

    Load the second "underneath" page in the second iframe. They'll get to see it when the overlay frame goes away.

    Realize the visitor will never see the thanks page for the first form submit, so if there's something there that they needed to see or click, then you might be out of luck.

  8. #7
    Noobie
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have a friend that has GodCPA, and built the code with it, and tried it, it doesnt succeed at hiding the iframe. It still shows the next page, so then I tried wrapping the whole thing in a floating div, like is seen in blackhat code breaker, but it still wont hide.

    The next idea, I have is setting up a javascript in the main page to detect mouse clicks, so that when someone has clicked their mouse 2 times, it hides the div, like they click the input field to enter their email, then click the submit. Does that sound like it would work.

  9. #8
    Noobie
    Join Date
    Apr 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Try to use onload event in iframe, make a count, and on second load of iframe, redirect iframe to the "Thank you" page.

  10. #9
    Noobie
    Join Date
    Apr 2008
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    try blackhat code breaker

  11. #10
    Junior SEO Specialist
    Join Date
    Oct 2011
    Posts
    149
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i prefer you use blackhat code software

+ 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