[thelist] multiple stylesheets and js files
Jeff Howden
jeff at jeffhowden.com
Wed Jun 30 13:49:54 CDT 2004
Dan,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Dan McCullough
>
> Anyone see an issue with this.
>
> <script src="/menus.js"
> type="text/javascript" /></script>
> <script language="JavaScript"
> Src="/global_functions.js" /></script>
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
There are a few issues.
1) You're using the "language" attribute in the second
<script> tag, a deprecated attribute for the
<script> tag in XHTML. Switch it to the "type"
attribute as you've already done in the first
<script> tag.
2) Make sure that all attributes are lower-case.
3) Make sure you're not closing your <script> tags
twice. Use the closing </script> tag rather than
the trailing slash as many browsers have issues
with the latter, but the former validates and is
understood by all script-enabled browsers.
Good luck,
------------------------------------------------------
Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/
More information about the thelist
mailing list