プロが教えるわが家の防犯対策術!

IE8でフルスクリーンモードを実現するjavascriptのコードを教えてください。
やりたいことは『F11キーを押した状態』でウィンドウを起動させることです。
window.open("hoge.htm","_self","fullscreen=yes");
では、ロケーション、タブ、メニューバーが消えません。

詳しい方、よろしくお願いします。

A 回答 (2件)

channelmode が関係しそうですが、MDC によると IE6 SP2 では fullscreen は使用できないようです。



---
fullscreen = { yes | no | 1 | 0 }
Specifies whether to display the browser in full-screen mode. The default is no. Use full-screen mode carefully. Because this mode hides the browser's title bar and menus, you should always provide a button or other visual clue to help the user close the window. ALT+F4 closes the new window.

Internet Explorer 7. A window in full-screen mode does not need to be in theater mode.

In Internet Explorer 5 and Internet Explorer 6, a window in full-screen mode must also be in theater mode (channelmode).
http://msdn.microsoft.com/en-us/library/ms536651 …
---

window.open - MDC Docs
https://developer.mozilla.org/ja/DOM/window.open …
    • good
    • 0

セキュリティ上の理由でロケーションバーは消えなくなった気がします。


ie6は(たしか)消えるんですけどね。
firefox3.6(Mac)も消えないみたいです。

・参考
http://gac.kir.jp/3/22906

・window.openのオプションサンプル。
http://www.tagindex.com/javascript/window/open_o …
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!