Hi, I created a moreLinks.htm page with just this line of code: <a href="moreLinks.html">More links</a>, and in all the other web pages in a paragraph within div after a list of links I added this line:<!--#include virtual="includes/moreLinks.asp"--> The More links is not showing up under my list of other links on my web pages. Any ideas? Thanks, GM
<a href="moreLinks.html">More links</a> <!--#include virtual="includes/moreLinks.asp"--> Are you sure you did everything right ?????
Yes, I believe so. I even tried changing the include directive from <!-- to using <%, but that didn't work either. I am running the web page through localhost as well.
It looks like if I use the include directive with this tag <!-- the browser sees a comment tag, and if I use this tag <% the include directive line is printed on the html page and not the correct words of More links as hypertext.
I placed this directive on my index.html page: <p> <a href="http://www.google.com">Google</a><br /> <!-- #include file = "moreLinks.asp" --> </p> I have a page named moreLinks.asp with this line only: <a href="moreLinks.html">More links</a> I want the More links hypertext to show on all my web pages in a specific paragraph.
the image you are showing is OK anothing thing are you tryin to access your file via C:\............ or http://localhost/..... they are different
Here is what I found. To make the aforementioned includes to work, I must rename index.html to index.asp. Renaming the html to asp will give me an error from the web server where my web site resides when calling the page from the browser.
Insanity is often the logic of an accurate mind overtaxed. Oliver Wendell Holmes (1809 - 1894) Hope I haven't abused my right to learn asp, I was just getting started.