I also found a very enticing way to use JavaScript (.js) files. The catch here is that if someone does not have JavaScript enabled you are out of luck. Why would someone disable JavaScript? Is this done from the Browser settings on the client side?
Also, I thought I remembered a <TEXT> type HTML tag. I have code that I'd like to run in ASP and pure HTML environments. Looking for the best solution before coding a million lines.
<!-- #include file="header.txt" --> is cool but it seems the calling file MUST be ASP (not .html).
Hi Boomerang - I knew it was there somewhere, I was just too lazy to go searching for it! |-I
Michael, for SSI's to work, you normally have to rename the calling file to something.shtml although you may be able to re-configure your server to process *.html files too.
With ASP, I just call my include files .inc files.
It works perfectly. Calling pages .txt and .html is when you start to run into problems.
----------------------------------------
"I got a fevah... and the only prescription is more cowbell!"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.