473,668 Members | 2,519 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

popups IE7

In IE7, popup windows opened with Window.Open() behave differently than IE6
in that you can't get rid of the address bar or status bar even when
specified so in the Open() options. I was told by a few other developers
that this is a security measure and it is no longer possible to hide the
address bar. If this is true, I was wondering if anyone can explain how
Microsoft achieves just this in their Outlook for Web application. When
creating a new email, a popup appears with no address bar, no status bar,
and it is not modal. How do they do this even in IE7?

Thanks
Perry

Jun 27 '07 #1
9 1246
On Jun 27, 9:47 am, "Perecli Manole" <Pere...@dslext reme.comwrote:
In IE7, popup windows opened with Window.Open() behave differently than IE6
in that you can't get rid of the address bar or status bar even when
specified so in the Open() options. I was told by a few other developers
that this is a security measure and it is no longer possible to hide the
address bar. If this is true, I was wondering if anyone can explain how
Microsoft achieves just this in their Outlook for Web application. When
creating a new email, a popup appears with no address bar, no status bar,
and it is not modal. How do they do this even in IE7?

Thanks
Perry
This code is working well in IE7 and does no address or status bar

<a href="#"
onclick='window .open("/","windowName", "toolbar=0,loca tion=0,director ies=0,status=0, menubar=0,scrol lbars=1,resizab le=1,width=500, height=500");'>
popup
</a>

Jun 27 '07 #2
It's no secret. View the HTML and JavaScript source code.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Perecli Manole" <Pe*****@dslext reme.comwrote in message
news:e1******** *****@TK2MSFTNG P06.phx.gbl...
In IE7, popup windows opened with Window.Open() behave differently than
IE6 in that you can't get rid of the address bar or status bar even when
specified so in the Open() options. I was told by a few other developers
that this is a security measure and it is no longer possible to hide the
address bar. If this is true, I was wondering if anyone can explain how
Microsoft achieves just this in their Outlook for Web application. When
creating a new email, a popup appears with no address bar, no status bar,
and it is not modal. How do they do this even in IE7?

Thanks
Perry

Jun 27 '07 #3
I did that and I don't understand what they are doing. They are not using
the window.open() approach.
From the opener page, they have an <alink that looks like this: <a
href='http://mail/exchange/perry/Drafts/?Cmd=new'></aand when the popup
opens the context menu has been disabled so that you can't peek at the
source code.

Perry

"Kevin Spencer" <un**********@n othinks.comwrot e in message
news:u0******** *****@TK2MSFTNG P04.phx.gbl...
It's no secret. View the HTML and JavaScript source code.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Perecli Manole" <Pe*****@dslext reme.comwrote in message
news:e1******** *****@TK2MSFTNG P06.phx.gbl...
>In IE7, popup windows opened with Window.Open() behave differently than
IE6 in that you can't get rid of the address bar or status bar even when
specified so in the Open() options. I was told by a few other developers
that this is a security measure and it is no longer possible to hide the
address bar. If this is true, I was wondering if anyone can explain how
Microsoft achieves just this in their Outlook for Web application. When
creating a new email, a popup appears with no address bar, no status bar,
and it is not modal. How do they do this even in IE7?

Thanks
Perry

Jun 28 '07 #4
On Jun 28, 11:16 am, "Perecli Manole" <Pere...@dslext reme.comwrote:
I did that and I don't understand what they are doing. They are not using
the window.open() approach.
From the opener page, they have an <alink that looks like this: <a
href='http://mail/exchange/perry/Drafts/?Cmd=new'></aand when the popup
opens the context menu has been disabled so that you can't peek at the
source code.
Perry, they are using the same window.open as I sent you.
Jun 28 '07 #5
This does not work for the Internet zone. It does work for the Intranet zone
though.

Perry

"Alexey Smirnov" <al************ @gmail.comwrote in message
news:11******** **************@ w5g2000hsg.goog legroups.com...
On Jun 27, 9:47 am, "Perecli Manole" <Pere...@dslext reme.comwrote:
>In IE7, popup windows opened with Window.Open() behave differently than
IE6
in that you can't get rid of the address bar or status bar even when
specified so in the Open() options. I was told by a few other developers
that this is a security measure and it is no longer possible to hide the
address bar. If this is true, I was wondering if anyone can explain how
Microsoft achieves just this in their Outlook for Web application. When
creating a new email, a popup appears with no address bar, no status bar,
and it is not modal. How do they do this even in IE7?

Thanks
Perry

This code is working well in IE7 and does no address or status bar

<a href="#"
onclick='window .open("/","windowName", "toolbar=0,loca tion=0,director ies=0,status=0, menubar=0,scrol lbars=1,resizab le=1,width=500, height=500");'>
popup
</a>
Jun 28 '07 #6
On Jun 28, 11:28 am, "Perecli Manole" <Pere...@dslext reme.comwrote:
This does not work for the Internet zone. It does work for the Intranet zone
though.
Ah, you're right! But this is related to security settings

Open Tools - Internet Options - Security - Internet - Custom Level

Find Miscellaneous, Allow websites to open windows without address or
status bars

You have it disabled by default

Jun 28 '07 #7
Hmm.. that is interesting to know for my own browser, but I need to enforce
this for all my users. I can't change their browser settings remotely. This
is for a corporate Intranet for internal use only so my users should have no
security concerns going to this site. But since our Intranet is exposed to
the Internet, so users can work from home, this site falls into the Internet
zone even though it is Intranet. I guess there is no way to get the IE6
behavior.

Thanks for the tips
Perry

"Alexey Smirnov" <al************ @gmail.comwrote in message
news:11******** **************@ n60g2000hse.goo glegroups.com.. .
On Jun 28, 11:28 am, "Perecli Manole" <Pere...@dslext reme.comwrote:
>This does not work for the Internet zone. It does work for the Intranet
zone
though.

Ah, you're right! But this is related to security settings

Open Tools - Internet Options - Security - Internet - Custom Level

Find Miscellaneous, Allow websites to open windows without address or
status bars

You have it disabled by default
Jun 29 '07 #8
On Jun 29, 12:25 pm, "Perecli Manole" <Pere...@dslext reme.comwrote:
Hmm.. that is interesting to know for my own browser, but I need to enforce
this for all my users. I can't change their browser settings remotely. This
is for a corporate Intranet for internal use only so my users should have no
security concerns going to this site. But since our Intranet is exposed to
the Internet, so users can work from home, this site falls into the Internet
zone even though it is Intranet. I guess there is no way to get the IE6
behavior.
It seems that it's done for security reasons, and the address bar is
showing when the site is not in the trusted list, or security level is
medium or above. Because you need it for your corporate users, you
might add your site to the Trusted Sites list.

Jun 29 '07 #9
On Jun 29, 1:39 pm, Alexey Smirnov <alexey.smir... @gmail.comwrote :
On Jun 29, 12:25 pm, "Perecli Manole" <Pere...@dslext reme.comwrote:
Hmm.. that is interesting to know for my own browser, but I need to enforce
this for all my users. I can't change their browser settings remotely. This
is for a corporate Intranet for internal use only so my users should have no
security concerns going to this site. But since our Intranet is exposed to
the Internet, so users can work from home, this site falls into the Internet
zone even though it is Intranet. I guess there is no way to get the IE6
behavior.

It seems that it's done for security reasons, and the address bar is
showing when the site is not in the trusted list, or security level is
medium or above. Because you need it for your corporate users, you
might add your site to the Trusted Sites list.
I mean it can be done by your system administrator for all users

Jun 29 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2869
by: Art | last post by:
NEWBIE ALERT! Esteemed List Participants and Lurkers: (System: P-II 350, 192 meg, Win98 SE, Python 2.2.3, wxPythonWIN32-2.4.1.2-Py22.exe) I'm having a lot of fun getting started with Python ... it is the most elegant and graceful language I have ever used (Fortran, Cobol, Basic, many assemblers, Forth, C, VB, etc.). I don't have the resources or the
52
4407
by: Harlan Messinger | last post by:
Can you help me figure out what to do about popups? Sometimes we develop web applications where popups make very good sense for precisely the same reasons they make sense in traditional locally-installed application interfaces. I understand some people object, on grounds having nothing to do with disabilities, to links that generate new browser windows. I don't know what the basis of their objection is, but I wonder whether the same...
7
2199
by: Bob Wightman | last post by:
I've had a look through the archives but cannot find anything that really answers this so... I have a menu system composed of a series of "buttons" (actually span elements) that react to the usual onMouseOver; onMouseClick & onMouseOut events. I wish to have descriptive popups associated with each button that are shown using the onMouseOver event. Now I can do this with one caveat: if I scroll the page down and hover the mouse over a...
3
1648
by: PSERVE | last post by:
Is the a way of preventing popups from other sites while your page is loading? -- Regards Nik http://www.itconsultancy.org
2
1784
by: Tom Szabo | last post by:
Hi, >>IE in Windows XP Service Pack 2 has a popup blocker that blocks unsolicited >>popups >>IE (other than Windows XP Service Pack 2) also has many add-ons (Google toolbar, >>Yahoo! toolbar, Norton Internet Security, etc) that block unsolicited popups.
1
2344
by: dejausenet | last post by:
I have firefox 1.0, running on winxp Firefox blocks popups fine, but sometimes, for selected occassions only, i would like to be able to have window popup; without enabling whole domains, as other popups from same domain are not desired. How can I selectively override the firefox popup blocker, without opening up pop up from many ads from same domain. Tx
4
1517
by: ciprian.dosoftei | last post by:
Hello, I just finished a tutorial website regarding the development of DHTML popups. The site features several examples with downloadable samples. It also feature more complex effects like drop-down popups, fade in/out, slide in etc. The URL is: http://dhtmlpopups.webarticles.org/ I hope you will find the information useful. Any feedback is welcomed
4
3270
by: dd | last post by:
I have a scenario where my popups are being blocked by IE6+ and Firefox. The problem is that although the popup is a direct result of the user clicking on the link (meaning that they WANT the popup), when it comes to opening it, I'm doing it via a JavaScript function and by the time the popup is opened the browser doesn't know it was as a result of that click. The link between click and popup open attempt is broken. The reason for this...
1
1641
by: YotamElal | last post by:
Hello, I have a popup problem. When a popup is opened, I want all other popups to close immediatly. (except for its self and it's child popups) Here is my code: code: <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'> <html>
1
2343
by: Moe Sisko | last post by:
Using : ASP.NET 2.0, IE 7. This is a strange problem with popups not working in IE to remote sites, even though popups are allowed in IE. To reproduce, create web site with two pages, Default.aspx and Default2.aspx. Note that the example is a deliberately simplified example - just used to reproduce the problem, and not meant to be very useful. Default.aspx - add button1. In codebehind, hookup click event :
0
8367
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8889
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8790
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8570
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7391
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2781
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.