Open a new window with window.open()Hi,
=20
in our web application, we try to open a popup-window with
window.open(). But instead of opening a new window, a new tab is opened.
=20
In the SeaMonkey preferences, we configured it, to open new links in a
new tab. With firefox, we had the same preferences, but when
window.open() was called, a new window was opened.=20
How can we configure SeaMonkey, so that it has the Firefox behavior when
calling window.open() ?
=20
Thanks in advance.
=20
=20
=20
Artur Zeiler schrieb:
> Hi,
>
> in our web application, we try to open a popup-window wi...
window.open() opens new windowFirefox 19.0
Windows XP Pro SP-3
Example site URL: http://www.pcconnection.com/
(I've hit this problem at many sites, however.)
Firefox is configured (enabled) as:
Tools -> Options -> Tabs
"Open new windows in a new tab instead" = Enabled
Presumably this means when a page tries to open a new window (another
instance of the web browser) that instead a new tab will appear in the
current window. Works that way in IE8 (when "Always open popups in a
new tab" is enabled).
Go down the page and click on the "Site Help" link. What I get...
OPEN NEW WINDOW USING window.open
Hi, can any eagle eyed geniuses spot what I'm doing wrong here? It's doing my nut! I'm simply trying to call a new page in a new window that I want to control the size, etc. I've tried two different ways - one from within my code behind and the other triggered by a LinkButton command action. Both do absolutely nothing. Please help...
Private Sub InfoClick1(ByVal pSiteCode)
Response.Write("<script>window.open('siteinfo.aspx?sitecode='" & pSiteCode & "','Info','left=20,top=20,height=500,width=850,toolbar=no,status=no,resizable=1,scrollbars=no')</script>")
End Sub
+...
superreview requested: [Bug 429926] Make Cmd+T open a new window when no browser windows are open : [Attachment 316692] BrowserOpenTab() even when no windows are openStefan <stefanh@bluebottle.com> has asked neil@parkwaycc.co.uk <neil@httl.net>
for superreview:
Bug 429926: Make Cmd+T open a new window when no browser windows are open
https://bugzilla.mozilla.org/show_bug.cgi?id=429926
Attachment 316692: BrowserOpenTab() even when no windows are open
https://bugzilla.mozilla.org/attachment.cgi?id=316692&action=edit
...
superreview granted: [Bug 429926] Make Cmd+T open a new window when no browser windows are open : [Attachment 316692] BrowserOpenTab() even when no windows are openneil@parkwaycc.co.uk <neil@httl.net> has granted Stefan <stefanh@inbox.com>'s
request for superreview:
Bug 429926: Make Cmd+T open a new window when no browser windows are open
https://bugzilla.mozilla.org/show_bug.cgi?id=429926
Attachment 316692: BrowserOpenTab() even when no windows are open
https://bugzilla.mozilla.org/attachment.cgi?id=316692&action=edit
...
window.open and window.opener
Sorry for a really dumb post. I am not a scripting person... I find the whole thing a bit strange really with losely coupled types ect...Anyway, I am putting together a ASP.NET v2 application. One of the pages I am planning on implementing a link to open a pop-up window. In this popup window, the user will select the location of somthing, the window close and the value returned back to one of the parent browsers controls. I know this is not rocket science and I have done endless searches to try and find the answer. I am loading up the page and passing in the ClientID of the control I wish to...
how to restrict to open new window from a dialog box(i.e new window should not open from a dialog box)
i have a button. onclick event A dialog box is opened using js.The page that opens in dialog box consist of some server side scripts i.e a drop down box(C#) on which when i select a value then it retrieve some data from data base and display in a table.now the problem is that when i select value in dropdown menu then an other new window opens and all data comes on that instead of a dialog box.so is there any way that no more windows should open after a dialog box i.e all calculations should be in the one dialog box no new windows should be opened.RegardsSHOAIB RIZWAN
I have to c...
open a new pop-up window having a pop-up window already open....
Hi all, pls help I have done coding to open a pop window, its opening without any problem, now I want to open an new pop-up window keeping the older pop-up open, currently as I try to open page in the new pop-up, the page is displayed in the older pop up window instead of showingin a new pop-up window.
Please help in this regard
Thanks
Avaneesh Bajoria
Hi,you popup window objects may be overwritten... post your code... VasanthakumarSoftware Engineer.
hi!use different titles for each window: var i =0; &nb...
open a new pop-up window having a pop-up window already open...
Hi All, Please help, I am opening a pop-up window using the following statement IN JAVASCRIPT:
function openSLST() { window.open("pgnew.aspx",null,"height=700,width=800,status=no,toolbar=no,menubar=no,location=no,left=5,top=5,scrollbars=yes"); }
the above function is called as below withiin a <tr></tr> tag :
<a runat="server" id="aslst" class="avilink" onclick="openSLST();" href="#">AviList</a>
a new window pops up so far so good....
now when i try to open a new pop-up(i want the p...
PB9 CRASHthe pb9 application crash, when i a new window (windowtype response) in the
open event from a sheet window opened!
the pb8 has not this effect happen!
cu
sven pleissner
Try replacing the open with a postevent( "ue_new_event" )
and placing the open in the "ue_new_event" code. This will allow the open
event complete and the sheet be displayed with the response window on top of
the sheet.
"Sven Plei�ner" <sven.pleissner@sql-gmbh.de> wrote in message
news:usTsfeETDHA.346@forums-2-dub...
> the pb9 application crash, when i a new wi...
superreview granted: [Bug 172962] Options for where to open URLs from other applications (reuse tab, new tab, new window) : [Attachment 159443] optional addition to divert window.open to a new tabPeter Van der Beken <peterv@propagandism.org> has granted Dan M
<danm.moz@gmail.com>'s request for superreview:
Bug 172962: Options for where to open URLs from other applications (reuse tab,
new tab, new window)
https://bugzilla.mozilla.org/show_bug.cgi?id=172962
Attachment 159443: optional addition to divert window.open to a new tab
https://bugzilla.mozilla.org/attachment.cgi?id=159443&action=edit
------- Additional Comments from Peter Van der Beken <peterv@propagandism.org>
>Index: dom/src/base/nsGlobalWindow.cpp
>=================================...
superreview requested: [Bug 172962] Options for where to open URLs from other applications (reuse tab, new tab, new window) : [Attachment 159443] optional addition to divert window.open to a new tabDan M <danm.moz@gmail.com> has asked Peter Van der Beken
<peterv@propagandism.org> for superreview:
Bug 172962: Options for where to open URLs from other applications (reuse tab,
new tab, new window)
https://bugzilla.mozilla.org/show_bug.cgi?id=172962
Attachment 159443: optional addition to divert window.open to a new tab
https://bugzilla.mozilla.org/attachment.cgi?id=159443&action=edit
...
automatically adjusting the new window size opened using window.open()
i am using window.open() javascript method specifying the height and width of the new window. but the problem is the contents are bit bigger than that, they will be invisible and if they are less, there will be blank white screen which doesn't look very good. so is it possible to adjust the size of new window automatically depending upon the content?-keeara g------------------
Hi keeara,
Use window.resizeTo(iWidth, iHeight).
Cheers,
Peter BrunoneMS MVP, ASP.NETFounder, EasyListBox.comDo the impossible, and go home early.
but can i access it by server side code? i am using vb.n...
How to open url in new window and use previous window when already opened
We can achieve this by using a simple javascript function....
var WindowObjectReference;
function openRequestedSingleWindow(strUrl, strWindowName)
{
if(WindowObjectReference == null || WindowObjectReference.closed)
{
WindowObjectReference = window.open(strUrl, strWindowName);
}
else
{
WindowObjectReference.focus();
}
}
Here we use a WindowObjectReference as a global variable to track the
opened window. If opened for the fir...