i like MorningZ's answer haha~~~

i think by convention, people put it in the <head>. but there's
performance problem with IE, i do not know if other browsers have
similar issue, that is IE can d/l one JS file at a time. The
consequence is that is you have many JS file, or a big one, it would
take a long time to load the JS file, and all other elements, like the
CSS, IMAGE, FLASH, are blocked.

if you site use JS heavily, i think you should put a small one in the
<head> and load the other JS when necessary.


On Tue, Sep 22, 2009 at 7:05 AM, MorningZ <morni...@gmail.com> wrote:
>
> You'll find people will debate either way, and to be honest, you
> aren't going to find a definitive answer....
>
> Do what works for you
>
>
> On Sep 21, 4:59 pm, Theodoro <ftgoncal...@gmail.com> wrote:
>> one doubts that where ever I put my js code inside the block <head> or
>> out ... Does anybody know any good tutorial explanatory label it?



-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/

Reply via email to