You are here

Javascript Guidelines

Great Presentation on the relationship between HTML, CSS and JS (JQuery) with some Drupal examples.
http://groups.drupal.org/node/163384#comment-550649

The gist of the presentation was to build your sites with out JS first and then use it only to enhance the user experience. This means all functionality should be available on the page even if JS is turned off at the local browser level.
As accomplished as Michael is at JS, he is recommending strategic rather than global use of JS. I find this interesting as there are other vocal camps. But to me Performance is King. Keep is light and if not possible make it cache-able.

Thanks Michael. Great work.

Add new comment