Thread Perl, Javascript und HTML (24 answers)
Opened by Del Piero at 2007-06-11 13:17

Del Piero
 2007-06-11 14:52
#167 #167
User since
2007-03-21
28 Artikel
BenutzerIn
[default_avatar]
ich hab es bisher so
Code:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head>
<style type="text/css">
@page { size:21.0cm 29.7cm;

margin-top:1.7cm;

margin-bottom:1.4cm;

margin-left:2cm;

margin-right:2cm
}
</style>
<title>start</title>
</head>
<body>
<form>
<center><input type="button" value="Stunden Plan drucken" onClick="myprint()"></center>
</form>

<script language="Javascript">
function myprint()
{
if (window.print)
{
parent.haupt.focus();
parent.haupt.print();
}
return;
}
</script>

</body>
</html>

aber im IE geht der Button gar nicht nur im Firefox!?

View full thread Perl, Javascript und HTML