Solved

Open browser window/tab BEHIND current window

Posted on 2014-01-14
5
324 Views
Last Modified: 2014-01-15
I guess I am asking for a pop-under solution.  I tried to do

w=window.open('blah')
w.blur()
window.focus()

but that doesn't work at all.

Any suggestions.
0
Comment
Question by:jglazer63
  • 2
  • 2
5 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39780760
Hi,
which OS and which browser have you tried?
How do you run this code? onload or onclick event?
Thanks.
Rainer
0
 
LVL 58

Expert Comment

by:Gary
ID: 39780786
There is no reliable cross browser method of doing this, you may get a bit of luck with this
https://github.com/tuki/js-popunder

But not in Chrome,
0
 

Author Comment

by:jglazer63
ID: 39781186
OS and Browser doesn't matter.  I need a global solution.  I have a feeling its not possible.
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39781190
There is no global solution, it's a bad practise to start with.
0
 

Author Closing Comment

by:jglazer63
ID: 39782133
Came to the same conclusion.  Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Find out what you should include to make the best professional email signature for your organization.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now