|
Prev: waiting on GM_xmlhttprequest to finish
Next: repeated XMLHttpRequest GETs and displaying result
From: Grouchy.Oldgit on 25 Jun 2008 13:45 Have been successfully using the following to open a pop-up for some time function msg(url) { window.open(url,'msg','scrollbars=yes,menubar=yes,width=750,height=400,resizable=yes,toolbar=yes,location=yes,status=yes') } Works fine on IE6 & Firefox, but IE7 opens a new tab obscuring the calling page. How can IE7 be made to open a new window?
From: PA Bear [MS MVP] on 25 Jun 2008 13:52 IE Tools | Internet Options | General | Tabs | Settings | When a pop-up is encountered... Lots more in IE Help! <wink> -- ~Robear Dyer (PA Bear) MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002 AumHa VSOP & Admin http://aumha.net DTS-L http://dts-l.net/ Grouchy.Oldgit(a)googlemail.com wrote: > Have been successfully using the following to open a pop-up for some > time > > function msg(url) { > > window.open(url,'msg','scrollbars=yes,menubar=yes,width=750,height=400,resizable=yes,toolbar=yes,location=yes,status=yes') > } > > Works fine on IE6 & Firefox, but IE7 opens a new tab obscuring the > calling page. How can IE7 be made to open a new window?
From: Jeremy J Starcher on 25 Jun 2008 14:20 On Wed, 25 Jun 2008 10:45:48 -0700, Grouchy.Oldgit wrote: > window.open (url,'msg','scrollbars=yes,menubar=yes,width=750,height=400,resizable=yes,toolbar=yes,location=yes,status=yes') > } window.open is NOT required to open a new window. In most modern user agents, the end use may choose to open window a new window, open a new tab or ignore the request entirely.
From: Grouchy.Oldgit on 25 Jun 2008 14:25 Many thanks for prompt reply. Unfortunately it seems that IE7 by default opens the link in a tab rather than a pop-up! As most users probably never get past the defaults, is there any way in javascript to force a link to open in a pop-up? On Jun 25, 10:52 am, "PA Bear [MS MVP]" <PABear...(a)gmail.com> wrote: > IE Tools | Internet Options | General | Tabs | Settings | When a pop-up is > encountered... > > Lots more in IE Help! <wink> > -- > ~Robear Dyer (PA Bear) > MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002 > AumHa VSOP & Adminhttp://aumha.net > DTS-Lhttp://dts-l.net/ > > > > Grouchy.Old...(a)googlemail.com wrote: > > Have been successfully using the following to open a pop-up for some > > time > > > function msg(url) { > > > window.open(url,'msg','scrollbars=yes,menubar=yes,width=750,height=400,resizable=yes,toolbar=yes,location=yes,status=yes') > > } > > > Works fine on IE6 & Firefox, but IE7 opens a new tab obscuring the > > calling page. How can IE7 be made to open a new window?- Hide quoted text - > > - Show quoted text -
From: rob^_^ on 25 Jun 2008 15:37 Hi, var nwin=window.open(url,'msg','scrollbars=yes,menubar=no,width=750,height=400,resi�zable=yes,toolbar=no,location=yes,status=yes'); nwin.focus(); void(0); Regards. <Grouchy.Oldgit(a)googlemail.com> wrote in message news:342e2eeb-962d-486d-b707-15114f9a5c27(a)j1g2000prb.googlegroups.com... > Many thanks for prompt reply. > > Unfortunately it seems that IE7 by default opens the link in a tab > rather than a pop-up! As most users probably never get past the > defaults, is there any way in javascript to force a link to open in a > pop-up? > > On Jun 25, 10:52 am, "PA Bear [MS MVP]" <PABear...(a)gmail.com> wrote: >> IE Tools | Internet Options | General | Tabs | Settings | When a pop-up >> is >> encountered... >> >> Lots more in IE Help! <wink> >> -- >> ~Robear Dyer (PA Bear) >> MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002 >> AumHa VSOP & Adminhttp://aumha.net >> DTS-Lhttp://dts-l.net/ >> >> >> >> Grouchy.Old...(a)googlemail.com wrote: >> > Have been successfully using the following to open a pop-up for some >> > time >> >> > function msg(url) { >> >> > window.open(url,'msg','scrollbars=yes,menubar=yes,width=750,height=400,resi�zable=yes,toolbar=yes,location=yes,status=yes') >> > } >> >> > Works fine on IE6 & Firefox, but IE7 opens a new tab obscuring the >> > calling page. How can IE7 be made to open a new window?- Hide quoted >> > text - >> >> - Show quoted text - >
|
Next
|
Last
Pages: 1 2 Prev: waiting on GM_xmlhttprequest to finish Next: repeated XMLHttpRequest GETs and displaying result |