• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Use "Include" SSI command and alter included HTML header?

8thNote

Member
I figured out how to include one HTML file in another with one of the following tags.
<!--webbot bot="Include" U-Include="/FILENAME.html" TAG="BODY" -->
<!--#include="/FILENAME.html" -->
(which one is better, BTW?)

I would like all of my pages to reference the one HTML "header" but here's my problem. The included HTML file has Javascript to make mouseovers and such, including "selected-state" mouseovers. Thus, I want something to change colors when a person is on that page.

Can this be done with a single included file?
 
<!--#include="/FILENAME.html" --> is the better one i would imagine, although i have never tried this myself.

You should be able to include the javascript if you put it in a seperate file (script.js) and include that in the body of the main index file.
 
Back
Top