Include files

J

JA

This seems like it is not the right place to ask this question, but I can't
find a place that is! It is for a FrontPage site, so hopefully someone will
know. I just write this include in myself, I don't use FPs include.

I have some asp pages that use a header. This is the include:

<!--#include file="include/header.htm"-->

This is for pages that are above the folder "include".
Root/subfolder/include/header.htm
The pages are in subfolder.

Inside of subfolder, I have a FAQs folder.
Root/subfolder/FAQs

The include I use is:

<!--#include file="../../subfolder/include/header.htm"-->

But the header doesn't display right. It has the images as coming from

http://www.root.com/subfolder/faqs/include/headerimages/home.gif

even though the ../../ should take it up to the right folder. I've tried

/subfolder/include/header.htm

But I get an error saying I can't start with a slash. I've tried using the
entire url, but that doesn't work either, and I knew that, but I tried it.

Does anyone know how this needs to be written???

Thanks, JA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top