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. Advertising

  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. Advertising

  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. Advertising

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:
    431
    Matt Weaver
    Jan 27, 2005
  2. sandyde2
    Replies:
    3
    Views:
    12,004
    kaeli
    Aug 20, 2004
  3. I.g.o.r.
    Replies:
    3
    Views:
    6,148
  4. Scott Allen
    Replies:
    8
    Views:
    11,020
    Scott Allen
    May 2, 2004
  5. Mellow Crow
    Replies:
    6
    Views:
    429
    Richard Cornford
    Nov 4, 2005
Loading...

Share This Page