mod_layout and JavaScript
"Jose R. Ilabaca" <[email protected]> Thu, 24 Mar 2005 18:22:00 -0400
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Hi, I was testing mod_layout (Apache 2) and found a problem in a page
which creates a frameset in javascript.
The page is the index of phpMyAdmin, it has the following code:
document.writeln(' <noframes>');
document.writeln(' <body bgcolor="#FFFFFF">');
document.writeln(' <p>phpMyAdmin is more friendly with a
<b>frames-capable</b> browser.</p>');
document.writeln(' </body>');
document.writeln(' </noframes>');
The problem is with the line that writes the end body tag. Mod_layout
insert the footer inside the javascript code, generating a wrong page.
Any ideas about this case?
Thanks,
Jose R. Ilabaca
Certifica.com