external javascript?

Discussion in 'HTML' started by Andy Peat, Jan 19, 2004.

  1. Andy Peat

    Andy Peat Guest

    I was wondering if there was a way, like external CSS, to link a
    javascript page?

    This way you would only need to make one page with all the javascript
    and then link to it from all of your sites pages.

    thanks for any info on this.
    andy:p
     
    Andy Peat, Jan 19, 2004
    #1
    1. Advertisements

  2. Andy Peat

    Steve Pugh Guest

    (Andy Peat) wrote:

    >I was wondering if there was a way, like external CSS, to link a
    >javascript page?
    >
    >This way you would only need to make one page with all the javascript
    >and then link to it from all of your sites pages.


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

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <> <http://steve.pugh.net/>
     
    Steve Pugh, Jan 19, 2004
    #2
    1. Advertisements

  3. Andy Peat

    andy:p Guest

    Steve Pugh <> wrote:
    > >This way you would only need to make one page with all the javascript
    > >and then link to it from all of your sites pages.

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


    beautiful, thank you.
    andy:p
     
    andy:p, Jan 19, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt Weaver
    Replies:
    2
    Views:
    513
    Matt Weaver
    Jan 27, 2005
  2. sandyde2
    Replies:
    3
    Views:
    12,710
    kaeli
    Aug 20, 2004
  3. I.g.o.r.
    Replies:
    3
    Views:
    6,282
  4. Scott Allen
    Replies:
    8
    Views:
    11,405
    Scott Allen
    May 2, 2004
  5. Alan Silver
    Replies:
    1
    Views:
    537
    Alan Silver
    Jun 20, 2006
  6. Newbie Coder

    Calling External Javascript

    Newbie Coder, Nov 23, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    722
    Mark Rae
    Nov 24, 2006
  7. Joey
    Replies:
    5
    Views:
    1,211
  8. Mellow Crow
    Replies:
    6
    Views:
    695
    Richard Cornford
    Nov 4, 2005
Loading...