PDA

View Full Version : Page redirect



Hayd93
01-10-2007, 03:58 PM
could someone lead me to a automatic page rediration after a set aboout of time script bit like on mini-i.fm

+ rep if someone has a good one

headboard
01-10-2007, 04:00 PM
http://www.grizzlyweb.com/webmaster/javascripts/redirection.asp#Timed-Redirect

hope it helps.

Invent
01-10-2007, 04:04 PM
Where does Mini-I use redirects? o.O

Hayd93
01-10-2007, 04:15 PM
well not a redirect as sutch the page loading thing

headboard
01-10-2007, 04:18 PM
Are you satisfied with mine?
http://www.grizzlyweb.com/webmaster/javascripts/redirection.asp#Timed-Redirect

L!nK
01-10-2007, 04:20 PM
Invent did you make that AJAX loading page script?

I googled for you but don't no if its correct.


================================================== ==========
INSTRUCTIONS.

This is a MUTI-PART Script.

================================================== ==========
PART I.
Copy code below into <HEAD> section of your HTML pages
================================================== ==========

<SCRIPT TYPE="text/javascript" LANGUAGE="javascript">

<!-- PreLoad Wait - Script -->
<!-- This script and more from http://www.rainbow.arch.scriptmania.com

function waitPreloadPage() { //DOM
if (document.getElementById){
document.getElementById('prepage').style.visibilit y='hidden';
}else{
if (document.layers){ //NS4
document.prepage.visibility = 'hidden';
}
else { //IE4
document.all.prepage.style.visibility = 'hidden';
}
}
}
// End -->
</SCRIPT>


================================================== ==========
PART II.
Add the onLoad event, as shown below, to your <BODY> tag:
================================================== ==========

<BODY onLoad="waitPreloadPage();">


================================================== ==========
PART III.
Copy codes below to immediately after <BODY> tag.
================================================== ==========

<DIV id="prepage" style="position:absolute; font-family:arial; font-size:16; left:0px; top:0px; background-color:white; layer-background-color:white; height:100%; width:100%;">
<TABLE width=100%><TR><TD><B>Loading ... ... Please wait!</B></TD></TR></TABLE>
</DIV>

Hayd93
01-10-2007, 04:22 PM
thabks ye + rep for all of you

davidmarsh
01-10-2007, 04:23 PM
Cant you just use meta refresh?

Mr Macro
01-10-2007, 05:31 PM
Cant you just use meta refresh?

No, he wants a page loader...

Hayd93
01-10-2007, 05:32 PM
its ok now i got one

Want to hide these adverts? Register an account for free!