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. 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. 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 ? 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. 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> Link to comment https://forums.phpfreaks.com/topic/186257-simple-redirect-script/#findComment-983712 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.