Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
June 25, 2005, 5:35 pm
rate this thread
all my pages have a menu of links on the left side.
i want to use a include file <!--#include file="" --> to hold the menu but i
am having a problem
here is my folder structure
now in page1.asp i include the links.asp file.
in links.asp there is a link like so
now when i load page1.asp and click the link i get a file not found because
it is looking for the file at a place relative to page1.asp not to
is there a way i can do this? or do i need to put in the whole url for each
link in my links page?
Re: how to get relative links to work in a include file.
if i create a folder on my live site called TEST ( or the same name of my
virtiual folder on my local pc) then i can use
<!-- #include virtual="test/inc/links.asp" -->
in any place and it will always get the file.
and i can use
and it will link from any place.
just a bummer that i have to have my site within a folder
- » small layer info on mouse over links : object or iframe ?
- — Previous thread in » HTML Markup Language
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum