Questions tagged [new-window]
224 questions
2
votes
3 answers
NewWindow3 Event Not Fired
I'm trying to use the NewWindow3 event with the Microsoft Web Browser control so that I can capture the URL and prevent it from opening Internet Explorer. NewWindow2 fires fine, but NewWindow3 does not. The only relevent thing I can find is…

Drew Chapin
- 7,779
- 5
- 58
- 84
2
votes
1 answer
tmux new-window ssh to remote host, then execute command and stay login
I use tmux on a jump box. I'm trying to automate certain common scenarios. How can I do the following?:
create new window
ssh to remote host
execute some commands on remote host (i.e.: cd and dot-slash something)
stay logged in
I can do it with…

a_arias
- 3,036
- 2
- 21
- 20
2
votes
1 answer
Open a link in new tab/window without loosing the view scope of current JSF page
I need to open a new JSF page (say 2.xhtml) in new tab from current JSF page (say 1.xhtml).
Which JSF component should I use for it? or ?
I do not want to lose the scope of current page 1.xhtml after clicking on the…

Shivagoy
- 373
- 3
- 5
- 15
2
votes
2 answers
Submit Form to New Window/Tab
I've wrote a simple 'add page' form to a small CMS I've built and I have a simple preview feature which submits a form and opens the front-end version of the page in a new window.
To achieve this up until now I've used:

0Neji
- 1,038
- 1
- 14
- 36
2
votes
1 answer
Launch a new window that contains the output of a variable or custom text
How would I use JavaScript to launch a new window that either contains the output of a variable or custom text? Kind of like taking the results of the document.open() command and showing it in a new window. My code:
function readmessage()
{
var…

pattyd
- 5,927
- 11
- 38
- 57
2
votes
1 answer
JavaScript Result hack not working
Question: what am I missing to get this hack to work?
For the MVC app I'm working on, I've hit an 'unusual' case.
We generate certain reports using ActiveReports, and for users who are allowed, present an ActionLink on our layout that allows access…

Andrew Gray
- 3,756
- 3
- 39
- 75
2
votes
3 answers
Writing html to a new window with javascript
I have been doing some research on opening a new window and writting HTML to it with jQuery/JavaScript and it seems like the proper way to do it is to:
Create a variable for the new window
var w = window.open();
Insert the new data and work the…

Nick
- 643
- 3
- 7
- 19
2
votes
1 answer
MVC New Window Bottlenecking
I encountered a bizarre issue that I hadn't previously and I thought I would inquire here to see if anyone had any recommendations.
Currently, my application has an area to create a new "recording" (which uses a Flash module within a new window to…

Rion Williams
- 74,820
- 37
- 200
- 327
2
votes
1 answer
Opening a new window if condition true in managed bean
I want to implement a situation where the user enter a URL, and if a specified condition is true in my managed bean this URL will be opened in a new web page.
I found this possibility:
The “h:link” tag is useful to generate a link which requires…

Amira
- 3,184
- 13
- 60
- 95
2
votes
2 answers
access the newwindow inside the newwindow event
I use a webbrowser control in my application to get data from a specific web page. This web page won't work with the older IE because it specifically checks for the IE version. So I made a registry change that allows my application to work as IE 9…

pzogr
- 424
- 1
- 12
- 30
2
votes
3 answers
Opening new window/tab without using `window.open` or `window.location.href`
I want to generate a link that is clicked right after creating, but nothing happens
Code:
var link = $("");
link.attr("href", "/dostuff.php");
link.attr("target", "_blank");
link.click();
The attributes are set correctly:
var link =…

Richard de Wit
- 7,102
- 7
- 44
- 54
1
vote
1 answer
How to open a new window in Raphael JS?
How to open a new window like "_blank" in Raphael?

DSanchez
- 11
- 1
1
vote
1 answer
Print JQplot in new window
I open my JQplot on a modal Div window, which has a print button.
I want the print button to only print the graph.
Or possibly open a new window with a graph in it.
What do you think is the best route and how would that solution work?

nipiv
- 773
- 1
- 8
- 21
1
vote
2 answers
write contents in a certain part of new window using jQuery
I have this codes in my projects to open a new window to show and then, print the result table from my first window:
$('a.print_btn').click(function(e) {
var elementId = $(this).attr('id');
var elementToPrint = $("#report_" +…

Mohammad Saberi
- 12,864
- 27
- 75
- 127
1
vote
1 answer
Typo3: External URL should open with target=_blank
I have created a page with the type external URL. In the tab "General" I can specify the protocol and the URL. In another tab I can specify the URL alias and the target. But the target is already _blank. In the frontend the link still opens in the…

testing
- 19,681
- 50
- 236
- 417