drorshem Posted December 24, 2009 Share Posted December 24, 2009 It may not be the relevant place to ask this, but here we go... <script type="text/JavaScript"> <!-- setTimeout("location.href = 'http://www.google.com' ;",1500); --> </script> Very simple redirect script, as you can see... How do I make Google being opened in target = "_blank" ? Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/186257-simple-redirect-script/ Share on other sites More sharing options...
Adam Posted December 24, 2009 Share Posted December 24, 2009 Use window.open. Quote Link to comment https://forums.phpfreaks.com/topic/186257-simple-redirect-script/#findComment-983683 Share on other sites More sharing options...
drorshem Posted December 24, 2009 Author Share Posted December 24, 2009 ok, thanks got a way to use "_top" maybe ? Quote Link to comment https://forums.phpfreaks.com/topic/186257-simple-redirect-script/#findComment-983703 Share on other sites More sharing options...
oni-kun Posted December 24, 2009 Share Posted December 24, 2009 ok, thanks got a way to use "_top" maybe ? Why not look up the JS tutorial for window.open.. I'm sure you'll find your answer there. But this is the wrong forums, it's for PHP not JS. Quote Link to comment https://forums.phpfreaks.com/topic/186257-simple-redirect-script/#findComment-983704 Share on other sites More sharing options...
drorshem Posted December 24, 2009 Author Share Posted December 24, 2009 found my answer whoever needs it : <script type="text/JavaScript"> <!-- setTimeout("top.location = 'http://www.google.com' ;",1500); --> </script> Quote Link to comment https://forums.phpfreaks.com/topic/186257-simple-redirect-script/#findComment-983712 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.