While most of our website is located in the first level, we do have a couple of sub directories for files. One is the "includes" directory which hosts our sidebar and header information that is on every page.
We also have two directories, one for educational pages and the other for our video tutorials. I am having some issues with getting these pages (education & tutorial) to correctly refer to the files in the "include" folder. I am using the virtual command, which refers from the top directory, right?
Page in top directory:
Page in "Rocketry_Video s" directory:
As you can see, the menu is weird and not rendering correctly. I also have issues with the video testimonials at the bottom as well. I had to put the video code in each sub-directory as it would cause an error if i tried to refer to it in the "includes" directory from the "Rocketry_Video s directory. Amazingly, I have not had issues with the sidebar (yet).
"Include" code snippets below.
Header has an "include" for the menu itself:
Page includes header:
Example file structure:
Top Directory/
>Rocketry_Video _tips.asp
>includes/
>>header.asp
>>header_menu.a sp
>Rocketry_Video s/
>>Rocketry_Vide o_01.asp
any tips help. if i need to post more code, let me know.
We also have two directories, one for educational pages and the other for our video tutorials. I am having some issues with getting these pages (education & tutorial) to correctly refer to the files in the "include" folder. I am using the virtual command, which refers from the top directory, right?
Page in top directory:
Page in "Rocketry_Video s" directory:
As you can see, the menu is weird and not rendering correctly. I also have issues with the video testimonials at the bottom as well. I had to put the video code in each sub-directory as it would cause an error if i tried to refer to it in the "includes" directory from the "Rocketry_Video s directory. Amazingly, I have not had issues with the sidebar (yet).
"Include" code snippets below.
Header has an "include" for the menu itself:
Code:
<td><!--#include file="header_menu.asp" --></td>
Code:
<tr>
<td colspan="2"><!--#include virtual="../includes/header.asp" --></td>
</tr>
Top Directory/
>Rocketry_Video _tips.asp
>includes/
>>header.asp
>>header_menu.a sp
>Rocketry_Video s/
>>Rocketry_Vide o_01.asp
any tips help. if i need to post more code, let me know.
Comment