Exit pop working locally but not when uploaded to server.
I have (hopefully) a simple issues which I would be very gratefulk if one of you could help with.
I have just built a CPA landing page with a JavaScript exit pop/redirect. Said pop works fine using the files that are on my machine, but when I upload them all to my hosting, it no longer works.
I upoaded the exact files that I use locally to my hosting via FTP without any changes at all.
The js in my website is as follows. If there's nothing wrong with this, I am happy to send via pm the code for my .js file, but I think it'll be too long to post here:
Thanks in advance.
<script language="javascript" type="text/javascript">
//<![CDATA[
if(typeof jQuery=='undefined'){var head=document.getElementsByTagName('head')[0];var script=document.createElement('script');script.src ='../ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.js';script.type='text/javascript';head.appendChild(script);}var PreventExitSplash = false;var ESRecordId = '1';var exitpagerb = 1;var exitperiodrb = 0;var periodEnable = 5;var peroidDisable = 0;var displayFrequency = '86400';var exitsplashpage = 'exitus.html';var exitsplashmessage = '***************************************\n\n Examnple text Examnple text Examnple text Examnple text Examnple text Examnple text Examnple text Examnple text Examnple text Examnple text Examnple text Examnple text.\n\n***************************************\n \n';var alertmessage = '***************************************\n\n > > > W A I T < < <\n\n CLICK THE ***Stay on this page*** BUTTON\n OR CLICK THE ***Cancel*** BUTTON\n on the NEXT Window and don\'t miss out on these great offers!\n\n*************************************** \n\n\n';var UseAlert = 0;var UseHelper = 1;
//]]> </script><script language="javascript" src="exit.js" type="text/javascript">
</script>
<div id="ExitDiv" style=
"display:none;position:absolute;left:10px;;top:10p x;margin:auto;z-index:1000;">
<center>
<img id="ExitImage" src="exitimage.gif" border="0" name="ExitImage" />
</center>
</div>
<div id="ExitBackDiv" style= "display:none;position:absolute;left:0px;top:0px;o verflow:auto;height:100%;width:100%;background:#00 0000;opacity:0.6;filter:alpha(opacity=60);z-index:999;">
<input type="hidden" id="hidLocation" value="http://www.scrillastats.com/labs/" />
<script type="text/javascript" src="../www.scrillastats.com/labs/landing.js">
</script> <script type="text/javascript">
//<![CDATA[
checkdirect(8,1)
//]]> </script>
-
Mp3Ora -
[ 1 ] Thanks - 1 reply
SignaturePrivate Blog Network (PBN) Monitring PHP Script{{ DiscussionBoard.errors[8021038].message }}-
Brandon Tanner -
[ 1 ] Thanks
Signature{{ DiscussionBoard.errors[8021096].message }} -
-