Спасибо за советы.
Почитал еще, что советует консорциум:
Цитата:
|
When to put script in HEAD
Scripts to be executed when they are called, or when an event is triggered, are placed in functions. Put your functions in the head section, this way they are all in one place, and they do not interfere with page content.
When to put script in BODY
If you don't want your script to be placed inside a function, or if your script should write page content, it should be placed in the body section.
|
А еще понравилась статья
http://www.stevesouders.com/blog/201...cript-loading/ на эту тематику.
Но там автор советует все скрипты по возможности вставлять перед </body>