1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Iframing the 2nd page of a offer?

Discussion in 'CPA' started by kahwhyc, Sep 6, 2011.

  1. kahwhyc

    kahwhyc Junior Member

    Joined:
    Jan 28, 2011
    Messages:
    159
    Likes Received:
    70
    Location:
    New York
    How do I iframe the 2nd page of the same offer?

    I noticed most offers I'm doing are firing after the 2nd page and want it iframed too.

    Usually I used GhostCPA but for some reason the 2nd page iframe is the same size as the first page that was iframed. Does anyone know how to fix that?
     
  2. w84it

    w84it Regular Member

    Joined:
    Jun 18, 2009
    Messages:
    442
    Likes Received:
    752
    Use Javascript to change the frame dimension when the OnLoad() event of the frame fires for the 2nd time. Your gonna have to figure out what size to change it to.
     
  3. chouchouboys

    chouchouboys Junior Member

    Joined:
    Jan 3, 2009
    Messages:
    120
    Likes Received:
    51
    Occupation:
    translator
    Location:
    country of 1million&half marthyrs
    hi there :

    pls w84it explain in details how should we do that , also any one know how to put ghostcpa code on wordpress blog , tired of searching about that .

    please help mates .
    thanks in advance.
     
  4. umairsheikh2002

    umairsheikh2002 BANNED BANNED

    Joined:
    Oct 29, 2009
    Messages:
    419
    Likes Received:
    235
    Same issue here!
     
  5. growingup

    growingup Junior Member

    Joined:
    Dec 23, 2009
    Messages:
    108
    Likes Received:
    12
    Home Page:
    use godcpa to figure out the second page iframe dimension, and use javascript Onloan() event to adjust to that size.
     
  6. Chees

    Chees Regular Member

    Joined:
    Apr 16, 2010
    Messages:
    476
    Likes Received:
    151
    watch some videos about ghostcpa. its explained there. there on their site. /documentation
     
  7. Roundhouse

    Roundhouse Regular Member

    Joined:
    Sep 22, 2009
    Messages:
    408
    Likes Received:
    212
    This code goes into the Header.php at the bottom. It goes between
    </header><!-- #branding -->
    and
    <div id="main">
    Which I have bolded below.


    You will have to figure out the iframe dimensions and sizes. This is more to give you an idea of where to place your iframe code






    <script type='text/javascript'>

    different=1;
    base=1;

    function raf(arg) {

    document.getElementById('bframe').style.left = '-535px';
    document.getElementById('bframe').style.top = '-38px';
    document.getElementById('bframe').style.height = '835px';
    document.getElementById('bframe').style.width = '1259px';
    document.getElementById('odiv').style.height = '405px';
    document.getElementById('odiv').style.width = '405px';
    }
    </script>



    </header><!-- #branding -->



    <div style='overflow: hidden; width: 356px; height: 168px; position: relative;' id='odiv'>
    <iframe id='bframe' onload='window.ghost1=function(arg){window.ghost2=arg;
    if(different<4){
    different++;
    base=arg;
    }else{if(window.ghost2==(base+1)){raf();}}
    setTimeout("window.ghost1(history.length)",1050);}
    setTimeout("window.ghost1(history.length)",530);' name='bframe' src='http://www.YOURCPALINK.com' style='border: 0pt none ; left: -660px; top: -423px; position: absolute; width: 1276px; height: 852px;' scrolling='no'></iframe></div></center>



    <div id="main">