Hello, I am stuck validating www.a1whs.com , http://validator.w3.org/check?uri=h...charset=(detect+automatically)&doctype=Inline as you can see it has only 1 error left, about onload, can someone help me with that ? Thanks
You have onload on a IMG tag: <img src="/livehelp/include/status.php" id="LiveHelpStatus" name="LiveHelpStatus" border="0" alt="Live Help" onload= "statusImagesLiveHelp[statusImagesLiveHelp.length] = this;"/> That is NOT valid XHTML... or even HTML for that matter - while a number of browsers support that method it is NOT in the specification. Though in general you should probably take an axe to the entire javascript for mouseover images stuff as there's more of 1997 about that than 2007. A sliding images technique would mean less files, no need for any goofy pre-cache, and less inlining of presentation in your HTML. STUPID ***** Fireworks/Dreamweaver mouseovers - why they STILL use that technique which was a bad idea almost a DECADE ago is beyond me. Just bloats out the page for functionality CSS can do in a quarter the code.
Well i just removed that onload code and i do not see any problem with proper functioning of script so i suppose it should be ok now, but if you put onload in body tag it should work according to w3c. but thanks for the feedback and help.