Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open a new window without using "window.open"

Status
Not open for further replies.

Yale

Programmer
Sep 30, 2004
31
US
how do i open a new window without using window.open?

thanks,
yale
 
can you give a little more detail please. Are you talking about a browser window? How is the new window triggered? - from a link or from within a function or something else?

Tony
________________________________________________________________________________
 
yes, i'm talking about a browser window... window.open(link) is inside a function that displays a msgbox with "OK" and "CANCEL" buttons... once the user clicks on "OK".... a new window should be opened... btw,i don't wanna use window.open() because windows that are opened using this method are automatically blocked by pop-up blockers...

thanks,
yale
 
window.open() is not blocked by click events on most (if not all) browsers.

The only window.open() events that are blocked are ones that are called without any interaction by the user.

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
ey, i did some testing... i have a yahoo pop-up blocker... yahoo blocks the new window which should be opened after i click on the OK button in my message box... i am using window.open() method for the action of the OK button...

anyways, somebody told me that i can customize the msgbox OK button by incorporating "href" in it... any idea how to do that? anyone?

thanks again,
yale
 
I've never heard of that, and would be very interested in finding out how.

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
hello!

i modified my code and conducted some testing... removing the msgbox and going directly to the window.open() method worked... the pop-up blocker was not able to block the new window... ;D

regards,
yale
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top