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 abovHTML Code:<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>
but it didnt work can u help me out hereHTML Code:<script type="text/javascript"> <!-- function delayer(){ window.location = "../javascriptredirect.php" } //--> </script> </head> onLoad="setTimeout('delayer()', 5000)"
EDIT: ummm i saw that this was in there
so what im guessing is that i might only needHTML Code:function delayer(){ window.location = "../javascriptredirect.php"
but where do i put the setTimeout scripit in this oneHTML Code:<script type="text/javascript"> <body onLoad="setTimeout('delayer()', 5000)"> } </script>
thx for the help if u canHTML Code:<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>


LinkBack URL
About LinkBacks
Reply With Quote
icon below! (this is even better than "liking" a post)
