I couldn't guess why presentational javascript is a bad thing, so I did a quick search and I found two articles that appear to address the issue:
http://www.bobbyvandersluis.com/articles/presentational_javascript/index.html http://www.digital-web.com/articles/separating_behavior_and_structure_2/ >From the articles, it appears that the only disadvantages are: People who surf with Javascript disabled won't see the page as the designer intended; It may be difficult to modify the design of a page when the presentation is handled by both CSS and Javascript. These don't seem to be huge disadvantages: I can't think of a good reason to surf with Javascript disabled. Also, since the majority of sites use some Javascript, one should expect some problems if one disables it. The second problem concerns only developers. Good documentation and project management should mitigate it. ~C On Fri, Dec 3, 2010 at 10:30 PM, Thierry Koblentz <n...@tjkdesign.com> wrote: >> >> If having valid stylesheets is important, one could simply apply zoom >> using javascript: object.style.zoom="1"; >> > > But then your presentational layer is bound to the behavior layer :-( > > -- > Regards, > Thierry > www.tjkdesign.com | www.ez-css.org | @thierrykoblentz > > ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/