<br><div class="msgheader"> <div class="right"><span style="CURSOR: pointer" onclick="copycode(getid('phpcode2'));"><u>Code kopieren</u></span></div>Der Code lautet wie folgt:</div> <div class="msgborder" id="phpcode2"> <br><!DOCTYPE html PUBLIC "-/ /W3C/ /DTD ;head> <br><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Unbenanntes Dokument <br> <style type="text/css"> <br>/*STYLE der Popup-Ebene*/ <br>html,body {height:100%; font-size:12px;} <br> .mydiv { <br>Hintergrundfarbe: #ff6; <br>Rahmen: 1px fest #f90; <br>Linienhöhe: 40px; <br>Schriftstärke: fett; <br>Breite: 300px; <br>links :50%;/*FF IE7*/ <br>oben : 50 %;/*FF IE7*/ <br>margin-left:-150px!important;/*FF IE7 Dieser Wert ist die Hälfte seiner Breite*/ <br>margin-top:-60px!important;/*FF IE7 Der Wert beträgt die Hälfte seiner Höhe*/ <br>margin-top:0px <br>position:fixed!important;/*FF IE7*/ <br>position:absolute;/*IE6*/ <br>_top : expression(eval(document.compatMode && <br>document.compatMode=='CSS1Compat') ? <br>documentElement.scrollTop (document.documentElement.clientHeight-this .offsetHeight)/2 :/*IE6*/ <br> document.body.scrollTop (document.body.clientHeight - this.clientHeight)/2);/*IE5 IE5.5*/ <br>} <br>background-color: #ccc; >width: 100%; <br>height: 100%; <br>top:0;/*FF IE7*/ <br>filter:alpha(opacity=50);/*IE* / <br>opacity:0.5;/*FF*/ <br>z-index:1; <br>position:fixed!important;/*FF IE7* / <br>position:absolute;/*IE6*/ <br>_top: expression(eval(document.compatMode && <br>document.compatMode=='CSS1Compat') ? <br>documentElement.scrollTop (document.documentElement. clientHeight-this.offsetHeight)/2 :/*IE6*/ <br>document.body.scrollTop (document.body.clientHeight - this.clientHeight)/2);/*IE5 IE5.5*/ <br>} <br>/*The END*/ <br></ style> <br><script type="text/javascript">function showDiv(){ <br>document.getElementById('popDiv') .style.display='block'; getElementById('bg').style.display='block'; <br>function closeDiv(){ <br>document.getElementById('popDiv ').style.display='none'; document.getElementById('bg').style.display='none'; <br></script> id="popDiv" class="mydiv" style="display:none;">title<br/>Sie wissen schon<br/><a href="javascript:closeDiv()"> Fenster schließen</a></div> <br><div id="bg" class="bg" style="display:none ;"></div> ><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br> <div style="padding-top: 20px;"><input type="Submit" name="" value="Ebene anzeigen" onclick="javascript:showDiv()" /> ></div> <br></body> <br><br><br>Einen schönen Stil anhängen<br><br><br><br><br> <br>Code kopieren<br><br><br>Der Code lautet wie folgt:<br><div class="msgborder" id="phpcode3"> <br><html> <br><head><title></title> <br><style> <br>.mesWindowTop { <br>Schriftgröße: 12px; <br>Schriftstärke: fett; <br>Textausrichtung: links; <br>} <br>.mesWindowContent { <br>font-size: 12px; <br>} <br>.mesWindow { <br>Hintergrund: keiner wiederholender Bildlauf 0 0 #FFFFFF; <br>Rahmen: 1 Pixel durchgehend #666666; <br>} <br></style> <br></head> <br><body> <br><div id="mesWindow" class="mesWindow" style="top: 180px; position: absolut; width: 600px; margin-left: -300px; left: 50%; z-index: 9999;" ><div class="mesWindowTop"><table width="100%" height="100%"><tbody><tr><td>窗口标题</td>< td style="width:1px;"><input type="button" value="关闭" class="close" title="关闭窗口" onclick="closeWindow();"></td> </tr></tbody></table></div><div id="mesWindowContent" class="mesWindowContent"><div style="padding:20px 0 20px 0;text- align:center">消息正文</div></div><div class="mesWindowBottom"></div></div> <br></body> <br></html> <br> </div> </div>