JavaScript code in remote files?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • extremecity
    Private First Class

    • Dec 2007
    • 6

    JavaScript code in remote files?

    How do you place your JavaScript code in remote files, so that I could get better results in search engines? Is this important?
  • dougnez
    Brigadier General

    • Aug 2006
    • 1769

    #2
    Re: JavaScript code in remote files?

    Hi extreme... Search engines will see text you have on the page... easy enough...And meta tags...Right click on page and use the meta tag tab...you might wanna search that subject and other questions you have using the search tool here at the forum... Hope that helps... Doug

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #3
      Re: JavaScript code in remote files?

      Place :

      <script type="text/javascript" src="scriptname.js"></script>

      in the Between Head tag of your page HTML. replace "scriptname" with the actual script name. If the script is in another folder, you need to include the correct path.

      However, this has nothing to do with SE, in my opinion, it only has to do with code semplification, because you can use one single JS file in all your pages, avoiding to repeat it.
      Navaldesign
      Logger Lite: Low Cost, Customizable, multifeatured Login script
      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

      Comment

      Working...
      X