开发者

putting all of your script calls in an include file

开发者 https://www.devze.com 2023-04-04 01:30 出处:网络
Is it good practice to put all of your script calls in an include file? I have a design I am working on and utilzing some of the HTML5 boilerplate template, they have quite a few script calls at the

Is it good practice to put all of your script calls in an include file?

I have a design I am working on and utilzing some of the HTML5 boilerplate template, they have quite a few script calls at the bottom of the page...

I thought it would be better to put them all in on开发者_JAVA技巧e include file and reference them that way using absolute paths...

Thoughts?


  • use relative paths
  • if the script isn't dynamic in anyway and is used on several pages then place it in an include file
0

精彩评论

暂无评论...
验证码 换一张
取 消