Is there a way to not use the java for downloads and logging in?
There’s no java being used, or javascript for that
<script type="text/javascript">
window.location = "<?php echo $redir;?>";
</script>
There isn’t??
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
It looks fine in IE, but in FF it looks bad, the whole page gets sucked up to the top…
The script tags shouldn’t be doing that, they’re invisible to the html
Here is what i Mean.
It doesn’t do this in IE.
A div isn’t closed or something?
And it works with the script tag taken out?
If I take the script out it doesn’t work. As stated before it doesn’t do that in IE…
I mean, if you take the script out, does it still mess up the page?
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.
Try this:
<script type="text/javascript" language="javascript">
//<![CDATA[
window.location = "<?php echo $redir;?>";
//]]>
</script>
Nah, same deal. didn’t work
That’s weird, I haven’t heard of that problem happening with the script tag
I’ll see what I can find
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>
That can be redone as:
<script type="text/javascript">
setTimeout(function() {
window.location = "<?php echo $redir;?>";
}, 2000);
</script>
Little more compact