Tip: You can modify some of the code before running
<ptml xmlns:ie> <pead> <meta http-equiv= "content-language" content= "ZH-CN" > <meta http-equiv= " Content-type "content=" text/html; charset=gb2312 "> <ie:download id=" include "/> <title>ie6sp2 under the Alternative pop-up window </title> <script Language= "JScript" > var cw_width = 400; var cw_height = 300; var cw_top = 100; var cw_left = 100; var cw_url = "/"; var NEW_CW = Window.createpopup (); var cw_body = New_CW.document.body; var content = ""; var csstext = "Margin:1px;color:black;" border:2px outset;border-style:expression (Onmouseout=onmouseup=function () {this.style.borderstyle= ' outset '}, Onmousedown=function () {if (event.button!=2) this.style.borderstyle= ' inset '}); background-color:buttonface;width : 16px;height:14px;font-size:12px;line-height:11px;cursor:default; "; Build Window include.startdownload (Cw_url, function (source) {content=source}); function insert_content () {var temp = ""; CW_Body.style.overflow = "hidden"; CW_Body.style.backgroundColor = "White"; Cw_bOdy.style.border = "solid black 1px"; Content = Content.replace (/<a ([^>]*) >/g, <a onclick= ' Parent.open (THIS.HREF); return false ' $1> '); Temp + = "<table width=100% height=100% cellpadding=0 cellspacing=0 border=0>"; temp = "<tr ondblclick=" max.innertext=max.innertext== ' 1 '? 2 ': ' 1 ';p ARENT.IF_MAX=!PARENT.IF_MAX;PARENT.SHOW_CW (); "Onmouseup= ' Parent.drag_up" (event) ' onmousemove= ' Parent.drag_move (event) ' onmousedown= ' Parent.drag_down (event) ' onselectstart= ' return false ' oncontextmenu= ' False ' > '; Temp + = "<td >ie6sp2 under the Alternative boundless pop-up window </td>"; Temp + = "<td align=right>"; temp = "<span id=help onclick=" alert (' chromeless window for IE6 sp1-ver 1.0 Code by Windy_sk Special Andot ') "+csstext+" FONT-FAMILY:SYSTEM;PADDING-RIGHT:2PX; " >?</span> "; temp = "<span id=min onclick= ' parent. New_cw.hide ();p Arent.blur () ' +csstext+ ' font-family:webdings; title= ' Minimum ' >0</span> '; Temp + = "<span id=max onclick=" this.innertext=this.innertext== ' 1 '? ' 2 ': ' 1 ';p ARENT.IF_MAX=!PARENT.IF_MAX;PARENT.SHOW_CW (); +csstext+ "font-family:webdings;" title= ' Maximum ' >1</span> '; temp = "<span id=close onclick= ' parent.opener=null;parent.close () ' +csstext+" font-family:system;padding-right : 2px; "title= ' Close ' >x</span>"; Temp + = "</td></tr><tr><td colspan=2>"; Temp + = "<div id=include +cw_width+" ' > '; This is the place for the content to be displayed temp + + <BR><BR><p> How's the effect? </p><p> Do you have a box? -_-!</p> maximize See ...</p> "; Display Content End temp + + </div>; Temp + = "</td></tr></table>"; cw_body.innerhtml = temp; } settimeout ("Insert_content ()", 1000); var If_max = true; function Show_cw () {Window.moveto (10000, 10000); if (If_max) {new_cw.show (Cw_top, Cw_left, Cw_width, cw_height); if (typeof (New_CW.document.all.include)!= "undefined") {New_CW.document.all.include.style.width = Cw_width; New_CW.document.all.Max.innerText = "1"; }}else{NeW_cw.show (0, 0, screen.width, screen.height); New_CW.document.all.include.style.width = Screen.width; } window.onfocus = SHOW_CW; Window.onresize = SHOW_CW; Move Window var drag_x,drag_y,draging=false function Drag_move (e) {if (draging) {new_cw.show (e.screenx-drag_x, E.SCR Eeny-drag_y, Cw_width, cw_height); return false; }} function Drag_down (e) {if (e.button==2) return; if (New_cw.document.body.offsetwidth==screen.width && new_ Cw.document.body.offsetheight==screen.height) return; Drag_x=e.clientx; Drag_y=e.clienty; Draging=true; E.srcelement.setcapture (); function Drag_up (e) {draging=false; e.srcelement.releasecapture (); if (new_cw.document.body.offsetwidth== Screen.width && new_cw.document.body.offsetheight==screen.height) return; Cw_top = e.screenx-drag_x; Cw_left = e.screeny-drag_y; } </SCRIPT> </pead> </HTML>
Tip: You can modify some of the code before running