Devam Ediyor

500925 Javascript Iframing tweak- Redirect upon 2nd page submit

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:

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, Kabuk Betiği

Daha fazlasını görün: scrolling php code, height length, cpa email address, raf, landing page javascript, arg, html page resize, email iframe, jwplayer type, html javascript example, iframe position absolute, upon javascript, php head script, div style top, page resize html, iframe resize page, div show hidden, text javascript, redirect code, iframe style left, iframe style, resize php function, form hidden submit, javascript resize div, php hidden fields

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

Proje NO: #2246846