Lee,
Most of the report is misleading because the validator is parsing the code within the JS block as code within the page. This is why there are attribute flags raised. This can be fixed as follows:
- Change the script tag to <script language="Javascript" type="text/javascript">
- Mark the script as #PCDATA content as follows:
<script language="Javascript" type="text/javascript">
<![CDATA[
... script ...
]]>
</script>
- Add a closing slash for the link element that is rendered:
"<link rel=\"stylesheet\" ... "\" />";
BTW, looks like the IE check in the script is going to have to be version-specific. The layout of the site goes nuts on IE7. I'll work it out and post the code.
Speaking of the site, I am glad to support any community efforts for skinning resource sites, so I will sign-up and contribute as much as I can (including any Speerio module you would like to have). Also, skinning enthusiasts will be glad to learn that a DotNetNuke Skinning project and related resource site are also in the works and we hope to have details available about both very soon.
Nik
Nik Kalyani
Speerio, Inc.
[DotNetNuke and ASP.Net solutions
here]