Jump to content

HTML included files


miseleigh

Recommended Posts

I'm trying to create included files for my navigation bar on my website, since I'm changing it often.  I don't have access to the server to configure it, and server-side html includes don't seem to work at all.  I tried using [code]<!--#include FILE="menu.inc" -->[/code] in my main page with the menu bar in b.inc with no results.  I also tried turning it into a .js file with print statements and adding [code]<script src="menu.js" type="text/javascript"> </script>[/code] to my main page, again with no results.  My external stylesheet is working perfectly, and I have some javascript tooltips on the page that also work.  Any advice on what the problem might be and how to fix it?  Thanks!
Link to comment
https://forums.phpfreaks.com/topic/16249-html-included-files/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.