View Full Version : How To Apply to All Subpages

03-28-2005, 07:46 PM
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!

03-28-2005, 08:49 PM
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