Quote:
|
Originally Posted by Stickman
How well a bit of javascript adheres to standards depends on what it does. Can people use your site without it?
|
Don't go forgetting the
W3C DOM.
There's more to implementing standards-compliant javascript than simply considering whether or not a page remains accessible without it.
A good source of info for you, blazedesign:
http://www.w3.org/DOM/faq.html
http://www.mozilla.org/docs/dom/domref/
http://www.mozilla.org/docs/dom/domr...ro.html#997525
http://www.quirksmode.org/
-
Do you have an online example which we can view for ourselves?
We will also be able to see what error the validator is throwing up.
As erilidon says, using an external js file should bypass any problems with js in your markup causing it to invalidate the page.