Solved

Open browser window/tab BEHIND current window

Posted on 2014-01-14
5
329 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

821 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