Hallo Dixo,
<script language="JavaScript">
type-Attribut fehlt.
Fenster1 = window.open('about:blank','Zoom','scrollbars=yes,toolbar=no,menubar=no,top=0,left=0,width=' + w + ', height=' + h);
Das Leerzeichen vor height ist zuviel.
Fenster1.document.writeln('<hmtl><head><title>Zoom</title><style type="text/css">
body {margin-left: 0px; margin-top: 0px;vmargin-right: 0px; margin-bottom: 0px;}
</style></head>');
Stammt dieser Zeilenumbruch von dir?
Fenster1.document.writeln('<body bgcolor="#201814"><img src='+ u +' width="' + w + '" height="'+ b +'">');
Warum verwendest Du für die Hintergrundfarbe nicht auch CSS? Ausserdem fehlen die Anführungszeichen bei src=...
Was geht denn eigentlich nicht (Fehlermeldung)?
Grüße
Andreas
--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)