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

Need help with iframing

Discussion in 'CPA' started by jacobs, Dec 15, 2011.

  1. jacobs

    jacobs Power Member

    Joined:
    Oct 10, 2008
    Messages:
    530
    Likes Received:
    152
    Home Page:
    I used ghostcpa to iframe a certain offer and im having a hard time positioning it in the center. Here's the code

    <script type='text/javascript'>



    different=1;
    base=1;

    function raf(arg) {

    document.getElementById('bframe').style.left = '-501px';
    document.getElementById('bframe').style.top = '-193px';
    document.getElementById('bframe').style.height = '841px';
    document.getElementById('bframe').style.width = '1663px';
    document.getElementById('odiv').style.height = '330px';
    document.getElementById('odiv').style.width = '702px';
    }

    </script>
    </head>
    <body>
    <div style='overflow: hidden; width: 252px; height: 346px; position: relative;' id='odiv'>
    <center>
    <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://referer.us/http://www.facebook.com/' style='border: 0pt none ; left: -985px; top: -149px; position: absolute; width: 1680px; height: 878px;' scrolling='no'></iframe><center>
    </div>

    </body>
    </html>

    I replaced the link of the offer. I just want the iframed form to be centered.

    +4 rep for anyone who can help me.
     
  2. Pitch3lack

    Pitch3lack Newbie

    Joined:
    Jun 27, 2011
    Messages:
    16
    Likes Received:
    2
    Location:
    Bronx, NY
    Could be two things.
    1) your second tag is <center> instead of </center>
    2) Try replacing your original tag with
    <div style="text-align:center;">
    <iframe src="framedpage.htm" frameborder="0" scrolling="auto" marginheight="0" width="80%" height="100%"> etc etc.
    </div>
     
    • Thanks Thanks x 1
  3. mungus

    mungus Regular Member

    Joined:
    Aug 17, 2010
    Messages:
    332
    Likes Received:
    122
    Pitch3lack's solutions should work. As an aside, are you having any luck with getting the second page of an offer to be iframed, I can't do it using Ghost CPA it's a fucking headache cos If I can get it to work I could be looking at serious cash.
     
    • Thanks Thanks x 1
  4. Pitch3lack

    Pitch3lack Newbie

    Joined:
    Jun 27, 2011
    Messages:
    16
    Likes Received:
    2
    Location:
    Bronx, NY
    I would assume that it would be fine if you put the links to both pages of the offer within the same iframe tags and use a rotator script to just switch it out after a specific amount of time...

    I've never had a problem with getting both pages to be iframed before...are you sure the code is correct?
     
  5. jacobs

    jacobs Power Member

    Joined:
    Oct 10, 2008
    Messages:
    530
    Likes Received:
    152
    Home Page:
    Thank you, I'll try them.


    I was able to iframe the second page, here's what you gotta do, crop the first page then click on first page, then another crop then click on second page then done. there's the javascript you need to add on your header for it to work.
     
    • Thanks Thanks x 1
  6. mungus

    mungus Regular Member

    Joined:
    Aug 17, 2010
    Messages:
    332
    Likes Received:
    122
    Thanks bud, I'll give it a try!
     
  7. ying-yang

    ying-yang BANNED BANNED

    Joined:
    Jul 18, 2010
    Messages:
    751
    Likes Received:
    101
    does any of u guys offer ghost cpa. as a service, i dont have it , and i couldnt do it if i did lol.
    pls PM me ur price. thx .
     
    Last edited: Dec 18, 2011
  8. jacobs

    jacobs Power Member

    Joined:
    Oct 10, 2008
    Messages:
    530
    Likes Received:
    152
    Home Page:
    try this:
    Code:
    http://www.blackhatworld.com/blackhat-seo/member-downloads/289741-get-ghostcpa-latest-nulled.html