Webhosting Server Side Includes
Our servers do not offer SSI facilities or however you can create the same effect by using Java Script, these notes were submitted by a customer and are here to help you.
Include the following in the <head></head> section of your page
with your own file name substituted where you want the included text to appear.
Create a file myincludefilename.js to hold the text you want to output, then insert the text and wrap each line in a document.write(" "); statement.
Remember that in JS any newline characters ends the instruction so every line must be wrapped in a document.write statement.
document.write("James Brown is in the office <br>"); document.write("Helen Smith is out of office <br>");
document.write("James Brown is in the office <br> "Helen Smith is out of office <br>");
Other Webhosting pages:
- Webhosting Directory Index
- Webhosting Form Mailer
- Webhosting Password Protected Areas
- Webhosting Perl and CGI Scripts
- Webhosting PHP And MySQL
- Webhosting Redirecting
- Webhosting Server Side Includes
- Webhosting Special Characters
- Webhosting Special Pages And Directories
- Webhosting Subdomains
- Webhosting Uploading Pages
- Webhosting Usage
- Webhosting Weblogs