johndove
02-17-2010, 10:40 AM
Hi,
First, apologies if this is the incorrect category for this post (and I suspect it is but I don’t know the appropriate category to post it in, or even if there is one here).
I’m taking a first stab at an SSI navigation file, which is not working for me. The shtml file, along with the file that points to it (link1.html) is attached. In “link1.html”, the SSI code is on Line 37. I referred to two different tutorials to learn how to set this up. One provided the code:
<!--#include virtual="MLtopnav.shtml"-->
and the other tutorial said it should be:
<!--#include file="MLtopnav.shtml"-->
Also, not covered by either of the tutorials was precisely what code should be contained in the .shtml file. My assumption was, only the code that gets inserted, i.e., no body tags, header tags or anything else.
Here’s the page:
http://www.freedommd.com/Freedom10/Link1.html
It should look like this:
http://www.freedommd.com/Freedom10/MedledgerTestPage.html
This particular usage may be complicated further by the fact that this is a jquery navbar; I don’t know, but my thought was that as long as “link1.html” points to the correct nav .js files in the header tags (which it does), it should work. And our server is SSI enabled.
Can anyone tell me what I’m doing wrong?
Thanks,
John
First, apologies if this is the incorrect category for this post (and I suspect it is but I don’t know the appropriate category to post it in, or even if there is one here).
I’m taking a first stab at an SSI navigation file, which is not working for me. The shtml file, along with the file that points to it (link1.html) is attached. In “link1.html”, the SSI code is on Line 37. I referred to two different tutorials to learn how to set this up. One provided the code:
<!--#include virtual="MLtopnav.shtml"-->
and the other tutorial said it should be:
<!--#include file="MLtopnav.shtml"-->
Also, not covered by either of the tutorials was precisely what code should be contained in the .shtml file. My assumption was, only the code that gets inserted, i.e., no body tags, header tags or anything else.
Here’s the page:
http://www.freedommd.com/Freedom10/Link1.html
It should look like this:
http://www.freedommd.com/Freedom10/MedledgerTestPage.html
This particular usage may be complicated further by the fact that this is a jquery navbar; I don’t know, but my thought was that as long as “link1.html” points to the correct nav .js files in the header tags (which it does), it should work. And our server is SSI enabled.
Can anyone tell me what I’m doing wrong?
Thanks,
John