Deutsch
<html> <head> <title>_xWin</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <META NAME="Description" CONTENT="http:/ /www.youthfly.net"> <style type='text/css'> <!-- body{font-size:12px;} a:visited{text-decoration:none;color:slategray;} a:hover{ text-decoration:underline;color:slategray;} a:link{text-decoration:none;color:slategray;} --> </style> <script language=JScript> <!-- //Kann gepackt werden als js-Datei; var x0=0,y0=0,x1=0,y1=0; var moveable=false; var hover='orange',normal='#336699';/ color; var index=10000;//z-index; //Ziehen starten; function startDrag(obj) { if(event.button==1) { //Sperren Sie die Titelleiste; das Objekt; var win = win.nextSibling; //Maus- und Ebenenposition aufzeichnen; parseInt(win .style.top); normal = obj.style.backgroundColor; //Change style; win.style.borderColor = hover = hover; sha.style.left = x1 + offx; sha.style.top = y1 + offy; moveable = true; ; var sha = win.style.left = x1 + event.clientX - x0; win.style.top = y1 + event.clientY - y0; + offx ; sha.style.top = parseInt(win.style.top) + offy; } //Stopp ziehen function stopDrag(obj) { var win = obj.parentNode; nextSibling ; var msg = obj.style.borderColor = normal; msg.style.left = obj.parentNode.style.left; . top = obj.parentNode.top; obj.releaseCapture(); moveable = false; } //Fokus abrufen; if(obj.style.zIndex!=index) 2 ; var idx = index; obj.nextSibling.zIndex=idx-1 } } //Minimize; function min(obj) { var win = var sha = win.nextSibling; var tit = obj.parentNode; var flg = msg.style.display=="none"; if(flg) { win.style.height = parseInt(msg.style. height) + parseInt(tit.style.height) + 2*2; sha.style.height = win.style.height; msg.style.display = "block"; obj.innerHTML = "0"; .style.height = parseInt(tit.style.height) + 2*2; sha.style.height = win.style.height; obj.innerHTML = "2"; //Erstelle ein Objekt; function xWin(id,w,h,l,t,tit,msg) { index = index+2; left = l; this.zIndex = index; this.bulid = this.bulid(); ; function bulid() { var str = "" + "<div id=xMsg" + " " + "style='" + "z-index:" + this.zIndex + ";" :“ + this.width + „;“ + „height:“ + this.height + „;“ + „left:“ + this.left + „;“ + „top:“ + this.top + „;“ + „Hintergrundfarbe:“ + normal + „;“ + „Schriftgröße:Tahoma;“ + „Position:absolut;“ Cursor:default;" + "border:2px solid " + normal + ";" + "' " + "onmousedown='getFocus(this)'>" + "<div " + "style='" + "background-color :" + normal + ";" + "width:" + (this.width-2*2) + ";" + "height:20;" + "color:white;" + "' " + "onmousedown=' startDrag(this)' " + "onmouseup='stopDrag(this)' " + "onmousemove='drag(this)' " + "ondblclick='min(this.childNodes[1])'" + ">" + " <span style='width:" + (this.width-2*12-4) + ";padding-left:3px;'>" + this.title + "</span>" + "<span style=' width:12;border-width:0px;color:white;font-family:webdings;' onclick='min(this)'>0</span>" + "<span style='width:12;border-width :0px;color:white;font-family:webdings;' onclick='ShowHide(""+this.id+"",null)'>r</span>" + "</div>" + "< div style='" + "width:100%;" + "height:" + (this.height-20-4) + ";" + "background-color:white;" + "line-height:14px;" + "word-break:break-all;" + "padding:3px;" + "'>" + this.message + "</div>" + "</div>" + "<div id=xMsg" + this.id + „bg style='“ + „width:“ + this.width + „;“ + „height:“ + this.height + „;“ + „top:“ + this.top + „;“ „left:“ + this.left + „;“ + „z-index:“ + (this.zIndex-1) + „;“ + „background-color:black;“ :alpha(opacity=40);" + "'></div>"; document.body.insertAdjacentHTML("beforeEnd",str); } //Funktion für ausgeblendete Fenster anzeigen ShowHide(id,dis){ var bdisplay = ( dis==null)?((document.getElementById("xMsg"+id).style.display=="")?"none":""):dis document.getElementById("xMsg"+id).style. display = bdisplay; document.getElementById("xMsg"+id+"bg").style.display = bdisplay } //--> </script> <script language='JScript'> <!-- function initialize() { var a = new xWin("1",160,200,200,200,"Window 1",xWin <br> Ein cooles Pop-Div-Fenster<br>Version:1.0<br>2002-8-13"); („2“,240.200.100.100, „Fenster 2“, „Willkommen auf meiner persönlichen Website:<br><a href=http://www.youthfly.net target=_blank>http://www.youthfly.net< /a><br>anducanalsosignmyguestbookat:<br><ahref=http://www ... youngfly.net</a><br><br>thx!!!=)..."); var c = new xWin("3",200,160,250,50,"Window 3","Copyright by <a href='mailto:webmaster#youthfly.net'>Wildwind</a>!"); ");//Fenster 1 ausblenden } window.onload = initialize; //--> </script> </head> <base target="_blank"> <body onselectstart='return false' oncontextmenu='return false' > <a onclick="ShowHide('1',null);return false;" href="">Fenster 1</a> <a onclick="ShowHide('2',null);return false;" "">Fenster 2</a> <a onclick="ShowHide('3',null);return false;"