这个很特别吗?不觉得
test.htm
<script language="JavaScript">
function fullwin(targeturl){
var newwin = window.open(targeturl,"","fullscreen,scrollbars,width=" + screen.width + ",height=" + screen.height)
newwin.moveTo(0,0);newwin.focus();
}
</script>
<a href='#' onclick="fullwin('fullwin.htm')">打开</a>
fullwin.htm<HTML>
<HEAD>
<TITLE>testpage</TITLE><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></HEAD>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" scroll="no">
<table border="0" width="100%" height="99%">
  <tr> 
    <td height="29" align="right" valign="middle"><a href="javascript:close();">x</a>&nbsp;&nbsp; 
    </td>
  </tr>
  <tr> 
    <td align="center" valign="middle">ABCD</td>
  </tr>
</table>
</BODY>
</HTML>
这个值9Q币呀  舒服

解决方案 »

  1.   

    忘了解释了,,好像有些IE打开时是完整的全屏,,而在我的IE6SP1里看时,是保留任务栏的那种,,我觉得这样的全屏给客户的选择更多,所以才喜欢的。。我还是会给你分的。谢谢你`
      

  2.   

    我FLASH做了个 演示说明,希望高手能按上面的做出来,有答谢。。
    http://www.blqs.com/-/fullwin/index.htm
      

  3.   

    <script language="JavaScript">
    function fullwin()
    {
    var w=screen.width;
    var h=screen.height-25;
    var o=window.createPopup();
    o.document.body.innerHTML="正文内容";
    o.show(0,0,w,h);
    }
    </script>
    <a href='#' onclick="fullwin()">打开</a>正缺QB用,呵呵
      

  4.   

    我也正在写一个用Popup的小网站(用于学校的计机节参赛),也是使用全屏,可以切换别的网页,不过弹出的窗口总是在下面(不过这个不要紧,肯定可以搞定的),还有就是本地没问题,但用http的话就会弹出安全警告(这个难搞呀)------------------------------------------------------------------------------------
    我一向都不用Q$的,QQ是用来聊天的,不用Q$的QQ的功能也是不少的嘛
      

  5.   

    http://fashion.dior.com/homme/index.html
    这个页大家看一下,那个全屏很特别的,(虽然我知道大概是把窗口移动的),而且是对分辨率有控制,可惜考到本地就不灵了,谁知道怎么回事吗?
    ___________________________________________________________________
    我的是win2003,并没有看到特别之处.还是有titlebar和toolbar.
      

  6.   

    有一个方法比较简单,是不能"向下还原"的,不过也达到了你的要求.
    我不要Q$,我想要你帮我做个flash.
      

  7.   

    <script language="JavaScript">
    var show=0;
    function fullwin()
    {
    var o=window.createPopup();
    var w=screen.width;
    var h=screen.height-30;
    var o2=document.getElementById("file1");
    o2.style.display='';
    o.document.body.innerHTML=file1.document.body.innerHTML;
    o2.style.display='none';
    o.show(0,0,w,h);
    show=1;
    }
    window.onfocus=function(){
    if(show==1)fullwin();
    }</script>
    <a href='#' onclick="fullwin()">打开</a>
    <iframe id="file1" style="display:none" src="1.htm"></iframe>
      

  8.   

    好啊,做FLASH没问题的,,不过我手绘FLASH不擅长,,QQ:49364
      

  9.   

    function fullwin(targeturl){
    var newwin = window.open(targeturl,"","fullscreen,scrollbars,width=" + screen.width + ",height=" + screen.height)
    newwin.moveTo(0,0);newwin.focus();
    }
    上面的函数就是关键啊。
      

  10.   

    全屏确实是没有完美的,因为MS要考虑到安全问题,必须要把状态栏留住,不能屏蔽,IE越来越高,很多功能越来越不能用了,还有以前很好的无边框窗口……
      

  11.   

    <html>
    <head></head>
    <script src="CHROMELESS.js"></script>
    <script>
    function openIT(theURL,W,H,X,Y, wname) { 
    CLOSEdwn  = "img/close_d.gif" 
    CLOSEup  = "img/close_a.gif" 
    CLOSEovr  = "img/close_o.gif" 
    MINIdwn  = "img/mini_dwn.gif" 
    MINIup  = "img/mini_up.gif" 
    MINIovr  = "img/mini_ovr.gif" 
    NONEgrf  = "img/none.gif" 
    CLOCKgrf = "img/clock.gif" 
    titHTML       = "<font face=verdana size=1>titWIN</font>" 
    titWIN = "&nbsp;titWIN" 
    winBORDERCOLOR    = "#000000" 
    winBORDERCOLORsel = "#B7A173" 
    winBGCOLOR     = "#000000" 
    winBGCOLORsel  = "#000000s" 
    return openchromeless(theURL, wname, W, H, X, Y, NONEgrf, CLOSEdwn, CLOSEup, CLOSEovr, MINIdwn, MINIup, MINIovr, CLOCKgrf, titHTML, titWIN, winBORDERCOLOR, winBORDERCOLORsel, winBGCOLOR, winBGCOLORsel) 

    </script>
    <body>
    <input type="button" value="111" onclick="openIT('1.htm',100,100,0,0,'new')">
    </body>
    </html>主干见 CHROMELESS.js
      

  12.   

    /* 
    CHROMELESS WINDOWS v.30.5 
    (c) Gabriel Suchowolski power[z]one / www.microbians.com / [email protected] 
    Distributed under the terms of the GNU Library General Public License (www.gnu.org) 
    */ 
    function openchromeless(theURL,wname,W,H,X,Y,NONEgrf,CLOSEdwn,CLOSEup,CLOSEovr,MINIdwn,MINIup,MINIovr,CLOCKgrf,titHTML,titWIN,winBORDERCOLOR,winBORDERCOLORsel,winBGCOLOR,winBGCOLORsel) { 
    var isie=false 
    var isv55=false 
    var iswin=false 
    if ( navigator.appName=="Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4 ) { 
    isie=true 
    if ( navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE ")+5,navigator.appVersion.indexOf("MSIE ")+8) >=5.5 ) isv55=true 

    if ( navigator.userAgent.toLowerCase().indexOf("win")!=-1 ) iswin=true 
    if (X==null) X=Math.ceil( (window.screen.width-W) / 2 ) 
    if (Y==null) Y=Math.ceil( (window.screen.height-H) / 2 ) 
    if (isie) { H=H+20+3;W=W+2;} 
    var s=",width="+ W +",height="+ H ; 
    if (isie && iswin) { 
    var chromeTIThtml=''+ 
    '<html>\n'+ 
    '<head>\n'+ 
    '<style type="text/css">\n'+ 
    '#crtMOVE {position:absolute;left:0px;top:0px;z-index:2;}\n'+ 
    '#txtTITLE {position:absolute;left:0px;top:0px;width:100%;height:20px;z-index:1;clip:rect(0,100%,20,0);}\n'+ 
    '#btnCLOSE {position:absolute;left:-20px;top:4px;width:11px;height:11px;z-index:3;clip:rect(0,11,11,0);}\n'+ 
    '#btnMINI {position:absolute;left:-20px;top:4px;width:11px;height:11px;z-index:3;clip:rect(0,11,11,0);}\n'+ 
    '#grfCLOCK {position:absolute;left:-20px;top:4px;width:11px;height:11px;z-index:3;clip:rect(0,11,11,0);}\n'+ 
    '</style>\n'+ 
    '<script language="javascript">\n'+ 
    'var imgCLOSEdwn=new Image();imgCLOSEdwn.src="'+ CLOSEdwn +'"\n'+ 
    'var imgCLOSEup=new Image();imgCLOSEup.src="'+ CLOSEup +'"\n'+ 
    'var imgCLOSEovr=new Image();imgCLOSEovr.src="'+ CLOSEovr +'"\n'+ 
    'var imgMINIdwn=new Image();imgMINIdwn.src="'+ MINIdwn +'"\n'+ 
    'var imgMINIup=new Image();imgMINIup.src="'+ MINIup +'"\n'+ 
    'var imgMINIovr=new Image();imgMINIovr.src="'+ MINIovr +'"\n'+ 
    'var CLOCKgrfImg=new Image();CLOCKgrfImg.src="'+ CLOCKgrf +'"\n'+ 
    'document.onselectstart=new Function("return false;")\n'+ 
    'document.ondragstart=new Function("moveWIN();return false;")\n'+ 
    'document.oncontextmenu=new Function("return false;")\n'+ 
    'document.onmousemove=moveWIN\n'+ 
    'winSTATUS="up"\n'+ 
    'function setLAYOUT() {\n'+ 
    'document.all["btnCLOSE"].style.pixelLeft=document.body.clientWidth-18\n'+ 
    'if ( top.mainloaded ) {\n'+ 
    'document.all["grfCLOCK"].style.visibility="hidden"\n' 
    if (isv55) { 
    chromeTIThtml +=''+ 
    'document.all["btnMINI"].style.visibility="visible"\n'+ 
    'document.all["btnMINI"].style.pixelLeft=document.body.clientWidth-38\n' 

    chromeTIThtml +=''+ 
    '}\n'+ 
    'else {\n'+ 
    'document.all["btnMINI"].style.visibility="hidden"\n'+ 
    'document.all["grfCLOCK"].style.pixelLeft=document.body.clientWidth-38\n'+ 
    'setTimeout("setLAYOUT()",500)\n'+ 
    '}\n'+ 
    '}\n'+ 
    'function minimizeWIN() {\n'+ 
    'top.window.moveTo(0,-4000)\n'+ 
    'if ( (top.opener) && (!top.opener.closed) ) { top.opener.window.focus();}\n'+ 
    'top.window.blur()\n'+ 
    '}\n'+ 
    'function moveWIN() {\n'+ 
    'if ( winSTATUS=="down") {\n'+ 
    'document.body.bgColor="'+winBGCOLORsel+'"\n'+ 
    'parent.bordeM.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+ 
    'parent.bordeT.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+ 
    'parent.bordeB.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+ 
    'parent.bordeL.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+ 
    'parent.bordeR.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+ 
    'ofx=event.x\n'+ 
    'ofy=event.y\n'+ 
    'winSTATUS="drag"\n'+ 
    '}\n'+ 
    'else if ( winSTATUS=="drag") {\n'+ 
    'px=event.screenX-ofx-1\n'+ 
    'py=event.screenY-ofy-1\n'+ 
    'top.window.x=px\n'+ 
    'top.window.y=py\n'+ 
    'top.window.moveTo(px,py)\n'+ 
    '} else {\n'+ 
    'document.body.bgColor="'+winBGCOLOR+'"\n'+ 
    'parent.bordeM.document.body.bgColor="'+winBORDERCOLOR+'"\n'+ 
    'parent.bordeT.document.body.bgColor="'+winBORDERCOLOR+'"\n'+ 
    'parent.bordeB.document.body.bgColor="'+winBORDERCOLOR+'"\n'+ 
    'parent.bordeL.document.body.bgColor="'+winBORDERCOLOR+'"\n'+ 
    'parent.bordeR.document.body.bgColor="'+winBORDERCOLOR+'"\n'+ 
    'winStatus="up"\n'+ 
    '}\n'+ 
    '}\n'+ 
    '</script>\n'+ 
    '</head>\n'+ 
    '<body onresize="setLAYOUT()" bgcolor='+winBGCOLOR+'>\n'+ 
    '<div id=crtMOVE><img onmousedown="winSTATUS=\'down\';moveWIN()" onmouseup="winSTATUS=\'up\';moveWIN()" border=0 src="'+NONEgrf+'" width=110% height=500></div>\n'+ 
    '<div id=txtTITLE>'+ '<table width=100% height=20 border=0 cellpadding=0 cellspacing=0><tr><td valign=middle align=left>'+titHTML+'</td></tr></table>' +'</div>\n'+ 
    '<div id=btnCLOSE><img name=imgCLOSE src="'+ CLOSEup +'" border=0 width=11 height=11 onmouseover="this.src=imgCLOSEovr.src" onmouseout="btnSTATUS=false;this.src=imgCLOSEup.src" onmouseup="this.src=imgCLOSEup.src" onmousedown="this.src=imgCLOSEdwn.src" onclick="top.window.close()"></div>\n'+ 
    '<div id=btnMINI><img name=imgMINI src="'+ MINIup+'" border=0 width=11 height=11 onmouseover="this.src=imgMINIovr.src" onmouseout="btnSTATUS=false;this.src=imgMINIup.src" onmouseup="this.src=imgMINIup.src" onmousedown="this.src=imgMINIdwn.src" onclick="minimizeWIN()"></div>\n'+ 
    '<div id=grfCLOCK><img name=imgCLOCK src="'+ CLOCKgrf +'" border=0 width=11 height=11></div>\n'+ 
    '<script>setLAYOUT()</script>\n'+ 
    '</body>\n'+ 
    '</html>\n' 
    var chromeFRMhtml='' + 
    '<HTML>\n'+ 
    '<HEAD>\n'+ 
    '<TITLE>'+ titWIN +'</TITLE>\n'+ 
    '</HEAD>\n'+ 
    '<script>\n'+ 
    'top.mainloaded=false\n'+ 
    'function generatetitle() {\n'+ 
    'if( window.frames["frmTIT"] && window.frames["bordeL"] && window.frames["bordeB"] && window.frames["bordeR"] && window.frames["bordeM"] ) {\n'+ 
    'frmTIT.document.bgColor="'+ winBGCOLOR +'"\n'+ 
    'frmTIT.document.open()\n'+ 
    'frmTIT.document.write( "'+ quitasaltolinea(chromeTIThtml) +'" )\n'+ 
    'frmTIT.document.close()\n'+ 
    'bordeM.document.bgColor="'+ winBORDERCOLOR +'"\n'+ 
    'bordeL.document.bgColor="'+ winBORDERCOLOR +'"\n'+ 
    'bordeR.document.bgColor="'+ winBORDERCOLOR +'"\n'+ 
    'bordeB.document.bgColor="'+ winBORDERCOLOR +'"\n'+ 
    'bordeT.document.bgColor="'+ winBORDERCOLOR +'"\n'+ 
    '} else {\n'+ 
    'setTimeout("generatetitle()",20)\n'+ 
    '}\n'+ 
    '}\n'+ 
    'top.window.h='+H+'\n'+ 
    'top.window.w='+W+'\n'+ 
    'top.window.x='+X+'\n'+ 
    'top.window.y='+Y+'\n'+ 
    'generatetitle()\n'+ 
    '</script>\n'+ 
    '<frameset onload="top.mainloaded=true" onfocus="top.window.moveTo(top.window.x,top.window.y)" border=0 framespacing=0 frameborder=0 cols="1,100%,1">\n'+ 
    '<frame name=bordeL src="about:blank" scrolling=no noresize>\n'+ 
    '<frameset border=0 framespacing=0 frameborder=0 rows="1,20,1,100%,1">\n'+ 
    '<frame name=bordeT src="about:blank" scrolling=no noresize>\n'+ 
    '<frame name=frmTIT src="about:blank" scrolling=no noresize>\n'+ 
    '<frame name=bordeM src="about:blank" scrolling=no noresize>\n'+ 
    '<frame name=main src="'+theURL+'">\n'+ 
    '<frame name=bordeB src="about:blank" scrolling=no noresize>\n'+ 
    '</frameset>\n'+ 
    '<frame name=bordeR src="about:blank" scrolling=no noresize>\n'+ 
    '</frameset>\n'+ 
    '</HTML>' 
    var CWIN=window.open( "",wname,"fullscreen=1"+s) 
    CWIN.resizeTo(Math.ceil(W),Math.ceil(H)) 
    CWIN.moveTo(Math.ceil(X),Math.ceil(Y)) 
    CWIN.document.open() 
    CWIN.document.write( chromeFRMhtml ) 
    CWIN.document.close() 
    }else{ 
    var CWIN=window.open(theURL,wname,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1"+s,true) 

    CWIN.focus() 
    return CWIN 
    } function quitasaltolinea(txt) { 
    var salida=txt.toString() 
    var re=/\\/g;var salida=salida.replace(re,"\\\\"); 
    re=/\//g;var salida=salida.replace(re,"\\\/"); 
    re=/\"/g;var salida=salida.replace(re,"\\\""); 
    re=/\'/g;var salida=salida.replace(re,"\\\'"); 
    re=/\n/g;var salida=salida.replace(re,"\\n"); 
    return salida