Devam Ediyor

500822 Javascript Iframing tweak- Redirect upon 2nd page submit - 2

I have a script from GhostCPA that puts a CPA offer page into an Iframe so that only the name and email fields show up on my landing page, making it look as though it's a part of my landing page when in fact it is really the CPA offer in an Iframe. Then, the script allows people to fill out the name and email (for example) and submit. Then the script resizes the Iframe so that the second page form shows up, typically with name, address, and several other fields. The script is able to redirect users to a new page, but only if I choose not to resize the Iframe to fit the second page.

I need the following script to redirect users after they submit their information on the second iframed page. Here is the code I have currently. I need to make this code work to redirect users upon 2nd page submit/action and I need it to be cross browser compatible:

Head:

<script type='text/javascript'>

different=1;

base=1;

function raf(arg) {

[url removed, login to view]('bframe').[url removed, login to view] = '-508px';

[url removed, login to view]('bframe').[url removed, login to view] = '-265px';

[url removed, login to view]('bframe').[url removed, login to view] = '690px';

[url removed, login to view]('bframe').[url removed, login to view] = '1423px';

[url removed, login to view]('odiv').[url removed, login to view] = '357px';

[url removed, login to view]('odiv').[url removed, login to view] = '423px';

}

function redirect() {

[url removed, login to view] = "[url removed, login to view]";

}

function gothere(arg) {

var different = arg;

if (different > base) {

base = different; redirect();

}

setTimeout(function(){gothere([url removed, login to view])},100)

}

</script>

Body:

<div style='overflow: hidden; width: 763px; height: 66px; 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("[url removed, login to view]([url removed, login to view])",1050);}

setTimeout("[url removed, login to view]([url removed, login to view])",530);' name='bframe' src='[url removed, login to view]' style='border: 0pt none ; left: -328px; top: -512px; position: absolute; width: 1440px; height: 707px;' scrolling='no'></iframe></div>

Beceriler: Her şey Kabul, HTML, Javascript, Arama Sonuç Sayfaları, PHP

Daha fazlasını görün: www cpa, scrolling php code, height and length, cpa email address, raf, landing page javascript, arg, script head http, html page resize, http redirect page, email iframe, php http redirect, jwplayer type, cross iframe, html javascript example, javascript submit form email address, history browser, iframe position absolute, upon javascript, php head script, div style top, page resize html, iframe resize page, need people fill cpa offer, div show hidden

İşveren Hakkında:
( 2 değerlendirme )

Proje NO: #2246743