Questions tagged [new-window]
224 questions
6
votes
1 answer
Open links in Disqus threads in a new tab
Currently I'm using Disqus on my site. It's great, but the only downfall is that when users posts links in their comments and it's clicked on then it sends traffic away from my site.
I want the links to open in a new window/tab. I've emailed Disqus…

Geblord
- 63
- 4
6
votes
2 answers
How to use target=“_blank” to open report in new window only if validation has not failed
I have a report that needs to be opened in another tab, but only if the validation hasn't failed. In my case, the validation fails and the same page opens in another tab with the validations errors.

shouts
- 135
- 2
- 5
5
votes
2 answers
Standards-compliant equivalent to target="_blank"
There are instances where I have to open links in a new window/tab. Is there a method of doing so that is valid for strict HTML? Using jQuery to do so would be acceptable, but I'd rather not just sneak the target="_blank"s back in w/ jQuery so that…

aslum
- 11,774
- 16
- 49
- 70
5
votes
2 answers
Jsf redirect to new window
i'm making a JSF2.0 project using mojarra primefaces tomcat6.x.
I made a select list and when i select item of the list i want to redirect to the selected url. It can be an internal URL.
It's work but i want to know if it's possible to redirect in…

La Chamelle
- 2,927
- 4
- 36
- 54
5
votes
1 answer
Open .aspx file in two windows in Visual Studio 2013
I am trying to open the source view of one large .aspx file in two separate windows/tabs in Visual Studio 2013. The "Window > New Window" option is greyed out for this file type.
I am able to do this with other file types including .cs, .css, .js,…

Rick
- 1,863
- 2
- 19
- 46
5
votes
2 answers
IE history push state
I have a webpage where the user has the possibility to display the terms and conditions without reloading the page, via AJAX. That, in itself, is no problem, however, I am also trying to push a history state.
That works fine in most browsers, except…

arik
- 28,170
- 36
- 100
- 156
3
votes
3 answers
Move all functions to child window
If I do this:
var new_win = window.open();
How do I make it so that all of the functions that could be used in the parent window can now be used in the child window (new_win)?
I do not want to do:
var fun1 = window.opener.fun1;
var fun2 =…

Naftali
- 144,921
- 39
- 244
- 303
3
votes
3 answers
Opening Python Interactive Tab in different Window
I was looking to move the "Interactive - #1" tab that pops up when you run a jupyter cell in VSC to a new window but was unable (for a second monitor). If I open a new window and drag the tab to it, the GUI changes like it will accept the tab but…

Will_sharp
- 55
- 1
- 4
3
votes
7 answers
how to use image button to open the url in another window
Hi I know how to acheive this in hyperlink by setting target = _blank , how can i do this using image button control , below is my code:

Mr A
- 6,448
- 25
- 83
- 137
3
votes
1 answer
HTML Link javascript execute on right click or shift click (open in a new window/tab)
Opening a JavaScript-based link in a new window/tab.
I have a link
Page
What I believe is happening here is that the trackClick() function may not have enough time to execute before browser redirects…

Oleksandr
- 283
- 1
- 4
- 15
3
votes
1 answer
Open new window in a new window
So Here is the thing i can open new windows in WPF but what i am trying to do is after opening a new window (lets call it window2) i want to be able to open another new window(window3)from window2 but when i put in the code it wont let me.
On my…

John Mc Gowan
- 41
- 6
3
votes
1 answer
Creating a connected query window from Visual Studio 2012 addin
I am trying to create a connected query window from Visual Studio 2012 addin.
This is the code i am using:
UIConnectionInfo u = new UIConnectionInfo
{
ServerName = serverName,
ServerType = new…

Fjut
- 1,314
- 12
- 23
3
votes
2 answers
Refresh/navigate current page while opening/downloading file in new tab/window
I have a button which opens a new tab with a generated pdf-file.
However, after I click on the button, I want to navigate to another page.
That means, after clicking on the button i want to open a new tab with the pdf and navigate to another page…

leostiw
- 1,125
- 3
- 12
- 28
3
votes
1 answer
Get URL for WebBrowser.NewWindow Event
I'm trying to redirect new Window event to a new tab:
myWebBrowser.NewWindow += add_NewTab;
//...
private void add_NewTab(object sender, CancelEventArgs e)
{
WebBrowser thisWebBrowser = (WebBrowser)sender;
e.Cancel = true; //should…

Mave751
- 697
- 4
- 11
- 25
3
votes
1 answer
How to view a file in a new window in TextMate?
I am giving TextMate a try for some quick editing of a few script files. I would like to be able to view two files side by side while working on them instead of having to switch between tabs. I can't figure out how to display a file in a new window.…

g .
- 8,110
- 5
- 38
- 48