I
IveCal
Hello, I have this functions which opens a new window. The function
works fine if lines 6 and 7 are omitted. But those lines are important
for the next processes so I cant just erase it. Somebody help. It's
been almost 1 day.
1 function test()
2 {
winReport=window.open('','winReport','width=900,height=500,left=50,top=100,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=0,titlebar=0');
3
4 winReport.document.write('<html>');
5 winReport.document.write('<head>');
6 winReport.document.writeln('<script language=javascript src="..\\js
\\format.js"></script>');
7 winReport.document.writeln('<script language=javascript src="..\\js
\\utility.js"></script>');
8 winReport.document.writeln('<title>Testing</title>');
9 winReport.document.writeln('<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">');
10 winReport.document.writeln('</head>');
................................
}
works fine if lines 6 and 7 are omitted. But those lines are important
for the next processes so I cant just erase it. Somebody help. It's
been almost 1 day.
1 function test()
2 {
winReport=window.open('','winReport','width=900,height=500,left=50,top=100,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=0,titlebar=0');
3
4 winReport.document.write('<html>');
5 winReport.document.write('<head>');
6 winReport.document.writeln('<script language=javascript src="..\\js
\\format.js"></script>');
7 winReport.document.writeln('<script language=javascript src="..\\js
\\utility.js"></script>');
8 winReport.document.writeln('<title>Testing</title>');
9 winReport.document.writeln('<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">');
10 winReport.document.writeln('</head>');
................................
}