View Single Post
  #145  
Old 05-17-2006, 03:57 AM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default

While Javascript adds much needed functionality to web sites and X-Cart makes great use of it, there is a lot of it in the head and SEO is one example of why this might be bad. It seems common.js can be successfully called as an external file rather than included in its entirety. I've made some changes and the js in my head now looks like this:
Code:
<script type="text/javascript"></script><script type="text/javascript" src="/skin1/common.js"></script>
Are there any plans to move as much javascript as possible to external files?
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote