-krispy
On Sep 2, 8:41 pm, Mark Volkmann <m...@ociweb.com> wrote:
> The 1.4 application creator script creates an HTML file that contains
> a script tag for {module-name}.nocache.js inside the head tag.
> However, all the documentation I've seen on this says it should go
> inside the body tag. For example, seehttp://code.google.com/support/bin/answer.py?answer=75278&topic=12430
On 3 Sep., 02:41, Mark Volkmann <m...@ociweb.com> wrote:
> The 1.4 application creator script creates an HTML file that contains
> a script tag for {module-name}.nocache.js inside the head tag.
> However, all the documentation I've seen on this says it should go
> inside the body tag. For example, seehttp://code.google.com/support/bin/answer.py?answer=75278&topic=12430
>
> Which is correct? Well, I know it works when it is inside the head
> tag, so maybe either way is okay.
as krispy said, it doesn't really matter. But take a look at that:
http://developer.yahoo.com/performance/rules.html#js_bottom
Yahoo suggests putting JavaScript as low as possible inside your HTML
page for performance reasons. Interesting point.
Cheers!
Max