On a templated site I have:
header.php with Variables for title, meta, stylesheets for CSS, stylesheets for Javascript.
The stylesheet called switchmenu.js has some apostrophies in it which caused errors that caused failures.
I have backslashed the apostrophies below:
Yes,
I have different title, keywords, stylesheets, for different folders.
I have backslashed the apostrophies but I still get an error on a line that is past the </html>.
Is the closing html tag supposed to be closed also...
</html \> or
</html>\
You are dealing with a Newbie here
header.php with Variables for title, meta, stylesheets for CSS, stylesheets for Javascript.
The stylesheet called switchmenu.js has some apostrophies in it which caused errors that caused failures.
I have backslashed the apostrophies below:
if (document.getElementById){ //DynamicDrive.com change
document.write(\'<style type="text/css">\n\')
document.write(\'.submenu{display: none;}\n\')
document.write(\'</style>\n\')
}
document.write(\'<style type="text/css">\n\')
document.write(\'.submenu{display: none;}\n\')
document.write(\'</style>\n\')
}
I have different title, keywords, stylesheets, for different folders.
I have backslashed the apostrophies but I still get an error on a line that is past the </html>.
Is the closing html tag supposed to be closed also...
</html \> or
</html>\
You are dealing with a Newbie here

Comment