Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 232645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:02:06+00:00 2026-05-11T20:02:06+00:00

In Firefox 3, when I open a new window (or tab), using window.open, the

  • 0

In Firefox 3, when I open a new window (or tab), using window.open, the new window has focus, which is what I want.

In IE, the old window still has focus for some reason, so I have researched the problem my window.open code does this now.

  var w = window.open("Sheet.aspx", "_blank");
  w.focus();

Unfortunately, this isn’t working for me in IE 7. The old window still has focus. What I am missing here?

I have IE set to open new pages in a tab, rather than a new page, and I’ve allowed popups for the domain my site is on.

I can see the IE progress indicator going on the second tab, but it never switches over to it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:02:06+00:00Added an answer on May 11, 2026 at 8:02 pm

    I have almost exactly the same code in one of my web apps which works just fine in IE7. Does it work if you disable the pop-up blocker? Do you have any extensions/toolbars installed which do pop-up blocking, and can you try disabling them?

    –edit:

    My code is different to yours as it supplies a width and a height for the window so it opens as a pop-up, but if I set IE to ‘Always open pop-ups in a new tab’ it still focusses on the window for me but I have pop-up blocker completely turned off. I still think the most likely source of your problem is either the pop-up blocker or an add-on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 188k
  • Answers 188k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It turns out, there's an answer on the Microsoft SQLNCli… May 12, 2026 at 5:31 pm
  • Editorial Team
    Editorial Team added an answer Yes. Use Named pipes if it is all on one… May 12, 2026 at 5:31 pm
  • Editorial Team
    Editorial Team added an answer If you want the total price of all products, including… May 12, 2026 at 5:31 pm

Related Questions

I've written a bookmarklet to look a word up in a Chinese dictionary: javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('%E8%AF%8D%E8%AF%AD',''))};if(Qr)(function(){window.open('http://nciku.com/search/all/'+Qr);})();
IE 8 is not refreshing a popup window that shows an image with some
I'm working on some old AJAX code, written in the dark dark days before
Background Lately I've become a fanatic that everything I type while working on a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.