|
Access: Member
Total posts: 3
Status: Offline
| |
|
Validation
|
|
Hello!
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
This pretty much tells the validator to ignore all the javascript code until it reaches which is to be placed before
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
|
| 01:09am 19th Aug 08
| |
|
Access: Admin
Total posts: 174
Status: Offline
| |
|
Re: Validation
|
|
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
|
| 01:15am 19th Aug 08
| _______________ Chris - Network-13 |