windows.open() function opens new tab instead of new window in IE11
Im migrating my application from ie8 to ie11. The below code opens a new window in ie 8 as expected but in ie 11 it opens a new tab.
I checked in microsoft website, they told to change internet pop up settings.
But i need to make some changes in code itself so that it creates new window instead of new tab.
Is there a method/code available to force the ie11 to open new window instead of new tab.
Below is the code which opens new window in ie 8 and new tab in ie11.
You can't force on to people what they don't want, be happy with what you get!
If your post falls off the page, bump it. ...
Please remember to wrap any code you have in forum tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
You'd HATE my browser setup -- window.open doesn't even do anything; hell I wish there was a way to block that stupid malfing TARGET attribute that has no business on any non-frameset website written after 1997.
Though honestly, it looks like you're just opening it for one lousy anchor? Why not just apo a DIV over your content and put it there?
Though it looks like you've got VB scripting in there via ASP (or something similar) -- that nonsense is filled with bad practices not designed to work in any modern browser; outright blocked in many due to security risks.
Seriously, I'd axe the window.open nonsense and just handle it on the existing page. It was an annoyingly bad thing a decade ago, it has no business on any modern browser and is blocked in many of them by default for a reason!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)