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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Location attribute in javascript window.open doesn't work?

Status
Not open for further replies.

arunrr

Programmer
Oct 2, 2009
103
0
0
US
In the following...
-------------------------------------------------------------
var win = window.open(url, name, 'width=' + w + ', height=' + h + ', ' + 'left=' + wleft + ', top=' + wtop + ', ' + 'location=no, menubar=no, ' + 'status=no, toolbar=no, scrollbars=yes, resizable=yes');
-------------------------------------------------------------

The location attribute has no effect when the browser is IE7, IE8, Chrome, Firefox.

Any suggestions please...
Also open to using an alternative to window.open

Thanks
AR
 
Hi

And in case the browser is configured to open tabs instead of pop-up windows, neither the other attributes will have effect.
AR said:
Any suggestions please...
Change your vision. What and how appears in other peoples' browser is other peoples' business.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top