I've recently started using the N-13 news system on my site, which Chris has stumbled upon, and well, I had problems getting validation.w3.org to validate it.
Okay, so I got it to finally update by adding and changing a couple lines in the index.php.
I'm using version 3.1 just to let ya know.
On line 135 of index.php, you have
Code:
<script language="javascript">
W3 picks this up as an error/invalid code.
I replaced it with
Code:
<script type="text/javascript">
Right after line 135, I also added
Code:
//<![CDATA[
This pretty much tells the validator to ignore all the javascript code until it reaches
Code:
//]]>
which is to be placed before
Code:
</script>
I'm not entirely sure that you get what I'm saying and where everything goes, but just incase, here's a small example without all the code.
starting at line 135
Code:
<script type="text/javascript">
//<![CDATA[
leave the rest of the coding after CDATA alone
//]]>
</script>
Just a suggestion, you don't have to actually add this. It's mainly for those whole like to keep their code tidy and valid ;p
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
I'll certainely add this into the new version I'm working on now :), someone actually asked me about this before so I'll be sure to point them to this thread. thanks