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");
}
精彩评论