21491 Posts in 5783 Topics by 2621 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 337 Views |
-
Javascript Load and Performance

30 August 2011 at 2:39pm
Good Morning,
I am using combine file to combine all my Javascript file, it was working fine if I write requirement javascript file to header instead of body, the true thing is I want to write all Javascript and combined javascript to body. I would like to know if there is away to load Javascript before page loaded.
Thanks
Bunheng -
Re: Javascript Load and Performance

30 August 2011 at 2:55pm
Requirements would automatically write any JS to the bottom of your body unless you have a <script> tag in your header or you turn off Requirements::set_write_to_body(). Have you got any <script> tags in your header.
| 337 Views | ||
|
Page:
1
|
Go to Top |

