+ Reply to Thread
Results 1 to 3 of 3

Thread: JavaScript code in remote files?
      
   

  1. #1
    extremecity's Avatar
    extremecity is offline Private First Class
    Join Date
    Dec 2007
    Posts
    6

    Default 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?

  2. #2
    dougnez's Avatar
    dougnez is offline Brigadier General
    Join Date
    Aug 2006
    Location
    Midwest USA
    Posts
    1,769

    Default 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

  3. #3
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,062

    Default 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!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49