Results 1 to 2 of 2

Thread: How To Apply to All Subpages

  1. #1
    Join Date
    Mar 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How To Apply to All Subpages

    This really isn't for one particular code, so I won't post the URL, or anything. But, is there any way to apply ONE code to ALL pages. I ask because I have a web gallery. And I don't want to go through each 115 pages and add the link to the Javascript file. But, is there: A. Any way I can do this? B. Any way I can add the external Javascript file to the external CSS file that is already applied to these pages? PLEASE help!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The easiest way if your server supports it (most Linux servers do) is to use SSI (server side includes). For more info, please see: http://www.javascriptkit.com/howto/externalhtml3.shtml

Bookmarks

Posting Permissions

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