How to display a popup window in full screen mode

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <script type="text/javascript">
        function openPopup() {
            window.open("yourpagename.html", null, "fullscreen=yes, channelmode=no, scrollbars=yes, resizable=no, status=no, toolbar=no, directories=no")
    <input type="button" name="btnFullscreen" value="Open in fullscreen" onclick="openPopup();" />

When you press the button, the popup will open in full screen. Note that this can be vary depend on the browser settings and this is not a good user experience too.

No comments: