Jump to content

Recommended Posts

  • Administrators
Posted

Oh that, that's for the redirects. I thought you meant for the actual login.

Well you can change it to a:

<a href="<?php echo $redir;?>">Click here to continue</a>

There's that "holding page", for the downloads to count the download, and the login to complete

Posted

Ok, this makes no sense but I had to remove one closing div tag, then I removed the script and it looked good.  I added the java script again and it starts pulling the page up again.

  • Administrators
Posted

Try this:

<script type="text/javascript" language="javascript">
//<![CDATA[ 
    window.location = "<?php echo $redir;?>";
//]]>
</script> 

Posted

This script works good in both FF and IE......

<script>
//specify redirect url
var redirecturl="PUT THE URL HERE!!"
//specify pause duration before redirection (in seconds)
var pausefor=2

//DONE EDITING

function postaction(){
if (window.timer){
clearInterval(timer)
clearInterval(timer_2)
}
window.location=redirecturl
}
setTimeout("postaction()",pausefor*1000)

</script>

  • Administrators
Posted

That can be redone as:

<script type="text/javascript">
setTimeout(function() {
    window.location = "<?php echo $redir;?>";
}, 2000);
</script>

Little more compact

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...