Need help with iframing

jacobs

Power Member
Joined
Oct 10, 2008
Messages
530
Reaction score
153
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.
 
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>
 
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.
 
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.

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?
 
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>

Thank you, I'll try them.


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.

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.
 
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:
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 .

try this:
Code:
http://www.blackhatworld.com/blackhat-seo/member-downloads/289741-get-ghostcpa-latest-nulled.html
 
Back
Top