nokill2003: Popup "Eleganz"

Beitrag lesen

Hi,
Ich habe jetzt 2 Möglichkeiten gefunden ein Popup zu <<machen>>:
Möglichkeit 1.
               <html>
               <head>
               <title>Popup</title>
               <script type="text/javascript">
               <!--
               function PopupFenster() {
                 F = window.open("datei.htm","Popup","width=400,height=300");
                  }
                // -->
               </script>
               </head>
               <body>
               <p><a href="javascript:PopupFenster()">Fenster anzeigen</a></p>
               </body>
               </html>
Möglichkeit 2.
               <html>
               <head> <title>Popup</title> <head>
               <body onLoad=window.open("http://www.hanswurst.de", "popup", toolbar="0", "width=600,height=400");>
               </body>
               </html>

Ich wollte mal fragen ob in der Syntax Fehler sind und welche Methode <<erfolgreicher>> ist.
cu nokill2003

--
Heute ist der 1.Tag vom Rest deines Lebens!