two frames - one reloads when offer is completed?

marcello

Registered Member
Joined
Dec 1, 2008
Messages
84
Reaction score
19
Hi there,

I have an the following situation. I have an iframe that is blanking the referer. This iframes contains a typical cpa offer.

Now I want another iframe, that contains a download link but becomes only visible/active when the user completed the offer.

So how can I do that?

Thanks!
 
anyone? I know it's possible ... sharecash is doing for example ... if you complete the offer the download link will displayed / another iframe refreshed or loaded or whatever
 
HTML:
<script type="text/javascript">
var check = true;
</script>

<iframe src="http://google.com" onload='if (!check) { alert("WOW") } else { check = false; }'></iframe>

Just change alert("WOW") to any other script (show or refresh iframe)

regards
Cyklotrial
 
Thanks a lot, it's working pretty smooth :) You just made my day!

I always thought that onload gets called when the iframe loads the first time. But in this case it's get called when the submit is hit. Strange but great anyway!

Edit: Now I get it - the onload get's called twice and the first time the iframe doesn't react to it.
 
Last edited:
Back
Top