L leatarget Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-26 #1 最好不要用window.open 而且,必须保留ie的title,以及窗口最小化,最大化,关闭的按钮 多谢! 还可以设定保留或者不保留toolbar!
L ledo Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-26 #2 window.resizeTo(screen.width, screen.height); window.moveTo(0, 0);
孙 孙亚东 Unregistered / Unconfirmed GUEST, unregistred user! 2003-12-08 #4 <Script Language=JavaScript> <!-- function onload() { window.open("http://www.xx.com","winname","fullscreen=1,scrollbars=1"); window.top.location="/"; } //--> </Script> 不过好象没有了最大最小等控制,不过确实是“最大化”
<Script Language=JavaScript> <!-- function onload() { window.open("http://www.xx.com","winname","fullscreen=1,scrollbars=1"); window.top.location="/"; } //--> </Script> 不过好象没有了最大最小等控制,不过确实是“最大化”
7 7syw Unregistered / Unconfirmed GUEST, unregistred user! 2003-12-08 #5 <script language="javascript"> function openWin(ural) { bschitchat=window.open(ural,'报税','fullscreen=no,Status=yes,scrollbars=yes,resizable=no') bschitchat.moveTo(0,0); bschitchat.resizeTo(screen.availWidth,screen.availHeight); bschitchat.outerWidth=screen.availWidth; bschitchat.outerHeight=screen.availHeight; bschitchat.focus(); } </script>
<script language="javascript"> function openWin(ural) { bschitchat=window.open(ural,'报税','fullscreen=no,Status=yes,scrollbars=yes,resizable=no') bschitchat.moveTo(0,0); bschitchat.resizeTo(screen.availWidth,screen.availHeight); bschitchat.outerWidth=screen.availWidth; bschitchat.outerHeight=screen.availHeight; bschitchat.focus(); } </script>
无 无雨 Unregistered / Unconfirmed GUEST, unregistred user! 2003-12-08 #6 function shownews3(xx) { width2=screen.width-40; height2=screen.height-200; var kk=window.open(xx,'','width='+width2+',height='+height2+',scrollbars=yes,resizable=yes,menubar=yes,toolbar=yes,top=0,left=0,location=yes,status=yes'); kk.focus(); return false; } <a href="pop/index.asp?newsid=<%=obj11.newsid%>" title="<%=obj11.Title%>" onclick="return shownews3(this.href);" class="pt14lan" ><%=title%></a>
function shownews3(xx) { width2=screen.width-40; height2=screen.height-200; var kk=window.open(xx,'','width='+width2+',height='+height2+',scrollbars=yes,resizable=yes,menubar=yes,toolbar=yes,top=0,left=0,location=yes,status=yes'); kk.focus(); return false; } <a href="pop/index.asp?newsid=<%=obj11.newsid%>" title="<%=obj11.Title%>" onclick="return shownews3(this.href);" class="pt14lan" ><%=title%></a>
S Sterntaler Unregistered / Unconfirmed GUEST, unregistred user! 2003-12-09 #7 我试了一下, 不用window.open 顶多可以达到最大化的效果. 如果你坚决不想用window.open,用ledo的方法就可以. (呵呵,我不大理解你所说的"全屏") 其他窗口特性, 比如 scrollbars, fullscreen, 在窗口已经生成之后, 通过 window.scrollbars, window.fullscreen 改变不了. 如果谁实现了, 请告诉我一声.
我试了一下, 不用window.open 顶多可以达到最大化的效果. 如果你坚决不想用window.open,用ledo的方法就可以. (呵呵,我不大理解你所说的"全屏") 其他窗口特性, 比如 scrollbars, fullscreen, 在窗口已经生成之后, 通过 window.scrollbars, window.fullscreen 改变不了. 如果谁实现了, 请告诉我一声.