<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>&nbsp;登录到EIAS&nbsp;</title>
</head>
<style>
a:hover { color: #FF0000}
body { font-family: "宋体"; font-size: 9pt; text-decoration: none}
a { font-family: "宋体"; font-size: 9pt; text-decoration: none}
table { font-family: "宋体"; font-size: 9pt; text-decoration: none}
</style>
<script language="jscript">
var dragObj
drag = 0;
move = 0;
function init() 
{
    window.document.onmousemove = mouseMove
    window.document.onmousedown = mouseDown
    window.document.onmouseup = mouseUp
    window.document.ondragstart = mouseStop
}
function mouseDown() 
{
    if (drag) 
    {
        clickleft = window.event.x - parseInt(dragObj.style.left)
        clicktop = window.event.y - parseInt(dragObj.style.top)
        dragObj.style.zIndex += 1
        move = 1
    }
}
function mouseStop() 
{
    window.event.returnValue = false
}
function mouseMove() 
{
    if (move) 
    {
        dragObj.style.left = window.event.x - clickleft
        dragObj.style.top = window.event.y - clicktop
    }
}
function mouseUp() 
{
    move = 0
}
function click() 
{
if (event.button==2) 
{
alert('对不起,禁止使用此功能.')
}
}
document.onmousedown=click
</script>
<script>
function check_guest()
{
var flag=document.EIAS_login.is_guest.checked;
if(flag==true)
{
document.EIAS_login.member_login_name.disabled=true;
document.EIAS_login.member_password_normal.disabled=true;
}
else
{
document.EIAS_login.member_login_name.disabled=false;
document.EIAS_login.member_password_normal.disabled=false;
}
}
</script>
<body bgcolor=background onload=init() scroll=no>
<object id="closes" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" width="0" height="0">
<param name="Command" value="Close">
</object>
<script>
function wqp()
{    window.open(top.location,'RUNMIT_EIAS','resizable=yes,scrollbars=auto,toolbar=no,location=0,menubar=no,status=yes,fullscreen=1');
    window.focus();
    document.closes.Click();
}
if(window.name != "RUNMIT_EIAS") wqp();
</script><form name="EIAS_login" method=post action="/RUNMIT_PUBLIC/auth/auth.php">          
     <DIV id=login style="height: 223px;width: 400px;POSITION:absolute;z-index:0;" >
        <table border="0" width="400" height="223" cellspacing="0" cellpadding="0" style="border-left:2 solid #efefef;border-top:2 solid #efefef;border-right:2 solid #333333;border-bottom:2 solid #333333;background:menu">
          <tr>
            <td width="100%" height="20" bgcolor=activecaption style='cursor:hand' onmouseout=drag=0 onmouseover="dragObj=login; drag=1;"><font color=captiontext>&nbsp;登录到EIAS&nbsp;</font></td><td bgcolor=activecaption><img src="http://211.100.7.119/RUNMIT_PUBLIC/auth/image/close_app.gif" onclick="javascript:self.close();"></td>
          </tr>
          <tr>
            <td width="100%" height="70" valign="bottom" align="right" colspan=2><img src="http://211.100.7.119/RUNMIT_PUBLIC/auth/image/logo6.gif" width=100% height=100%></td>
          </tr>
          <tr>
            <td width="100%" height="3" bgcolor=activecaption colspan=2></td>
          </tr>
          <tr>
            <td width="100%" height="130" colspan="2" valign="top" align="left">
              <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="100%" height="100%">
                    <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
                      <tr>
                        <td nowrap height=40 align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户名:&nbsp</td>
                        <td width="100%" >&nbsp;<input type=text name="member_login_name">&nbsp;</td>
                      </tr>
                      <tr>
                        <td nowrap height=20 align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密&nbsp;&nbsp;码:&nbsp;</td>
                        <td width="100%">&nbsp;<input type=password name="member_password_normal">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align=right height=25>&nbsp;</td>
                        <td width="100%">&nbsp;<input type=checkbox name=is_guest onclick="javascrip:check_guest();" value=1>&nbsp;以过客身份登录&nbsp;</td>
                      </tr>
                      <tr>
                        <td width="100%" height=45 colspan=2 align=right>
                          <input type=submit value="&nbsp;&nbsp;确定&nbsp;&nbsp;">&nbsp;&nbsp;&nbsp;&nbsp;
                          <input type=button value="&nbsp;&nbsp;注册&nbsp;&nbsp;">&nbsp;&nbsp;&nbsp;
                          <input type=button value="&nbsp;&nbsp;退出&nbsp;&nbsp;" onclick="javascript:self.close();">&nbsp;&nbsp;&nbsp;
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
        </div>
        
<input type=hidden name=back_url value="http://211.100.7.119/EIAS/">
<input type=hidden name=auth_path value="/home/groups/home/RUNMIT_PUBLIC/auth">
<input type=hidden name=is_eias value="yes">
</form>
</body>
</html>
<script>
login.style.left=document.body.clientWidth/2-login.clientWidth/2
login.style.top=document.body.clientHeight/2-login.clientHeight/2-50
</script>

解决方案 »

  1.   

    完整代码,去除了Bug:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>&nbsp;登录到EIAS&nbsp;</title>
    </head>
    <style>
    a:hover { color: #FF0000}
    body { font-family: "宋体"; font-size: 9pt; text-decoration: none}
    a { font-family: "宋体"; font-size: 9pt; text-decoration: none}
    table { font-family: "宋体"; font-size: 9pt; text-decoration: none}
    </style>
    <script language="jscript">
    var dragObj
    drag = 0;
    move = 0;
    function init() 
    {
        window.document.onmousemove = mouseMove
        window.document.onmousedown = mouseDown
        window.document.onmouseup = mouseUp
        window.document.ondragstart = mouseStop
    }
    function mouseDown() 
    {
        if (drag) 
        {
            clickleft = window.event.x - parseInt(dragObj.style.left)
            clicktop = window.event.y - parseInt(dragObj.style.top)
            dragObj.style.zIndex += 1
            move = 1
        }
    }
    function mouseStop() 
    {
        window.event.returnValue = false
    }
    function mouseMove() 
    {
        if (move) 
        {
            dragObj.style.left = window.event.x - clickleft
            dragObj.style.top = window.event.y - clicktop
        }
    }
    function mouseUp() 
    {
        move = 0
    }
    function click() 
    {
    if (event.button==2) 
    {
    alert('对不起,禁止使用此功能.')
    }
    }
    document.onmousedown=click
    </script>
    <script>
    function check_guest()
    {
    var flag=document.EIAS_login.is_guest.checked;
    if(flag==true)
    {
    document.EIAS_login.member_login_name.disabled=true;
    document.EIAS_login.member_password_normal.disabled=true;
    }
    else
    {
    document.EIAS_login.member_login_name.disabled=false;
    document.EIAS_login.member_password_normal.disabled=false;
    }
    }
    </script>
    <body bgcolor=background onload=init() scroll=no>
    <object id="closes" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" width="0" height="0">
    <param name="Command" value="Close">
    </object>
    <script>
    function wqp()
    {    window.open(top.location,'RUNMIT_EIAS','resizable=yes,scrollbars=auto,toolbar=no,location=0,menubar=no,status=yes,fullscreen=1');
        window.focus();
        document.closes.Click();
    }
    if(window.name != "RUNMIT_EIAS") wqp();
    </script><form name="EIAS_login" method=post action="/RUNMIT_PUBLIC/auth/auth.php">          
         <DIV id=login style="height: 223px;width: 400px;POSITION:absolute;z-index:0;" >
            <table border="0" width="400" height="223" cellspacing="0" cellpadding="0" style="border-left:2 solid #efefef;border-top:2 solid #efefef;border-right:2 solid #333333;border-bottom:2 solid #333333;background:menu">
              <tr>
                <td width="100%" height="20" bgcolor=activecaption style='cursor:hand' onmouseout=drag=0 onmouseover="dragObj=login; drag=1;"><font color=captiontext>&nbsp;登录到EIAS&nbsp;</font></td><td bgcolor=activecaption><img src="close_app.gif" onclick="javascript:self.close();"></td>
              </tr>
              <tr>
                <td width="100%" height="70" valign="bottom" align="right" colspan=2><img src="logo6.gif" width=100% height=100%></td>
              </tr>
              <tr>
                <td width="100%" height="3" bgcolor=activecaption colspan=2></td>
              </tr>
              <tr>
                <td width="100%" height="130" colspan="2" valign="top" align="left">
                  <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="100%" height="100%">
                        <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
                          <tr>
                            <td nowrap height=40 align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户名:&nbsp</td>
                            <td width="100%" >&nbsp;<input type=text name="member_login_name">&nbsp;</td>
                          </tr>
                          <tr>
                            <td nowrap height=20 align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密&nbsp;&nbsp;码:&nbsp;</td>
                            <td width="100%">&nbsp;<input type=password name="member_password_normal">&nbsp;</td>
                          </tr>
                          <tr>
                            <td align=right height=25>&nbsp;</td>
                            <td width="100%">&nbsp;<input type=checkbox name=is_guest onclick="javascrip:check_guest();" value=1>&nbsp;以过客身份登录&nbsp;</td>
                          </tr>
                          <tr>
                            <td width="100%" height=45 colspan=2 align=right>
                              <input type=submit value="&nbsp;&nbsp;确定&nbsp;&nbsp;">&nbsp;&nbsp;&nbsp;&nbsp;
                              <input type=button value="&nbsp;&nbsp;注册&nbsp;&nbsp;">&nbsp;&nbsp;&nbsp;
                              <input type=button value="&nbsp;&nbsp;退出&nbsp;&nbsp;" onclick="javascript:self.close();">&nbsp;&nbsp;&nbsp;
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            </div>
            
    <input type=hidden name=back_url value="http://211.100.7.119/EIAS/">
    <input type=hidden name=auth_path value="/home/groups/home/RUNMIT_PUBLIC/auth">
    <input type=hidden name=is_eias value="yes">
    </form>
    </body>
    </html>
    <script>
    login.style.left=document.body.clientWidth/2-login.clientWidth/2
    login.style.top=document.body.clientHeight/2-login.clientHeight/2-50
    </script>
      

  2.   

    呵呵
    我怎么看到那么多得bug阿
      

  3.   

    哈哈哈哈,太容易看见源代码了!
    http://211.100.7.119/RUNMIT_PUBLIC/auth
    他的服务器居然没有设置好,
    用的是PHP,但我对PHP不熟,希望那位看懂他是怎么做出一访问就可以没有任何提示的全屏请告诉我 [email protected]
      

  4.   

    php做不到你说的,那时JS作的
    php时后台处理的,不管界面
      

  5.   

    真想知道那个excel是如何 实现的?是调用客户端的excel么?
      

  6.   

    打开页面全屏幕+HTML在线编辑器+WebExcel+...
    好像也没有什么呀?
      

  7.   

    楼上得大虾,能不能说说那个webexcel怎么实现得?
      

  8.   

    哦,怎么实现的?据说几个Javascript、XML高手奋战几个昼夜的结果:)
      

  9.   

    就界面来说的话,去51windows.com看看吧,做得比较好,还有源码下载~
      

  10.   

    weidegong哪有代码?能给我一份参考嘛?最近很闲,所以自己做做东东玩玩
      

  11.   

    net_lover(孟子E章) 你代码是怎么搞到的啊,能不能教教我啊~~~
      

  12.   

    http://211.100.7.119/  的代码:)是不是很过分,这个代码能不能搞到 Netscape打开,就可以看到了!!
      

  13.   

    在开多窗口的浏览器里都可以看到。WINDOWS界面在51windows.com里非常精彩。WebExcel在http://211.100.7.119/web_app/web_Exel/webexel.html(该站的)
    和http://202.108.105.47:8080/webreportsample/ereport.htm里有。全屏是用了关闭本窗口(用OBJECT,不用提示)并打开新的全屏窗口。基本也就这么多了。
      

  14.   

    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>&nbsp;登录到EIAS&nbsp;</title>
    </head>
    <style>
    a:hover { color: #FF0000}
    body { font-family: "宋体"; font-size: 9pt; text-decoration: none}
    a { font-family: "宋体"; font-size: 9pt; text-decoration: none}
    table { font-family: "宋体"; font-size: 9pt; text-decoration: none}
    </style>
    <script language="jscript" src="/RUNMIT_PUBLIC/auth/image/drag.js"></script>
    <script>
    function check_guest()
    {
    var flag=EIAS_login.is_guest.checked;
    if(flag==true)
    {
    EIAS_login.member_login_name.disabled=true;
    EIAS_login.member_password.disabled=true;
    }
    else
    {
    EIAS_login.member_login_name.disabled=false;
    EIAS_login.member_password.disabled=false;
    }
    }
    </script>
    <body bgcolor=background onload=init() scroll=no><object id="closes" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" width="0" height="0">
    <param name="Command" value="Close">
    </object>
    <script>
    function wqp()
    {
        window.open(top.location,'RUNMIT_EIAS','resizable=yes,scrollbars=auto,toolbar=no,location=0,menubar=no,status=yes,fullscreen=1');
        window.focus();
        document.closes.Click();
    }
    if(window.name != "RUNMIT_EIAS") wqp();
    </script><form name="EIAS_login" method=post action="/RUNMIT_PUBLIC/auth/auth.php">          
         <DIV id=login style="height: 223px;width: 400px;POSITION:absolute;z-index:0;" >
            <table border="0" width="400" height="223" cellspacing="0" cellpadding="0" style="border-left:2 solid #efefef;border-top:2 solid #efefef;border-right:2 solid #333333;border-bottom:2 solid #333333;background:menu">
              <tr>
                <td width="100%" height="20" bgcolor=activecaption style='cursor:hand' onmouseout=drag=0 onmouseover="dragObj=login; drag=1;"><font color=captiontext>&nbsp;登录到EIAS&nbsp;</font></td><td bgcolor=activecaption><img src="/RUNMIT_PUBLIC/auth/image/close_app.gif" onclick="javascript:self.close();"></td>
              </tr>
              <tr>
                <td width="100%" height="70" valign="bottom" align="right" colspan=2><img src="/RUNMIT_PUBLIC/auth/image/logo6.gif" width=100% height=100%></td>
              </tr>
              <tr>
                <td width="100%" height="3" bgcolor=activecaption colspan=2></td>
              </tr>
              <tr>
                <td width="100%" height="130" colspan="2" valign="top" align="left">
                  <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="100%" height="100%">
                        <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
                          <tr>
                            <td nowrap height=40 align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户名:&nbsp</td>
                            <td width="100%" >&nbsp;<input type=text name="member_login_name" style="width=80%">&nbsp;</td>
                          </tr>
                          <tr>
                            <td nowrap height=20 align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密&nbsp;&nbsp;码:&nbsp;</td>
                            <td width="100%">&nbsp;<input type=password name=member_password_normal style="width=80%">&nbsp;</td>
                          </tr>
                          <tr>
                            <td align=right height=25>&nbsp;</td>
                            <td width="100%">&nbsp;<input type=checkbox name=is_guest onclick="javascrip:check_guest();" value=1>&nbsp;以过客身份登录&nbsp;</td>
                          </tr>
                          <tr>
                            <td width="100%" height=45 colspan=2 align=right>
                              <input type=submit value="&nbsp;&nbsp;确定&nbsp;&nbsp;">&nbsp;&nbsp;&nbsp;&nbsp;
                              <input type=button value="&nbsp;&nbsp;注册&nbsp;&nbsp;">&nbsp;&nbsp;&nbsp;
                              <input type=button value="&nbsp;&nbsp;退出&nbsp;&nbsp;" onclick="javascript:self.close();">&nbsp;&nbsp;&nbsp;
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            </div>
            
    <input type=hidden name=back_url value="http://211.100.7.119/EIAS/">
    <input type=hidden name=auth_path value="/home/groups/home/RUNMIT_PUBLIC/auth">
    <input type=hidden name=is_eias value="yes">
    </form>
    </body>
    </html>
    <script>
    login.style.left=document.body.clientWidth/2-login.clientWidth/2
    login.style.top=document.body.clientHeight/2-login.clientHeight/2-50
    </script>
      

  15.   

    关闭窗口的时候使用了一个控件 classid=clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11 来不声不响的关掉,不需提示用户。这手还是挺高明的嘛。这个控件似乎是IE留的后门。它需要的参数可以是一个菜单命令(如CLOSE)。在chm文件里面也用这个控件来弹开新主题的页面。 不知道还有什么古怪的用法没有发现。谁知道怎么用这个东东吗?
      

  16.   


    看其源码最狠的办法:(注本人系统win2K,不同win版本下面的表现有所不同)  1,致电注册表里CLSID里看 ADB880A6-D8FF-11CF-9377-00AA003B7A11项,我们发现,此控件对应的文件为HHCTRL.ocx,于是想到把这个文件干掉,就可以保留原来的普通窗口的菜单了。
      2,先改名sysetem32\dllcatch里的HHCTRL.ocx,再改system32里的hhCTRL.ocx;win2000弹出系统文件被替换的消息,关掉它。
      3,再上该页面,提示下载Html Helper控件,还有M$的数字签名呢,哼,当然不信任,不安装它了。于是原来窗口不能被关掉,但新的全屏窗口可以弹出来,可以把全屏窗口关掉,因为旧的普通窗口没有关掉,新的全屏窗口里是空的啊,呵呵。
      4,登陆后还提示下载控件,下面大家知道怎么办了吧^^^^^^^^