CodyNPaige Posted December 12, 2011 Share Posted December 12, 2011 how would you go about being able to open one link in more then one tab? I'm wanting to be able to have a drop down box with 1 - 10 in it. the 1 - 10 is for the option on how many tabs to be open. Quote Link to comment https://forums.phpfreaks.com/topic/253037-opening-more-then-one-tab/ Share on other sites More sharing options...
Andy-H Posted December 12, 2011 Share Posted December 12, 2011 Javascript? for( int i = 0; i < <?php echo $_POST['i']; ?>; i++ ) { window.open('www.test.com'); } Quote Link to comment https://forums.phpfreaks.com/topic/253037-opening-more-then-one-tab/#findComment-1297312 Share on other sites More sharing options...
xyph Posted December 12, 2011 Share Posted December 12, 2011 This is entirely client-side behavior. You'll want some sort of JavaScript function, and from what I understand, there's no way to force a new tab. That depends on how the client responds to new windows Quote Link to comment https://forums.phpfreaks.com/topic/253037-opening-more-then-one-tab/#findComment-1297319 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.