Window.open location =no does not work

后端 未结 3 1978
北海茫月
北海茫月 2021-01-18 05:11

I need to create a popup in my web app to load a unity file. For that I\'m using Javascript\'s Window.Open.

I don\'t want the user to see the popup\'s URL or to give

相关标签:
3条回答
  • 2021-01-18 05:30

    No, there is no way to get rid of that bar in IE7 - this change was brought in as a security measure to help combat phishing.

    As Feryt says, you can use inline popups, which is probably a better solution anyway.

    0 讨论(0)
  • 2021-01-18 05:45

    what about inline pop-ups? You can write your own code or see this: http://docs.jquery.com/UI/Dialog.

    I dont use standard window.open javascript function at all, as in IE 8 it's IMHO impossible to hide location bar.

    Inline (I mean html) dialogs have more features than window.open.

    Hope it helps.

    0 讨论(0)
  • 2021-01-18 05:54

    Instead of window.open() use window.showModalDialog()

    0 讨论(0)
提交回复
热议问题