Results 1 to 2 of 2

Thread: Need help on how to write an js reference in html

  1. #1
    Join Date
    Sep 2011
    Location
    Cleveland, Ohio
    Posts
    7

    Need help on how to write an js reference in html

    Hi,
    I am not sure on how too ask this question, I have a floating menu script that I am still adding too, I would like too have this show up on all my sales pages, what I would like too do is put this script on a html page and save it in a folder, than I would like to know how to write the html code too reference this too a folder without having too put the script on each page does anyone know how to do this.

    (the script has too parts one for the head and another for the body)

    Thanks in advance for helping me figure this out.

    Ken
    Sweet Sunrise Media

  2. #2
    Join Date
    Sep 2011
    Posts
    62
    put the file in head tag

    <script language="javascript" src="filename.js"></script>

Similar Threads

  1. Best layout for reference site
    By newfangled in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 04 Feb 2011, 05:17 PM
  2. JS reference (not in head)!
    By djlebarron in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 18 Dec 2008, 09:35 PM

Posting Permissions

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