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

Re: Include files by Kyle

Kyle
Mon May 30 13:03:59 CDT 2005

use virtual include files
http://www.powerasp.com/content/code-snippets/includes.asp
then in the code of your include files reference all image and links with
abosulte ulrs or virtual urls so they will work from any directory level



"JA" <jarmour@kc.rr.com> wrote in message
news:dnGme.4513$lI2.2241@tornado.rdc-kc.rr.com...
> 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
>
>
>



Re: Include files by JA

JA
Mon May 30 15:17:48 CDT 2005

Thanks, Kyle, that worked - giving the images their full path names.


"Kyle Peterson" <kpete23@hotmail.com> wrote in message
news:OmB8kHUZFHA.3852@TK2MSFTNGP10.phx.gbl...
> use virtual include files
> http://www.powerasp.com/content/code-snippets/includes.asp
> then in the code of your include files reference all image and links with
> abosulte ulrs or virtual urls so they will work from any directory level
>
>
>
> "JA" <jarmour@kc.rr.com> wrote in message
> news:dnGme.4513$lI2.2241@tornado.rdc-kc.rr.com...
>> 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
>>
>>
>>
>
>