开发者

Open up link in new window maximised

Does anyone know how to open up a new window but in maximised format (spec. in IE7 and IE6开发者_运维问答)? Javascript methods are OK in this instance too.


Use

window.open

and use the

fullscreen

option.

But before doing that read this also

Note on fullscreen

Example

var WindowObjectReference;

function openRequestedPopup()
{
  WindowObjectReference = window.open("http://www.domainname.ext/path/ImageFile.png",
                  "DescriptiveWindowName",
                  "resizable=yes,scrollbars=yes,status=yes,fullscreen=yes");
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜