Multiple opening new windows ? , java , html code , please help
2015-02-08, 02:42 AM,
#1
Hello , is there any opportunity to make button to site , which will be open new a few windows but not only one ? My sites which I want to open are not pop ups .

I have problem with this because I could open only one windows , the rest is blocked .

Thanks in advance , sorry for my english :D
Reply
2015-02-08, 03:17 AM,
#2
Hi and welcome to the forum!

Do you mean that you want to open multiple websites to tabs when you press one button? If yes you can try this code:

Code:
<!DOCTYPE html>
<html>
    
    <body>
        <p>Click the button to open Google, Facebook and Youtube in new tabs.</p>
        <button onclick="openWebsites()">Open 3 websites</button>
        <script>
            function openWebsites() {
                window.open("http://www.google.com");
                window.open("http://www.facebook.com");
                window.open("https://www.youtube.com");
            }
        </script>
    </body>

</html>
Reply
2015-02-08, 03:20 AM,
#3
(2015-02-08, 02:42 AM)jimii Wrote: I have problem with this because I could open only one windows , the rest is blocked .

The most modern browsers or at least the integrated pop-up blockers do block these.

This place is intentionally left blank.
Reply
2015-02-08, 03:50 AM,
#4
(2015-02-08, 03:20 AM)BlackHatSEO Wrote:
(2015-02-08, 02:42 AM)jimii Wrote: I have problem with this because I could open only one windows , the rest is blocked .

The most modern browsers or at least the integrated pop-up blockers do block these.

ohhh , so I thought :/ I was trying code which Heka told , and that is blocked :( But Thank you guys for your willingness :*
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [JAVA SCRIPT] Need someone to make me an executable!!! CagelessBrain 0 73 2017-10-17, 04:09 AM
Last Post: CagelessBrain
  (Question) How to handle content locker for wordpress site with multiple posts ZohnSon 4 206 2017-09-27, 09:53 PM
Last Post: ZohnSon
  Where to find content locker code on a pre designed landing page? Holyearnings 3 151 2017-09-13, 06:56 AM
Last Post: Holyearnings
  OGads captcha locker onclick code ? gamertrial1 1 171 2017-08-11, 10:04 AM
Last Post: lovecash
  Decode this .js code roktim 11 435 2017-07-24, 09:27 PM
Last Post: Harrington




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top