vkonstanz
04-11-2003, 10:24 AM
I wounder if smbd can help me.
I try to do the function:
document.writeln('<html><head><title>Turn on/off system</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">');
document.writeln('<script> function test(){ location.replace("logincont.htm"); } </script>');
document.writeln('</head><body bgcolor="#FFFFFF" text="#000000" onLoad="javascript:setTimeout("test()",5000)">');
document.writeln('asdasdasdasd');
document.writeln('');
document.writeln('');
document.writeln('');
document.writeln('</body></html>');
but my html document goesn't undestand <applet> </applet> tags.It interpteter the tag as it's own. Is there any symbol, in order to avoid the problem. In the other word I'd like my function to open new document with script inside by I don't know how correctly to set the tag in order not to have confusion with the page.
I try to do the function:
document.writeln('<html><head><title>Turn on/off system</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">');
document.writeln('<script> function test(){ location.replace("logincont.htm"); } </script>');
document.writeln('</head><body bgcolor="#FFFFFF" text="#000000" onLoad="javascript:setTimeout("test()",5000)">');
document.writeln('asdasdasdasd');
document.writeln('');
document.writeln('');
document.writeln('');
document.writeln('</body></html>');
but my html document goesn't undestand <applet> </applet> tags.It interpteter the tag as it's own. Is there any symbol, in order to avoid the problem. In the other word I'd like my function to open new document with script inside by I don't know how correctly to set the tag in order not to have confusion with the page.