开发者

Window opens with toolbar even when using toolbar=no

I'm working on an app that uses this to open 开发者_如何学运维the homepage of the application after they have successfully entered the login details:

window.open("app_homepage_url","myApp","toolbar=no,status=yes,scrollbars=no,location=no,menubar=no,directories=no");

This normally works as expected and hides the toolbar but one user has reported that they still have the toolbar showing. They are using Internet Explorer.

My first thought was maybe there's already a window open with the name 'myApp' and the toolbar shown so the homepage is getting loaded into that window instead of a new one but I tried doing that and the application does not let you log in due to the way the login is handled with sessions so I don't think it can be that.

The comment on this answer seems to suggest there is a way to force the browser to always show the toolbar so I wonder if it is to do with this. Does anyone know how you actually do this?

Any other ideas?


This might be a browser configuration issue. Have a test on the following configuration settings on IE7 and IE8:

  1. Goto Tools->Internet Options->Security Tab
  2. Select an appropriate security zone settings
  3. Click on Custom level.. button
  4. On the settings tab, look for Miscellaneous Node
  5. Then have a test on the following settings Allow script-initiated windows without size or position constraint All websites to open windows without address or status bar.

Closing the browser might helpful when changing configuration settings.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜