Including Files

Results 1 to 3 of 3

Thread: Including Files

  1. #1
    Join Date
    Dec 1969

    Default Including Files

    Does anyone have an idea on how to include a file of useful JavaScript Functions I have written, in multiple asp pages that are in multiple locations (different servers). They don't change much but I would like to have a place where when I add a new one they get distributed to all my webs so that I can use them there.

  2. #2
    Join Date
    Dec 1969

    Default RE: Including Files

    Well, <BR> if they are on the same network, you could create a mapped drive to the machine that holds the file on the webservers, then do a server.mappath to the appropriate location.<BR><BR>If they are not on the same network, then, well, I have nothing.<BR><BR>mj

  3. #3
    Join Date
    Dec 1969

    Default Possible access by URL?

    ...Never tried this personally but I would think you could access the script with <BR><BR>&#060;SCRIPT language=JavaScript src= &#060;/SCRIPT&#062;<BR><BR>Try it. Not sure it will work but I&#039;ve used this same tactic for stylesheets.

Posting Permissions

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