i found a simple script to detect ur browser on my site and it redirects ur frowser to that page
what i want to know is that i put this script in my loading page witch takes 5 sec to redirect the user to the other page but with this script it redirects thr person instantly and i tryed to insert this code to the script abov
but it didnt work can u help me out here
EDIT: ummm i saw that this was in there
so what im guessing is that i might only need
but where do i put the setTimeout scripit in this one
thx for the help if u can
HTML:
<script type="text/javascript">
if(navigator.appName == "Netscape")
{
window.location = "/main/home.php"
}
if(navigator.appName == "Microsoft Internet Explorer")
{
window.location = "/app/monster%20matt.application"
}
</script>
HTML:
<script type="text/javascript">
<!--
function delayer(){
window.location = "../javascriptredirect.php"
}
//-->
</script>
</head>
onLoad="setTimeout('delayer()', 5000)"
but it didnt work can u help me out here
EDIT: ummm i saw that this was in there
HTML:
function delayer(){
window.location = "../javascriptredirect.php"
so what im guessing is that i might only need
HTML:
<script type="text/javascript">
<body onLoad="setTimeout('delayer()', 5000)">
}
</script>
but where do i put the setTimeout scripit in this one
HTML:
<script type="text/javascript">
if(navigator.appName == "Netscape")
{
window.location = "/main/home.php"
}
if(navigator.appName == "Microsoft Internet Explorer")
{
window.location = "/app/monster%20matt.application"
}
</script>
Last edited: