<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>全屏显示当前网页</title>
    <style type="text/css">
        .style1
        {
            width: 788px;
        }
    </style>
 <script language="javascript">
	function opendialog(){
	var width=screen.width;
	var height=screen.height;
	window.showModalDialog("Default.aspx","","dialogWidth="+width+"px;dialogHeight="+height+"px;status=no;help=no;scrollbars=no")
	}
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table align="center" 
            style="width: 76%; background-image: url('imageback.jpg'); height: 720px;">
            <tr>
                <td>
                    &nbsp;</td>
                <td class="style1">
                    &nbsp;</td>
                <td valign ="top" >
                   <a href="#" onClick="opendialog()"><strong>全屏显示</strong></a>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td class="style1">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td class="style1">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
