开发者

putting all of your script calls in an include file

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜