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

ThanksSmile

 Avaneesh Bajoria

0
Avaneesh
1/29/2008 11:43:15 AM
asp.net.client-side 24353 articles. 1 followers. Follow

4 Replies
1316 Views

Similar Articles

[PageSpeed] 39

Hi,

you popup window objects may be overwritten... 

post your code...

 


Vasanthakumar
Software Engineer.
0
vasanth
1/29/2008 12:22:50 PM

 hi!

use different titles for each window:

        var i =0;
        function popup( url )
        {
            window.open( url 'Title' + i++ , '', false );
           
        }

 

orzeh 


code less, think more!
0
orzeh
1/29/2008 12:35:06 PM

 Use the different variable for the nested popup

like this

modalWin = window.open(sURL,"",""); // for first child

modalWin1 = window.open(sURL,"",""); // for second child

 


Nikhil Agrawal
Think before you Think
0
nikhil
1/29/2008 1:19:28 PM

It is the second argument of window.open() that is the key here.  Do it like this...

    window.open('myPage.aspx', '_blank', '');
 
Best regards...
Josh Stodola ← Come check out my blog!
0
JoshStodola
1/29/2008 2:56:55 PM
Reply:

Similar Artilces:

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...

Postback from pop up window opens new window
Hi guys, I am opening a pop up window using using a link and javascript function like this: <a href='WebsiteDiscussion.aspx onclick="popup('WritePost.aspx', 'Add Post')">Write a post</a> function popup(mylink, windowname)        {            window.open(href);            //window.showModalDialog(href);            return false;    &...

how to open a pop up window by disabling the main window i.e pop up will remain in the main window until closing
 I need to make subpartitions of the contents of a form(transfring values from a page to a popup) and i need that when we click on a button on a page(main window) then a pop up will open by disabling the main window until n unless popup is closed.i.e focus will not lose from the popup until it is closed.RegardsSHOAIB RIZWAN see links below:http://microsoft.apress.com/asptodayarchive/73815/using-modal-dialog-boxes-in-aspnet-applications http://msdn.microsoft.com/en-us/magazine/cc164247.aspx google can be your friend :) Simply JS | june blog Or use this model on how to open ...

opening new window other than window.open
is there any other way of opening a new window... aside from window.open? window.open has a memory leak so i want to prevent using it as much as possible.Alvin ShihSoftware DeveloperMCP MCTS MCPD Hi window.showmodaldialog() but supports only IE....   Regards Suresh Kumar Goudampally Why dont you avoid pop up windows all together and use an iframe that is positioned over the content? Eric Pascarello.com | Twitter epascarello | LinkedIn Hi,Try Target="_blank" N.P.SenthilSoftware Engineer  Link buttons targer property is set to "_blank"...

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...

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...

window.open() opens new window
Firefox 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...

Pop up opens in new tap whole window size pop-up
Name: John Email: jodhodotcomatgmaildotcom Product: Firefox Summary: Pop up opens in new tap whole window size pop-up Comments: Pop up opens in new tap; whole window change in size pop-up. firefox 3 Browser Details: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; nl; rv:1.9b5) Gecko/2008032619 Firefox/3.0b5 From URL: http://hendrix.mozilla.org/ ...

open new tab in parent window by clicking on a link in pop-up window
I tried to open new tab in parent window of browsers by clicking on a link in pop-up window. i> When we browse with Google Chrome then by clicking on link in pop-up window, open new tab in parent window and pop-up closed. ii> When we browse with Mozilla Firefox then by clicking on link in pop-up window, pop-up is closed directly without open a new tab or window. iii> When we browse with IE and Safari then by clicking on link in pop-up window, open a new window and pop-up closed. ...

How to disable a Parent window when the Child pop-up window opens in C#.net
My Code: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient;public partial class _Default : System.Web.UI.Page {dbUtils dbu = new dbUtils(); //SqlDataAdapter dataAdapter; //DataSet dSet; //SqlCommand cmd; //int value; //string Temp,var;protected void Page_Load(object sender, EventArgs e) {if (Page.IsPostBack == false) { session(); }     }public v...

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 open
Stefan <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 open
neil@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...

Web resources about - open a new pop-up window having a pop-up window already open.... - asp.net.client-side

China, economy tests for Taiwan presidential winner Tsai
TAIPEI, Taiwan (AP) — Tsai Ying-wen's enjoys a broad mandate from her commanding victory in Taiwan's presidential election and her independence-leaning ...

UNEXPECTEDLY: GOPe Elites Sucking Up to Donald Trump In Last-Ditch Effort to Stop Ted Cruz
I like Donald Trump and would support him for president if he were the nominee. Even with another northeastern liberal Republican Scott Brown, ...

American missionary among dead in Burkina Faso hotel attack
NEW YORK (AP) — The mother-in-law of an American missionary confirmed Saturday that he was among those killed after al-Qaida fighters attacked ...

Jakarta attacks claim third victim: police
The militant attacks in Indonesia's capital have claimed a third victim, with a man dying overnight from gunshot wounds to the head, police said ...

Cardinals get wild OT win over Packers to reach NFC title game
USA TODAY Cardinals get wild OT win over Packers to reach NFC title game USA TODAY GLENDALE, Ariz. — Snap reactions from the Arizona Cardinals' ...

FX CEO John Landgraf updates his forecast on 'too much TV,' talks Netflix
The man who ignited the “too much television” discussion six months ago has an update to his thoughts on the state of television.FX Chief Executive ...

7 Days: A week of iOS goodness, a VR rollercoaster, and the wonders of Windows 10 Mobile
From the end of 8 and the power of R, to Continuum coolness, PC sales slides, HoloLens battery life, and Microsoft's iPad Pro put-down, it's ...

Her lead all but gone in Iowa, Hillary Clinton deploys Bill to win over voters
Los Angeles Times Her lead all but gone in Iowa, Hillary Clinton deploys Bill to win over voters Los Angeles Times Former President Clinton ...

Celine Dion's brother dies of cancer only days after her husband
Two days after Céline Dion's husband René Angélil died, it has emerged that her brother, Daniel Dion, also lost his battle with cancer. In a ...

Did Maz Kanata Appear In ‘Star Wars: The Phantom Menace’ Before ‘Star Wars: The Force Awakens’
Maz Kanata was one of the most divisive new characters in Star Wars: The Force Awakens . Before it was released much was made of the mysterious ...

Resources last updated: 1/17/2016 6:44:10 AM